Category Archives: Selenium C#

How To Refresh Page Using Selenium C#

Selenium C#AutomationTutorial

How To Refresh Page Using Selenium C# [Complete Tutorial]

When working on web automation with Selenium, I encountered scenarios where I needed to refresh pages from time to time.

January 6, 2023

view count242050 Views

Read time8 Min Read

How To Use driver.FindElement And driver.FindElements In Selenium C#

Selenium C#AutomationTutorial

How To Use driver.FindElement And driver.FindElements In Selenium C#

One of the essential parts when performing automated UI testing, whether using Selenium or another framework, is identifying the correct web elements the tests will interact with.

December 20, 2022

view count157287 Views

Read time18 Min Read

Getting Started with SpecFlow Actions [SpecFlow Automation Tutorial] (2)

AutomationSelenium C#Tutorial

Getting Started with SpecFlow Actions [SpecFlow Automation Tutorial]

With the rise of Agile, teams have been trying to minimize the gap between the stakeholders and the development team.

October 14, 2022

view count283354 Views

Read time18 Min Read

How To Select Dropdown In Selenium C#?

Selenium C#AutomationTutorial

How To Select Dropdown In Selenium C#

Dropdowns and multi-selects are extremely common in today’s web pages. Dropdowns can be a great option to allow your users to choose from several options without having to scroll through a whole page.

July 8, 2022

view count316883 Views

Read time15 Min Read

How To Start Running Automated Testing with Selenium C#

Selenium C#AutomationTutorial

How To Start Running Automated Tests With Selenium C#

The Selenium framework itself is a set of different tools, but the most popular and the most useful to new and experienced testers alike is WebDriver. Selenium WebDriver is a free and open-source tool that allows you to interact with a website for web automation testing.

June 17, 2022

view count189740 Views

Read time12 Min Read

Scraping Dynamic Web Pages

Selenium C#Tutorial

Guide To Scraping Dynamic Web Pages Using Selenium And C#

Today’s websites are a lot different from yesteryears, where content on a majority of the websites is dynamic in nature. The content in dynamic pages varies from one user request to another based on the website visitor’s actions.

March 29, 2021

view count224980 Views

Read time18 Min Read

Selenium C#AutomationTutorial

NUnit vs. XUnit vs. MSTest: Unit Testing Frameworks

One of the most challenging things to do is ‘making the right choice.’ Arriving at a decision becomes even more complicated when there are multiple options in front of you☺.

March 22, 2021

view count457254 Views

Read time24 Min Read

XUnit Parameterized Tests Tutorial: Selenium Testing

AutomationSelenium C#Tutorial

Best XUnit Parameterized Tests Tutorial: Selenium Testing

In this XUnit Parameterized Testing Tutorial, developers can streamline their unit test code by creating reusable, data-driven, and parameterized test methods. The xUnit testing framework in C# supports both parameterized and non-parameterized tests for Selenium Automation, helping improve efficiency and reduce redundancy. Using attributes like Fact and Theory, testers can validate multiple input combinations through … Continue reading Best XUnit Parameterized Tests Tutorial: Selenium Testing

March 18, 2021

view count306726 Views

Read time11 Min Read

MSTests

Selenium C#AutomationTutorial

Most Complete MSTest Framework Tutorial Using .Net Core

The MSTest framework is Microsoft’s powerful and easy-to-use testing framework for .NET applications. It enables developers to create, manage, and execute automated tests efficiently, ensuring code reliability and performance. With .NET Core support, MSTest has become cross-platform, open-source, and highly extensible, making it a preferred choice for modern test automation. In this comprehensive tutorial, you’ll … Continue reading Most Complete MSTest Framework Tutorial Using .Net Core

March 6, 2021

view count257954 Views

Read time5 Min Read

Unit-Annotations-For-Selenium

Selenium C#AutomationTutorial

How To Use NUnit Annotations For Selenium Automation Testing?

NUnit Annotations are key for structuring Selenium automation tests in C#. They allow you to define the lifecycle of tests, such as setup ([SetUp]), teardown ([TearDown]), and the test methods themselves ([Test]). Using these annotations, you can manage preconditions, clean up after tests, and organize multiple test scenarios efficiently. This makes your Selenium tests more … Continue reading How To Use NUnit Annotations For Selenium Automation Testing?

March 1, 2021

view count139810 Views

Read time10 Min Read