{"id":1943,"date":"2014-02-05T00:22:00","date_gmt":"2014-02-05T00:22:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudioalm\/2014\/02\/05\/run-your-coded-ui-tests-against-chrome-using-the-selenium-cross-browser-plugin\/"},"modified":"2022-07-18T05:59:16","modified_gmt":"2022-07-18T13:59:16","slug":"run-your-coded-ui-tests-against-chrome-using-the-selenium-cross-browser-plugin","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/devops\/run-your-coded-ui-tests-against-chrome-using-the-selenium-cross-browser-plugin\/","title":{"rendered":"Run your Coded UI tests against Chrome using the Selenium cross-browser plugin"},"content":{"rendered":"<p>Had somebody recently asking about running Coded UI Tests against Chrome and thought i would walk through this process:<\/p>\n<p>1&#46; Down load the Cross-browser plugin for Coded UI Test that uses Selenium to run tests against Chrome and Firefox from here: <a href=\"http:\/\/go.microsoft.com\/fwlink\/?LinkID=267598\">http:\/\/go.microsoft.com\/fwlink\/?LinkID=267598<\/a><\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/02\/3750.image_24510CAB.png\" alt=\"image\" width=\"353\" height=\"278\" border=\"0\" \/><\/p>\n<p>3&#46; Record a Coded UI test in IE<\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/02\/5432.image_thumb_7FBF7F26.png\" alt=\"image\" width=\"355\" height=\"247\" border=\"0\" \/><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/02\/3872.image_thumb_7F534C31.png\" alt=\"image\" width=\"360\" height=\"225\" border=\"0\" \/><\/p>\n<p>4&#46; Change the browser to run the same test against Chrome using the <strong>BrowserWindow<\/strong> object i.e.<\/p>\n<p><span style=\"font-size: medium\">BrowserWindow.CurrentBrowser = &#8220;Chrome&#8221;;<\/span><\/p>\n<p><img decoding=\"async\" style=\"border: 0px\" title=\"image\" src=\"https:\/\/devblogs.microsoft.com\/devops\/wp-content\/uploads\/sites\/6\/2014\/02\/8255.image_thumb_7ADCCB6A.png\" alt=\"image\" width=\"444\" height=\"233\" border=\"0\" \/><\/p>\n<p>Viola your coded UI Test can now run in Chrome!<\/p>\n<p>For more information please see the following blog posts:<\/p>\n<ul>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2012\/10\/30\/introducing-cross-browser-testing-with-coded-ui-tests.aspx\">http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2012\/10\/30\/introducing-cross-browser-testing-with-coded-ui-tests.aspx<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2012\/12\/11\/troubleshooting-tips-for-cross-browser-testing-in-coded-ui-test.aspx\">http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2012\/12\/11\/troubleshooting-tips-for-cross-browser-testing-in-coded-ui-test.aspx<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/01\/25\/ui-testing-of-microsoft-sharepoint-2013-with-visual-studio-2012.aspx\">http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/01\/25\/ui-testing-of-microsoft-sharepoint-2013-with-visual-studio-2012.aspx<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/02\/21\/handling-browser-profile-issues-while-doing-cross-browser-testing-with-coded-ui-test.aspx\">http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/02\/21\/handling-browser-profile-issues-while-doing-cross-browser-testing-with-coded-ui-test.aspx<\/a><\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/01\/18\/introducing-jscript-execution-on-internetexplorer-and-crossbrowser-in-coded-ui-test.aspx\">http:\/\/blogs.msdn.com\/b\/visualstudioalm\/archive\/2013\/01\/18\/introducing-jscript-execution-on-internetexplorer-and-crossbrowser-in-coded-ui-test.aspx<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Had somebody recently asking about running Coded UI Tests against Chrome and thought i would walk through this process: 1&#46; 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 3&#46; Record a Coded UI test in IE \u00a0 \u00a0 4&#46; Change the [&hellip;]<\/p>\n","protected":false},"author":63,"featured_media":45953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,252],"tags":[],"class_list":["post-1943","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","category-testing"],"acf":[],"blog_post_summary":"<p>Had somebody recently asking about running Coded UI Tests against Chrome and thought i would walk through this process: 1&#46; 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 3&#46; Record a Coded UI test in IE \u00a0 \u00a0 4&#46; Change the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/1943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/comments?post=1943"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/posts\/1943\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media\/45953"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/media?parent=1943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/categories?post=1943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/devops\/wp-json\/wp\/v2\/tags?post=1943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}