Selenium in C# - Setup Simple Test Automation Framework
- Description
- Curriculum
- FAQ
- Reviews
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.
-
1IntroductionVideo lesson
Today we will discuss:
What opportunities will be available to you right after this course completion
-
2Communication planVideo lesson
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.
-
3How to Use ResourcesVideo lesson
In this video lesson you will learn how to use resources for the lectures.
-
4Tips to Improve Your Course Taking ExperienceText lesson
-
5Visual Studio Community Edition InstallationVideo lesson
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?
-
6DotNet Manual InstallationVideo lesson
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.
-
7Diving Deep in Selenium WebDriverVideo lesson
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.
-
8How Selenium WebDriver Works in a NutshellVideo lesson
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.
-
9Setup Simple Application with Selenium 4Video lesson
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
-
10Setup Simple Application with Selenium 4 - Home TaskVideo lesson
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.
-
11Add Simple UI Iteractions to Selenium 4 ApplicationVideo lesson
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.
-
12Add Simple UI Iteractions to Selenium 4 Application - Home TaskVideo lesson
The home task for today's leesson is:
Add UI interactions for your Application.
Search for ‘iPhone.
Close browser after test’s run finishes.
-
13Mastering NUnit for BeginnersVideo lesson
Today we will learn:
NNUnit role in development.
Essential NUnit components.
NUnit Assert functions
Real-world use-cases.
-
14Add NUnit 3 AssertionsVideo lesson
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
-
15Add NUnit 3 Assertions - Home TaskVideo lesson
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.
-
16Migrate Selenium Runner to NUnit 3 TestVideo lesson
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
-
17Migrate Selenium Runner to NUnit 3 Test - Home TaskVideo lesson
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
-
18Basics of Waits in SeleniumVideo lesson
Today we will discuss the following:
Implicit Waits advantages and disadvantages.
Explicit waits pros and cons.
Fluent waits positives and negatives.
-
19Add Implicit Waits to Selenium TestVideo lesson
Today we will learn:
How to apply implicit waits in your project?
-
20Add Implicit Waits to Selenium Test - Home TaskVideo lesson
The home task for today's lesson is:
Apply implicit wait in the Amazon search tests
-
21Add Explicit Waits to Selenium TestVideo lesson
Today we will learn:
How explicit waits are connected with implicit waits?
How to apply explicit waits in your project?
-
22Add Explicit Waits to Selenium Test - Home TaskVideo lesson
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.
-
23Page Object Concept from ScratchVideo lesson
Today we will discuss the following:
Main components of Page Object.
Main advantages and disadvantages of Page Object.
Practical use-cases of Page Object.
-
24Add Page Object to Test FrameworkVideo lesson
Today we will learn:
Page Object components
How does Page Object work?
Compose our test from Page Objects
Create common Base Page class
-
25Add Page Object to Test Framework - Home TaskVideo lesson
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
-
26Web Component Concept for BeginnersVideo lesson
Today we will discuss the following:
Main components of Web Component.
Main advantages and disadvantages of Web Component.
Practical use-cases of Web Component.
-
27Add Web Component to Test FrameworkVideo lesson
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?
-
28Add Web Component to Test Framework - Home TaskVideo lesson
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
-
29What Data Transfer Object Is?Video lesson
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.
-
30Apply Data Transfer Object for Selenium TestsVideo lesson
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
-
31Apply Data Transfer Object for Selenium Tests - Home TaskVideo lesson
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
-
32Run Selenium Tests via DotNet 8 Command LineVideo lesson
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?
-
33Run Selenium Tests via DotNet 8 Command Line - Home TaskVideo lesson
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
-
34CSS selectors basicsVideo lesson
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
-
35XPath selectors basicsVideo lesson
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

External Links May Contain Affiliate Links read more