You are on page 1of 1

Prerequisites for Cross Browser Testing in CodedUI

First of all you need “Selenium components” for cross browser testing. You may get
it from “Extensions and Updates” from your Visual Studio, search for “Selenium
components” and click install button, it will download a
“CodedUITestCrossBrowserSetup.msi” file. Install it. Else you can download it here
“https://marketplace.visualstudio.com/items?
itemName=AtinBansal.SeleniumcomponentsforCodedUICrossBrowserTesting “and install.
The installation will take the path “C:\Program Files (x86)\Common Files\Microsoft
Shared\VSTT”

It is said that if you already installed the browser in your system, it is not necessary to
explicitly download the driver. Instead, the installation will automatically take it from your
system. But be sure to check it once and if needed, download and place the respected driver
in the Cross Browser Selenium Components folder.

But, in order to test in a particular browser like chrome, Firefox… you need to have a
corresponding driver of that browser. (If the installation doesn’t get them) For that, first
check the version of browser you are working now and download the corresponded
“version” of driver. You can find links here...

For Firefox -> https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html

For Chrome -> https://sites.google.com/a/chromium.org/chromedriver/

Place the drivers in “C:\Program Files (x86)\Common Files\Microsoft Shared\VSTT\Cross


Browser Selenium Components”

 Note

You cannot record coded UI tests using Google Chrome or Mozilla Firefox browsers. You
must use the Coded UI Test Builder to record your web application test using Internet
Explorer.

You might also like