Run your Coded UI tests against Chrome using the Selenium cross-browser plugin

Had somebody recently asking about running Coded UI Tests against Chrome and thought i would walk through this process:

1. Down load the Cross-browser plugin for Coded UI Test that uses Selenium to run tests against Chrome and Firefox from here: http://go.microsoft.com/fwlink/?LinkID=267598

image

3. Record a Coded UI test in IE

image

 

 

image

4. Change the browser to run the same test against Chrome using the BrowserWindow object i.e.

BrowserWindow.CurrentBrowser = “Chrome”;

image

Viola your coded UI Test can now run in Chrome!

For more information please see the following blog posts: