Showing posts with label selenium. Show all posts
Showing posts with label selenium. Show all posts

Thursday, September 17, 2020

Fix "unknown error: cannot find Chrome binary" Failure in UI Test Execution Using Test Clients in Azure DevOps Pipelines.

 This blog explains one of the issues faced by Test Automation team when executing the UI test scripts using Chrome web driver. Lets have a look at, what is the process Test Automation team followed and the issue encountered. Importantly let's see how it can be resolved. 

In the UI test scripts developed with Spec flow, Selenium and C#, the purpose is to run automated UI test using a CD pipeline. Team has setup a Azure DevOps agent to run in interactive mode and installed the chrome web browser in the agent VM. Once, pipelines are  executing the UI test automation using the test agent it has reported the following error.


System.AggregateException : One or more errors occurred. (unknown error: cannot find Chrome binary) (unknown error: cannot find Chrome binary)

---- OpenQA.Selenium.WebDriverException : unknown error: cannot find Chrome binary

---- OpenQA.Selenium.WebDriverException : unknown error: cannot find Chrome binary

Tuesday, February 6, 2018

Using Sikuli & Selenium in VS to Detect the Undetectable

While doing GUI automation, We can identify few limitations of the selenium web driver.

  • Selenium web driver does not support flash objects.
  • Selenium web driver automate only web applications.

Other than these web driver limitations,some times you may have to write automation scripts, while you do not have easy access to GUI’s internal code.

Sunday, January 28, 2018

Functional Testing with Selenium and Python

The visual studio IDE can be used to do the python+selenium script writing. The best thing is, If you use unittest module, Test case is displayed on the test explorer. Which allows to run a test case using test explorer.