Are you eager to unlock the power of Selenium for test automation using C#? Look no further. Welcome to a hands-on course where you'll learn to build a solid test automation framework from the ground up.
In today's dynamic tech landscape, Selenium is a game-changer for web automation. This course is your gateway to mastering Selenium in C#, empowering you to create efficient and maintainable test scripts.
What You Will Learn:
Are you eager to unlock the power of Selenium for test automation using C#? Look no further. Welcome to a hands-on course where you'll learn to build a solid test automation framework from the ground up.
In today's dynamic tech landscape, Selenium is a game-changer for web automation. This course is your gateway to mastering Selenium in C#, empowering you to create efficient and maintainable test scripts.
What You Will Learn:
Selenium Basics: Start with the fundamentals of Selenium, even if you're new to automation testing.
Selenium in C#: Dive into Selenium using C# as your programming language of choice, enabling you to create robust web automation scripts.
Selenium Waits: Understand the importance of waits in automation testing and master various wait strategies to handle dynamic web elements.
Page Object Concept: Implement the industry-standard Page Object Model (POM) to create organized and maintainable test scripts.
Web Component Concept: Explore the Web Component concept to build reusable and scalable automation components.
Data Transfer Object Concept: Learn how to efficiently transfer data between your test scripts and automation components.
NUnit 3 Basics: Get acquainted with NUnit 3, a popular unit testing framework for C#, to structure and run your tests effectively.
NuGet Basics: Discover how to manage external packages using NuGet, streamlining the integration of third-party tools and libraries.
DotNet Console Basics: Build a solid foundation in using the .NET Console, a versatile tool for debugging and executing your C# code.
Why Enroll in This Course?
Hands-On Experience: Gain practical experience through step-by-step tutorials, quizzes, and real-world projects that reinforce your skills.
Expert Guidance: Learn from experienced instructors who have a deep understanding of Selenium and C# in automation testing.
Career Advancement: Enhance your career prospects by becoming proficient in Selenium with C#, a sought-after skill in the testing industry.
Lifetime Access: Enjoy lifetime access to course materials, updates, and a supportive online community.
Don't miss this opportunity to build a strong foundation in Selenium automation testing with C#. Enroll today, and start your journey toward becoming a skilled Test Automation Engineer.
Today we will discuss:
What opportunities will be available to you right after this course completion
Today we will learn:
How we are going to communicate to make sure that the learning process is efficient
Where to ask questions
How to ask questions
Communication channels which exist, where you can reach out to me.
In this video lesson you will learn how to use resources for the lectures.
Today we will learn:
What is IDE?
What are the most popular IDEs for C# development?
Why Visual Studio?
How to install Visual Studio to your machine?
How to perform the basic configuration of Visual Studio?
Today we will learn:
.NET Versions – which one to use?
How to check the current .NET version.
How to download .NET installer.
How to install .NET via installer.
Today we will discuss the following:
What is Selenium WebDriver?
Main Components of Selenium WebDriver.
Practical Use-Cases of Selenium WebDriver in Software Testing Process.
Today we will discuss the following:
How Selenium WebDriver works from inside.
Test scripts execution, client-server communication, browser driver, cleanup.
Interaction with web elements, asynchronous communication, response handling.
Today we will:
We will create a test project
Learn the basics of NuGet packages
Set up Chrome driver
Navigate to URL via Selenium
Find UI elements and interact with them as C# objects
Perform some user flow basic operations with web application
See what tear down hook is in Selenium
Today we will see the solution for the first home task. The home task was the following:
Create a project in Visual Studio
Add Selenium and WebDriver Manager dependencies.
Open Amazon home page.
We will discuss the following in our today's lesson:
How to locate UI elements on web page.
How to interact with UI elements.
How to tear down WebDriver after test run is finished.
The home task for today's leesson is:
Add UI interactions for your Application.
Search for ‘iPhone.
Close browser after test’s run finishes.
Today we will learn:
NNUnit role in development.
Essential NUnit components.
NUnit Assert functions
Real-world use-cases.
Today we will:
Add NUnit dependency to our project
Gather actual results for comparison from UI
Learn how to create expected results for tests
Gather text from UI elements
Work with C# LINQ
Apply NUnit assertion to our application
Today we will see the solution for the home task with first assertion. The home task was the following:
Add NUnit dependency to your project.
Collect actual results from UI.
Apply assert method for your actual result.
Collect expect results from actual results.
Apply assert method to compare actual and expected lists.
Today we will:
Migrate application from Console Application to NUnit 3
Apply NUnit 3 assertions to our application
Create our first NUnit test
Add NUnit 3 [OneTimeSetup] and [OneTimeTearDown] hooks
Today we will see the solution for the home task with transformation of main method into a NUnit 3 test method. The home task is the following:
Migrate your application Selenium Runner to NUnit 3
Transform your main() method into a NUnit 3 test method with [Test] attribute
Add NUnit 3 [OneTimeSetup] and [OneTimeTearDown] hooks
Today we will discuss the following:
Implicit Waits advantages and disadvantages.
Explicit waits pros and cons.
Fluent waits positives and negatives.
Today we will learn:
How to apply implicit waits in your project?
The home task for today's lesson is:
Apply implicit wait in the Amazon search tests
Today we will learn:
How explicit waits are connected with implicit waits?
How to apply explicit waits in your project?
The home task for today's lesson is:
Add explicit wait config for your Amazon Search test.
Turn off implicit wait before using explicit wait.
Turn on implicit wait back after using explicit wait.
Today we will discuss the following:
Main components of Page Object.
Main advantages and disadvantages of Page Object.
Practical use-cases of Page Object.
Today we will learn:
Page Object components
How does Page Object work?
Compose our test from Page Objects
Create common Base Page class
Today we will see the solution for the home task with page object concept. The home task was the following:
Create a Base Page class.
Move initialization logic common for all the pages to this class.
Create HomePage and SearchResultsPage
Put the elements needed for your test to these pages
Add methods needed for your test to Page Objects
Run your tests and achieve 100% pass
Today we will discuss the following:
Main components of Web Component.
Main advantages and disadvantages of Web Component.
Practical use-cases of Web Component.
Today we will learn:
What is Web Component in Selenium?
How is Web Component related to Page Object?
Why we need Web Components?
How to write custom wrapper for WebElement?
How to initialize Web Components on Page Object?
How to split our Page Objects into Web Components?
Today we will see the solution for the home task with web component concept. The home task was the following:
Create a Base Web Component class.
Move logic wrapping root element actions to this class.
Create Web Components needed for your tests
Put the business logic from your tests to these components
Inject the components into Web Pages created in previous homework
Run your tests and achieve 100% pass
Today we will discuss the following:
Main components of Data Transfer Object.
Main advantages and disadvantages of Data Transfer Object.
Practical use-cases of Data Transfer Object.
Today we will learn:
What is Data Transfer Object (DTO)?
Why is it needed in automated testing?
How to create DTO correctly
How to create DTO in our project
Differences between DTO and simple assertions
Today we will see the solution for the home task with Data Transfer Objects concept. The home task is the following:
Create a class representing Search Result item as DTO
Add all the fields important to your test to this component
Override Equals() and GetHashCode() methods for correct Assertions’ work
Override ToString() method to improve Assertion failure message verbosity
Create method converting your SearchResultItemComponent into DTO
Today we will learn:
Why do we need to run tests via CMD?
Which NUnit tasks can be used to do so?
How to run our tests via CMD?
Where test results report is stored?
Today we will see the solution for the home task with running test via CMD. The home task was the following:
Open CMD in the test project’s root
Execute NUnit command starting your automated tests
Investigate HTML tests’ report
Today we will learn:
Discuss what CSS selector is
Observe why we should use CSS selectors
Find out how to install Chro Path plugin
Review common CSS patterns
Apply CSS selectors in practice
Today we will learn:
Discuss what XPath selector is
Observe why we should use XPath selectors
Find out the difference between absolute and relative XPath
Review common XPath patterns
Apply XPath selectors in practice
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.