
Develop automated Selenium web UI tests in C#, interact with the Selenium WebDriver and HTML elements, and build a robust UI test framework using a page object model.
Install Visual Studio Community Edition, set up the ASP.NET development workload, and sign in with a Microsoft account to complete your environment for C# Selenium test automation.
Below is the code snipper
Learn to craft basic XPath selectors by attribute, text, and contains functions, test them in the browser, and compare XPath's verbosity with CSS selectors for efficient element locating.
Apply practical selenium test automation by launching Chrome, navigating to eBay, and running a real-world search for Pokemon cards, selecting a product, and verifying the price on its details page.
Discover how to verify tests with fluent assertions in a c# selenium workflow by installing fluentassertions via nuget and using should and contain for readable validations, including price.
Explain how explicit waits replace implicit waits to reduce brittle Selenium tests, and implement extension methods like GetElement and GetElements to wait conditionally up to five seconds.
Build an intermediate Selenium UI testing framework by creating a PomBase base class in a PageObjects folder, managing driver and related element, with Select methods for nested pages.
Create entry pages with a public static EntryPageFactory that returns page objects for a given web driver, and build an EntryPageBase with LoginPage and InventoryPage under their folders.
Refactor the eBay test into a page object model by creating eBay-specific POMs for landing, search results, and product details, and implement search with a text field and links.
Learn how to speed up C# Selenium tests by enabling NUnit parallelization using the parallelizable attribute and scopes like children, all, and self to run tests concurrently or sequentially.
A beginner's course on Selenium Test Automation in Visual Studio–C#.
When it comes to Selenium, the abundance of information available on the internet can make it challenging to sift through and identify the most valuable resources. If you're like most people, when you have a learning goal in mind, you'd want to navigate from point A to point B as quickly and efficiently as possible, right? Sometimes, all we need is a little nudge in the right direction to jumpstart our journey.
Well, look no further! This course is tailored for students with zero background in Selenium and will take them as far as intermediate-level proficiency... should they wish. In addition to teaching the fundamental skills to perform automated Selenium actions, I will also impart my knowledge of how to build a robust and efficient UI testing framework.
My framework architecture, along with my teaching techniques, will not only keep you engaged but will also help you retain the information through hands-on interactive lessons. The concepts I'll cover are modern and highly relevant in the industry. My development techniques and approaches are also transferable to software engineering roles where good coding practices are highly marketable.
If you want to excel, then here is your opportunity to learn from a working professional like me, who has already curated all the information for you. I promise that you'll undoubtedly become more knowledgeable in Selenium testing upon completion of this course, or this one's on me. I'm looking forward to seeing your growth!
---
You can anticipate that this course will take 20-40 hours to complete. It's similar to assembling a computer for the first time; I may make it appear clear and easy, but you'll likely progress at a slower pace until you become fluent and familiar yourself!
The tools and resources used in this course are entirely free.