September 5, 2022

Thread.Sleep equivalent in Java Script (Node JS)

Thread.Sleep equivalent in Java Script (Node JS)

As we know, in Node JS the code is executed asynchronously. Asynchronous functions are functions that do not block the execution of the prog...

August 2, 2022

Fix 'Element should have been select but was mat-select' error while Angular application automation using selenium

Fix 'Element should have been select but was mat-select' error while Angular application automation using selenium

 The controls of angular applications are a bit different, so it may cause some issues if we try to automate the application using selenium....

July 28, 2022

Fix 'The unit test adapter failed to connect to the data source or to read the data' in Visual Studio

Fix 'The unit test adapter failed to connect to the data source or to read the data' in Visual Studio

 If we are trying to data drive a test method, we may come across the below error in the visual studio.   Message:  The unit test adapter fa...
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...
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...