July 28, 2022

Using XML File as Data Source for Visual Studio + Selenium Data Driven Testing

Using XML File as Data Source for Visual Studio + Selenium Data Driven Testing

 Data Driven Testing is a built-in Functionality of MsTest.  We can use  Microsoft.VisualStudio.TestTools.DataSource reference to implement ...

July 4, 2022

Get Azure VM Chrome version using PowerShell script and use the output value in Azure Pipeline tasks

Get Azure VM Chrome version using PowerShell script and use the output value in Azure Pipeline tasks

We might have seen the following error while using chrome driver in selenium  Message:   Initialization method Project_BeforeTest threw exce...

June 9, 2022

How to fix "Selenium Tests running twice" issue in Azure Release pipeline

How to fix "Selenium Tests running twice" issue in Azure Release pipeline

 There can be a scenario sometimes that your test scripts will be executed in the Azure release pipeline twice even if the parallelization o...

March 8, 2022

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

 JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...

February 9, 2022

How to use WebDriver manager for efficient management of browser drivers ( Selenium + .Net )

How to use WebDriver manager for efficient management of browser drivers ( Selenium + .Net )

Managing WebDrivers in sync with browser versions is always a problem for an automation tester.  If we can't control the auto-update of ...

December 8, 2021

How to build a .Net Core selenium project in Azure release pipeline

How to build a .Net Core selenium project in Azure release pipeline

 If we are using only .Net framework for the selenium test project creation, we can directly use Visual Studio Build Task and Publish Artifa...

October 26, 2021

Enable video recording while executing test scripts using selenium .Net in Visual Studio

Enable video recording while executing test scripts using selenium .Net in Visual Studio

 Logs are the perfect way to know what went wrong during the execution. What if we don't understand the error shown in the log? A video ...
Bookmark this website for more workarounds and issue fixes.

Verify Zip file contents without extracting using C# + Selenium

While doing automation testing, we may get a scenario where we need to download a zip file and to validate the contents inside it. One way t...