Selenium components for Coded UI Cross Browser Testing


Selenium components for Coded UI Cross Browser Testing

(18) Review
Visual Studio
2015, 2013, 2012
Download (42,863)
E-mail Twitter Digg Facebook
Add to favorites
Reviews (18)
Q and A (201)
Sign in to write a review
Sort by:

by lsnodak | June 22 2016

Awful stability. Depending on the complexity of your test solution, you can not simply set the CurrentBrowser to "chrome" or "firefox". You must make changes in your uitest maps for this to work successfully to find controls.

Support for this is awful also. Other than here there is hardly any documentation to help trouble shoot anything. You are better off just using the selenium web driver.

Also, keeping up with different versioning of 3rd party drivers is nearly impossible, as a new version of chrome driver, for example, will not work until these components are updated.

by Joan Bruguera (Presence) | March 24 2016

While the tool itself is good enough for creating some basic tests, one quickly finds the rough edges of it:

- While a basic feature set is supported by all browsers, not every feature supported for IE is supported for Firefox or Chrome, or has bugs. You will eventually find yourself trying numerous workarounds for some feature that you thought Coded UI supported.

- There could be better communication between the people actually working with the tool and the people creating it and offering support for it, like periodic announcements, workaround for bug fixes, etc.. If you encounter problems, you may be stuck for a while.

- Development moves at a snails pace. For example, there is no support for Edge, and it looks like support for VS2015 took several months to land. There are no plans or announcements released for this tool. There is also a bug where the latest versions of Firefox don't work with this tool with no published solution or workaround.

Finally, while Coded UI is a pretty user friendly tool for recording tests once you have everything working, you will encounter pitfalls from the deployment and testing perspective that will make you lose A LOT of time.

by Yuri Guzun | March 09 2016

It does some basic stuff. But fails on simple things such as performing dialog actions.

by HB1110 | October 06 2015

by MonsoonMally | February 02 2015

Quite a useful tool, when it's fully functional.

But it seems many small changes - anywhere in the test-environment - can lead to failures.

And it's never good when you spend more time ensuring the test-environment itslef is stable, than you do testing the item you are intending to test.

by Chandrasekhar Kothamsu | January 27 2015

Every time facing issue with the Chrome latest browser. i feel Microsoft should update its cross browser dll's up to date with the Chrome version.

All our tests were blocked , no proper response from the Moderators when we put our query.

by uykryuk | November 14 2014

by BKK9 | October 21 2014

Latest browsers should be supported, this is making hard for cross browser testing.

by Mike Kaufmann | October 06 2014

Mozilla stopped working with latest update (v32.0.3)
Can you please provide an update?

by Ahsan Mumtaz | September 30 2014

I think you need you give the official support once in a quarter or at-least once in a half yearly. Last update was on January 2014. Browsers are upgrading rapidly, and I want to use the CodedUI to the cross browser test, i need some confidence that it should support on current available cross browsers.

by Srikar Garrepally | September 02 2014

complete information not provided regarding pre-requisites and after installing .msi file already chrome driver exists in the specified folder

by Jian_H | December 23 2013

by tiny apps | October 31 2013

Hi this seems to be a nice replacement for the Feature pack2 back in Vs2010 which just support Firefox 3.6 but this is great start to playback CUIT stuff against WebDrive whihc i think eliminates the burning issues open Desktop session

by Oleg Pantsjoha | May 24 2013

Great add on to Coded UI Testing framework, but unfortunately it seems there are still a lot of issues surrounding it, and lack of support is not helping. Some issue and confusion I've spotted from other users while browsing for solutions with my own issues is with simple installation of the product. Additionally, the version support for different browser is all over the place. I understand that it is also down to individual browser suppliers but i believe issue like those should be dealt prior to release of any product. Overall still a great add on, just requires attention to above issue in order to get 5 stars from users. Looking forward to next update.

by JoeH250 | April 30 2013

You really might want to point folks to a sample or two about making use of this functionality. Without some kind of working example that customers can work with, it's really not going to gain any traction.

For those curious about being able to swap between browsers at will, it turns out you need to set an environment variable in order to do that. I found some now out-of-date material at that has a bit of detail on that.

Overall, this is an improvement over being able to run only on IE, but the amount of work that is needed to do so can be time consuming. For example - if you have anything dynamic on your pages (say, part of the window title changes based on a previous action), you're not going to have a great deal of luck using this.

Also, having to code your own "WaitForAjax" solution is a big hurdle to clear.

Based on what I see so far, my team will be staying with our current Selenium WebDriver framework. We have more control over flow, control detection and selection, and dynamic content handling than CUI has.

Fantastic tool!!!

by Marc Velasco | January 10 2013

Have this working with IE, FireFox, and Chrome browsers on a product using a javascript framework. Depending on your application you might need to spend some time creating a good set of search criteria that gives good performance and reliably finds objects across browsers, in my case many of my properties were dynamic across different builds, sessions, and browser because of the javascript framework being used, but we got it working with some experimentation.

by Nathan.Grant | November 30 2012

Install wouldn't work on my Machine - claimed I didn't have Visual Studio 2012 installed but I have legit Ultimate 2012 + the update running. Had to use manual steps.

Sign in to start a discussion

  • working with chrome 54
    1 Posts | Last post Mon 6:16 PM
    • we are getting error when working on Latest Chrome (V 54). Do we have latest version of crossbrowserproxy.dll?
  • IllegalLocatorException on ExecuteScript() after Page Refresh
    1 Posts | Last post Mon 4:48 PM
    • Hi Atin,
      I was hoping you might have some insight on how I can work around my issue provided in the link below. In short, after I launch a browser through Coded UI, and refresh said browser, I get an IllegalLocatorException whenever I try to perform the ExecuteScript method. My guess is that the Selenium Chrome WebDriver loses sync with the page after the refresh and is trying to perform the ExecuteScript method on the "old" browser page.
  • Failure in installing Selenium Components for Cross Browser CodedUI testing
    1 Posts | Last post September 14, 2016
    • I am unable to follow the regular method of installation. Following the Manual steps the links seem to be broken. Do think Someone can help me or we can have a new update coming up?
      The installation of Selenium Components could not be completed due to access restrictions or connection loss. Please follow the manual steps mentioned below on the machine where you would run cross-browser tests. 
      The machine needs to be connected to the internet and be able to access the links below.
      1. Download chrome driver from:
      2. Download selenium dot net bindings from:
      3. Right click on the downloaded zip files.
      4. Select "properties".
      5. Under "General" tab, click on the "Unblock" button.
      6. Now unzip both the files and copy the contents to the following path (for the selenium-dotnet 2.39.0 binaries, copy the contents of net40 folder):
      "<OS Drive>:\Program Files\Common Files\microsoft shared\VSTT\Cross Browser Selenium Components" (for 32 bit machines)
      "<OS Drive>:\Program Files (x86)\Common Files\microsoft shared\VSTT\Cross Browser Selenium Components" (for 64 bit machines) 
  • Support for Edge Browser
    3 Posts | Last post August 26, 2016
    • With the new version of the extension and Update2 of Visual Studio 2015, users can run their Coded UI tests on the Edge browser. You will need the WebDriver for Edge browser. See the description section for details and let us know if you run into issues. Thanks!
    • Hi,
      I have installed Microsoft Webdriver in default location and set the Current Browser= edge. But when I run the test it is showing Edge browser is not supported exception. I am using the latest version selenium.Net 2.53.1. Could you please help me to resolve the issue
    • Hi,
      Any updates on this issue
  • Cross Browser Testing Firefox is not working with Firefox 47
    3 Posts | Last post August 03, 2016
    • Hi, 
      I tried to run my script with latest firefox version(47), which is giving System.NullReferenceError. What is the version with which selenuim components works fine? Any help is much appreciated. 
    • With Firefox 36 and 45, i am able launch the firefox browser. But i am not able navigate to any url. It is giving an UITest Exception. Here is the stack trace.
      Test method CodedUITestProject2.CodedUITest1.CodedUITestMethod1 threw exception: 
      Microsoft.VisualStudio.TestTools.UITest.Extension.UITestException: Failed to start up socket within 45000 ms. Attempted to connect to the following addresses:
      Result StackTrace:	
      at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.Utility.MapAndReThrow(Exception exception)
         at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserService.Launch(String[] args)
         at Microsoft.VisualStudio.TestTools.UITest.Extension.CrossBrowser.CrossBrowserFactory.Launch(String[] arguments)
         at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.LaunchPrivate(String[] arguments)
         at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.<>c__DisplayClass18.<Launch>b__17()
         at Microsoft.VisualStudio.TestTools.UITesting.CodedUITestMethodInvoker.InvokeMethod[T](Func`1 function, UITestControl control, Boolean firePlaybackErrorEvent, Boolean logAsAction)
         at Microsoft.VisualStudio.TestTools.UITesting.BrowserWindow.Launch(String[] arguments)
         at CodedUITestProject2.CodedUITest1.CodedUITestMethod1()
    • I have an identical issue using Selenium 2.49 and Firefox 48.0 x64. The problem relates to the Firefox driver (geckodriver.exe). JUnit Selenium users are having the same issue.
  • Browser Profiling for Chrome in Cross browser testing using Coded UI
    1 Posts | Last post July 19, 2016
    • I am using the below code to run Coded UI tests on Google Chrome:
      BrowserWindow.CurrentBrowser = "Chrome";
      Now, i want to use a custom profile for Chrome which i have created in my C: drive for running the tests on Chrome with the below code:
      BrowserWindow browser = BrowserWindow.Launch(new string[] { @"user-data-dir=C:\ChromeAutomation", "<Application URL>" });
      But i am unable to pick the desired profile with above code.
      Please let me know how to select the custom profile for running Coded UI tests on google chrome.
  • Cross Browser Testing Fire Fox is not working as expected
    3 Posts | Last post July 12, 2016
    • I have managed to initiate a fire fox browser using Visual studio 2015 Enterprise edition but after initiating, browser is not navigating to the Url mentioned in the code instead it is taking long time and new fire fox browser initiated.Similarly it is initiating so many fire fox browsers and this continues until I cancel the test run. I have tried this with latest version as well downgraded fire fox versions. Any help is much appreciated. 
    • i am facing the same problem.My firefox version is 44.0.2.
    • SabbirSpider
      Have you found any solution to the same? If so, please help us on this.
  • Playback.PlaybackSettings.ShouldSearchFailFast for non existing control
    1 Posts | Last post June 29, 2016
    • Default value of Playback.PlaybackSettings.ShouldSearchFailFast is true.I make it it IE.working great for  non exiting control.hit Playback_PlaybackError event handler 15 times(Playback.PlaybackSettings.MaximumRetryCount=15). But doesn't work in just hang when Exists check is called on a control,never hit Playback_PlaybackError event handler.If i set  Playback.PlaybackSettings.ShouldSearchFailFast = true, it  working.That is a problem.
      Detail discussion:
  • Win10/VS2015 Enterprise Setup Requires the .Net Framework 3.5 to be installed?
    2 Posts | Last post June 23, 2016
    • When I try to install this tool on Windows 10 and with Visual Studio 2015 Update 2, I get the following error message:
      "This setup requires the .NET Framework 3.5 to be installed".
      I can go install .NET Framework 3.5 but that's a pain, will the installer be updated to work\not require .NET Framework 3.5?
    • With the latest version, you should not require .Net 3.5 to be installed. Thanks!
  • Browser.Close() Does not work
    1 Posts | Last post June 20, 2016
    • I am seeing an issue where driver.Close(); does not close the firefox browser.
      Here is a 2min video with the repo steps:
      Here is my Git repo with the sample test that exhibits the issue.
      More info here:
      How can I get the driver.close to work with FireFox 47.
1 - 10 of 201 Items