Selenium components for Coded UI Cross Browser Testing

Free

Selenium components for Coded UI Cross Browser Testing

(18) Review
Visual Studio
2015, 2013, 2012
Download (42,144)
6/23/2016
1.6
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (18)
Q and A (199)
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 | Tue 6:56 PM

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 http://msdn.microsoft.com/en-us/library/jj835758.aspx 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


  • 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:
      
      http://chromedriver.storage.googleapis.com/2.8/chromedriver_win32.zip
      
      2. Download selenium dot net bindings from:
      
      https://selenium.googlecode.com/files/selenium-dotnet-strongnamed-2.39.0.zip
      
      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: 127.0.0.1:7055
      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. 
      
      Thanks
      Manoj
    • 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 false.run it IE.working great for  non exiting control.hit Playback_PlaybackError event handler 15 times(Playback.PlaybackSettings.MaximumRetryCount=15). But doesn't work in Firefox.it 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:
      https://social.msdn.microsoft.com/Forums/en-US/ea11655b-65cc-4821-be3f-f19bc358313e/codedui-non-existing-control-search-in-firefox?forum=vstest
  • 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". 
      http://imgur.com/Aze0enB
      
      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:
      https://www.youtube.com/watch?v=punDJFEmazY
      
      Here is my Git repo with the sample test that exhibits the issue. 
      https://github.com/ianceicys/SeleniumTests
      
      More info here:
      https://github.com/mozilla/geckodriver/issues/91?_pjax=%23js-repo-pjax-container
      
      How can I get the driver.close to work with FireFox 47.
  • Support for FireFox 47 on Win10, VS 2015 Update2?
    1 Posts | Last post June 16, 2016
    • I am getting the following error message when I try to run a cross platform test using the latest version 47 of Firefox. 
      
      https://www.mozilla.org/en-US/firefox/47.0/releasenotes/
      
      I put together a video showcasing the error I am facing:
      https://www.youtube.com/watch?v=TOwENeaBGHQ
      
      StackTrace:
      
      Result StackTrace:	
      at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
         at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
          at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
         at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
       --- End of inner exception stack trace ---
          at System.Net.HttpWebRequest.GetResponse()
         at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
       --- End of inner exception stack trace ---
          at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
         at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
         at OpenQA.Selenium.Firefox.FirefoxDriverCommandExecutor.Execute(Command commandToExecute)
         at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
         at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
         at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
         at OpenQA.Selenium.Firefox.FirefoxDriver..ctor(FirefoxBinary binary, FirefoxProfile profile)
         at OpenQA.Selenium.Firefox.FirefoxDriver..ctor()
         at SeleniumTests.UnitTest1.Selenium_FireFox_Test_Google_HelloWorld() in C:\Users\user\documents\visual studio 2015\Projects\SeleniumTests\SeleniumTests\UnitTest1.cs:line 14
      Result Message:	
      Test 
  • GetProperty of "ControlDefinition" is not supported on control type: Pane
    1 Posts | Last post June 14, 2016
    • Hi,
      I have a div control in a html page and it display set as "block". And there are several divs on the same page, but these dives are not set the display as "block". So I want to find the specific div through the display property with following code. It works fine in IE, but failed in Firefox (version 33.0).
       var divWizardPages = new HtmlDiv(bw);
                  divWizardPages.SearchProperties[HtmlDiv.PropertyNames.Class] = "wizardpage";
      var divWizardPage = divWizardPages.FindMatchingControls().Cast<HtmlDiv>().FirstOrDefault(d => d.ControlDefinition.Contains("display: block"));
      
      Why the ControlDefinition doesn't work in Firefox?
1 - 10 of 199 Items