Wednesday, 25 September 2013

Cross Browser Automation Testing Using Coded UI- VSTS

Hi Guys


Soon I will explain the how to do cross browser automation testing using Coded-UI.....


Regards
Team

Here We Go....


General Information: Coded-UI Support Chrome and Firefox for cross browser testing, it doesn't support safari.

Pre-Requisites: You need to install "

"Selenium components for Coded UI Cross Browser Testing "

by following below steps: In the Visual Studio Goto Tools --> Extensions and Updates --> Search for selenium. Download and install it.
 
 
 
Now by adding below line in the [TestMethod] you can run your test case in choice of your browser:
 
BrowserWindow.CurrentBrowser = "Chrome";
 
for firefox just replace chrome with firefox and it will launch the specified browser on executing the test case.
 
Please like the post if it helps you.
 
Thanks
Team