Selenium components for Coded UI Cross Browser Testing

Free

Selenium components for Coded UI Cross Browser Testing

(14) Review
Visual Studio
2013, 2012
Download (24,260)
11/14/2014
1.5
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (14)
Q and A (143)
Sign in to write a review
Sort by:

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 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


  • Mouse.StartDraggin in Firefox causes PlaybackFailureException
    4 Posts | Last post Mon 11:53 AM
    • I'm using the latest version of the Selenium components for Coded UI, v1.5 released on 11/14/2014. Problem occurs in both Firefox 35 and 33.
      
      I'm having an issue with dragging in Firefox. The web application under test uses the JavaScript-heavy ExtJS framework. The control itself seems to have the correct search properties and parent control defined - calling control.DrawHighlight() highlights the correct control, and Mouse.Click(control) works. However, any of the following attempts to drag cause a Microsoft.VisualStudio.TestTools.UITest.Extension.PlaybackFailureException to be thrown:
      
      1. Mouse.StartDragging(control);
      
      2. Mouse.StartDragging(control, new Point(45, 9));
      
      3. Mouse.Click(control);
      Mouse.StartDragging(control);
      
      Calling Mouse.Move(control) or Mouse.Move(control, new Point(45, 9)) to  "forcefully" move the cursor over the control strangely sends the cursor to the top-left corner of the screen, rather than to the specified control, so that won't work.
      
      The post by rDevakumar on Feb 3, 2015 also mentions problems dragging and dropping - are these issues related?
    • Hi,
      I am also facing the issue, i.e. controls is searched correctly but I get error "Cannot perform drag on the control". For me its not working on both chrome & Firefox.
      
      I also tries Mouse.startDragging(control.boundingrectangle.location) but its didn't worked. 
      
      Let me know if you find the solution
      
      Thanks,
      Preeti
    • Can anyone please help us on this issue, as I am still struggling with this it and its getting critical day by day
    • I have tried many options but Mouse hover, mouse move, mouse drag are not working in Chrome (but working in IE).  For now we kept these as out of scope for automation in Chrome :(
  • Consider space in inner text of Assert in cross browser playback
    4 Posts | Last post Thu 5:15 PM
    • Hi 
      
      I use MTM 2013, and I have a problem with Assert in cross browser playback.
      
      Inner text of assert in  IE save without any space, while in chrome or Firefox consider all space in inner text. because of this , all of test in cross browser playback has failed.
      
      could you please help me to solve this issue ?
    • Hi Farinaz
      You can update your code to try a .Contains assertion instead of a .Equals.
    • Hi Srishti 
      thanks for you're replay 
      .Contains does not work too, because this method say: string A contains String B,but string A does not have  exactly string B 
      forexample: A[9]= "a b c d e" , B[2]="ab"
      A dose not have B , "a b" is different from "ab"
    • Hi Farinaz,
      
      Values of "InnerText" are not really controlled by CodedUITest. This can vary from browser to browser - depending upon how those browsers handle those controls. 
      
      Also, "innerText" is not a W3C compliant property. Mozilla supports W3C compatible properties only. Use "textContext" or "innerHTML" (you can use CUIT's JavaScript execution API to fetch these properties - if required). 
      
      InnerText exists as property in CUIT because IE supports it primarily.
      
      Use "textContent" or "innerHTML" and compare those values between IE and other browsers as they are W3C compliant properties.
  • Multiple UI Maps and cross browser testing
    2 Posts | Last post Thu 5:08 PM
    • Hi, 
      
      I get the exception 'stale element reference: element is not attached to the page document
        (Session info: chrome=39.0.2171.71)
        (Driver info: chromedriver=2.8.241075,platform=Windows NT 6.3 x86_64)'
      
      I feel this is due to the usage of multiple UIMaps. Each time I use a method which is in a different UIMap, I get this exception.
      
      I have tried the following - 
      1) Adding wait.
      2) Browser refresh. Is browser refresh supported on non-IE browsers? 
      
      Please suggest a solution for this. 
      
      Thank you.
    • This usually happens when the control cached by the test is stale. Try adding this to the "Control" object that is throwing above error:
      <control>.SearchConfigurations.Add(SearchConfiguration.AlwaysSearch);
      
      This ensures that CodedUITest will always search for the control instead of using the one in cache.
  • Cross Browser : DisplayText property not supported in chrome and firefox for HtmlSpan,HtmlListItem and HtmlDiv
    4 Posts | Last post Thu 5:03 PM
    • Hi,
      
      I am trying to validate "DisplayText" property on HtmlDiv,HtmlListItem and HtmlPane/HtmlSpan control in chrome and Firefox.It is throwing exception with error message "control does not support "DisplayText" property".when I have investigated further on it,I found that the value for this property on these controls is 'null'.
      
      It is found to be working in Internet Explorer and not working in chrome and Firefox.
      
      The following are the examples:
      
      HtmlDiv:
      <div style="color:#0000FF" name="Test">  <h3>This is a heading</h3> </div>
      
      HtmlListItem:
      <select name="list_box_name" size="3">
      <option name="Option 1" value="option1">Option 1</option>
      <option name="Option 2" value="option2">Option2</option>
      <option name="Option 3" value="Option3">Option3</option>
      </select>
      
      HtmlPane/HTmlSpan:
      <span> Testing TextBlock Under Pan control</span>
      
      Could you please provide support "Display Text" property in chrome and Firefox also for the above mentioned controls or workaround to support validation?
      
      Regards,
      
      Nagasree.
    • Hi
      Thank you for your feedback. Could you try if "Inner Text" property works for you?
    • Hi Srishti,
      
      InnerText Property available on these controls.Are you sure 'Innertext' and 'DisplayText' values are same for these controls everytime?
      
      Regards,
      Nagasree.
      
    • Hi Nagasree,
      
      DisplayText is not supported by CodedUITest. InnerText depends on the "browser" and can vary. CodedUITest does not do any text trimming or anything. you are essentially dealing with how each browser deals with HTMLControl and considers what is "text" for it. You should use heuristic comparisons to assert what you need. 
      
      If you want to fetch properties of controls that are not directly supported by CUIT, you can use "javascript" API to fetch a specific property of control - BrowserWindow.ExecuteScript() API can be used to get the properties. 
      
      Check this blog about JS: http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/18/introducing-jscript-execution-on-internetexplorer-and-crossbrowser-in-coded-ui-test.aspx
       
  • Playback failed in IE and Chrome on websites with fixed footer (but Firefox works)
    4 Posts | Last post February 23, 2015
    • Hi,
      
      We are automating testing of an website application which has a fixed footer (where stock prices are shown).  However, searching is not scrolling to the required level and click is failing with reason "....please make sure blocked control is visible..." in IE and chrome.  However, the playback/ scrolling  / mouse click works fine in Firefox.
      
      I tested the behavior in a public website which has a fixed footer (http://www.sharekhan.com/stock-market/HomePage.aspx) by recording few actions (scroll down, click a link, enter a text in textbox, scroll up and click a link, then scroll down and click a link.  I am seeing the same behavior (firefox works, but IE fails in the last click with the same reason).
      
      Our website has many test cases where control is not visible in the page and needs scrolls down and click.  Any idea on how to make IE and Chrome handled this?  I tried many ways like mouse.ensureclick(), boundingrectangle(), tryclickablepoint etc, but nothing worked.
      
      Regards
      Devakumar
      
    • Hi,
      
      Anyone faced similar issue and any possible resolution?  please help...
      
      Regards
      Devakumar
    • MS Folks, please let me know if you have any solution for this issue.
    • Hi 
      I had a problem like this. I resize browser window with press ( "ctrl"+"-" ), and it's worked
  • Unable To Perform Cross Browser Testing in VS2012
    6 Posts | Last post February 20, 2015
    • Error:stale element reference: element is not attached to the page document(Chrome)
      Steps:
      1-Recorded a Small Flow Using IE.
      2-Played The Test Case in IE Which is Working Fine.
      3-Installed Selenium Component and Changed The Browser Window To Chrome
      4-Run The Test Case
      
      Note:It is able to open the URL in Chrome but Fail To Identify a Button Having ID.
      
      Question 1: Does "Locate Control in UI" Works in Chrome or its only For IE?
      
      I Read all Thread related to this issue posted but still it is not resolved. Can anyone help me to resolve this issue
      
      
      
      
      
      
    • V-VACHAN/Abhitej
      Will you please help me to resolve the issue.
      
      V-VACHAN-I wanted to know how your controls are identified in Chrome.
      Please let me know, I tried my best but still not able to locate a simple button in Chrome, which works perfect in IE :(
    • Hi,
      
      Are you using "CodedUITestEditor" (by opening UIMap file) to Locate a "Recorded" control? If this is the case, it is not supported in Chrome.
      
      If there is a "Test Run" issue as well, then please post your Chrome Version and Selenium web driver DLLs version number. 
      
      Also, Did you update the Selenium web dlls as mentioned in the blog above to 2.43.1?
      
      
    • Hi Sai,
      Following Things I did.
      1- Recorded a Flow in IE using Coded UI Test Builder.
      2-Ran in in IE which Is working Fine and All Controls Are Identified
      3-Change The Browser BrowserWindow.CurrentBrowser = "Firefox"
      
      Got Error as "element is no longer attached to the dom", even After Playback.Wait()
      
      I tried even Capture one Control in IE using Coded UI Test(Only One Control), and perform Click on that Control,and Changed the Browser To Chrome.
      It is Not Identifying The Control too.
      
      Note: The Current Version of The Selenium Web Driver is 2.43.1.0
      
      Please Help Me.
      
      
      
      
    • Olá, 
      
      Eu estou com o mesmo problema. Ao executar um teste gerado através do Coded UI Test Builder, no IE ele funciona perfeitamente, mas no Chrome um botão não é encontrado. Eu estou usando o Selenium 2.43.1.0 também. Minha versão no Chrome é 39.0.2171.99.
    • Can anyone please resolve this issue....or any help will be appreciated..
  • Not able to Drag drop button on Chrome
    1 Posts | Last post February 20, 2015
    • Hi,
      
      We are automating an application where we require to drag drop certain buttons. This works fine in IE, but we are facing issue on Chrome. We are using Selenium components for Coded UI Cross Browser Testing. Also Chrome version used is 31.
      
      Error Mesage:
      
      "Cannot perform drag on the control"
      
      Thanks,
      
      Preeti
  • Cross Browser Testing in MTM
    4 Posts | Last post February 16, 2015
    • Hi,
      I would like to run my tests on our lab machines through MTM. We currently have over 200 VMs so installing the Selenium components on each machine is impractical. Is there a way I can add these binaries to my framework Nuget package which gets consumed by all of my test projects? Do the files absolutely have to be in the locations specified as opposed to being referenced from within the project itself?
      
      Thanks,
      
      -Vince
    • Hi
      The binaries must go to the specified location as that is the only place we pick it up from.
      I would recommend doing a silent install of the msi or using a nugget preinstall\ postinstall cmd from powershell.
      
      The method you are mentioning - is not tested and not supported, however, if you can get the binaries to be placed in the same location where we drop it, there isn't any reason why it shouldn't work.
    • Thanks Srishti,
      So exactly how/where do you pickup the location? Is there not a config file somewhere or is this hard-coded somewhere in the cross-browser dll perhaps?
      
      Thanks,
      
      -Vince
    • Hi Vince
      No there isn't any config file. The location is part of the product code. We pick up all extensions from the same location and it will not be possible to change this. Why can't you silent install the msi as part of the machine setup?
  • Cannot install Selenium Components for Cross Browser Testing extension from Visual Studio 2013
    13 Posts | Last post February 16, 2015
    • I am having some issues with installing Selenium Components for Cross Browser testing.  I keep getting this error everytime. Yes, Visual Studio 2013 has been registered with a product key. However, I cannot seem to bypass this error. I tried to install from http://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d and from Tools->Extensions and Updates from Visual Studio 2013. It just does not work. I have a copy of Visual Studio 2013.  Yes, I already have Visual Studio 2012 Ultimate and Visual Studio 2013 Ultimate installed on my machine. What am I missing?
    • Hi,
      
      All you have to do is just run the setup file "CodedUITestCrossBrowserSetup"
      which you have already downloaded from the URL you mentioned.Nothing much you need to do, just verify the things mentioned in the same page.You can able to run the scripts on IE,FF,Chrome browsers.
      
      Hope this will helps!
    • Hi Dinesh
      
      
      The error I am getting is:
      
      To Install Microsoft Visual Studio Cross Browser Testing Setup for Selenium Components, you must have one of the following Visual Studio 2012 or Visual Studio 2013 SKUs installed on your computer: Ultimate Premium, Test Professional, Test Agent, Test Controller, Team Foundation Server.
      
      
      What am I missing?  I have VS2012, VS2013 (ultimate versions), Test Controller and Test Agent installed.  Why can't I download Selenium compenent for cross browser testing? I am doing this from within Visual Studio Extensions and Updates. 
    • Antwan,
      What is your VS build number? Is this an x64 machine? Do you have the following registry entry: HKLM\SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\ultimate (it would be HKLM\Software\Wow6432Node\.. for an x64 box)? 
      
      -Abhitej.
    • Hi,
      
      Any solution of this issue. I am also getting the same issue.
      I have VS 2013 Ultimate update 4 installed in my machine.
      
      Please suggest.
    • Ankit,
      The MSI install logs in %temp% would help out here. Can you please check for any suspicious entries in there?
      
      - Abhitej.
      
    • Nope..there is not entry in %temp%.
      I am getting same message - 
      To Install Microsoft Visual Studio Cross Browser Testing Setup for Selenium Components, you must have one of the following Visual Studio 2012 or Visual Studio 2013 SKUs installed on your computer: Ultimate Premium, Test Professional, Test Agent, Test Controller, Team Foundation Server.
      
      Even I have VS 2013 Ultimate Update 4 installed which is working fine.
      Please guide to install. Otherwise how to install without .MSI
      
    • oops...yes there is log as MSIed0e5.Log
      It contains huge text. Could you pls suggest which to mention here for solution.
      
      === Verbose logging started: 2/6/2015  22:56:44  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\WINDOWS\System32\msiexec.exe ===
      MSI (c) (24:C8) [22:56:44:708]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
      
      MSI (c) (24:C8) [22:56:44:708]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
      
      MSI (c) (24:68) [22:56:44:723]: Resetting cached policy values
      MSI (c) (24:68) [22:56:44:723]: Machine policy value 'Debug' is 0
      MSI (c) (24:68) [22:56:44:723]: ******* RunEngine:
                 ******* Product: C:\Users\AH0662546\Downloads\CodedUITestCrossBrowserSetup.msi
                 ******* Action: 
                 ******* CommandLine: **********
      MSI (c) (24:68) [22:56:44:723]: Machine policy value 'DisableUserInstalls' is 0
      MSI (c) (24:68) [22:56:44:801]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\AH0662546\Downloads\CodedUITestCrossBrowserSetup.msi' against software restriction policy
      
      MSI (c) (24:68) [22:56:44:801]: SOFTWARE RESTRICTION POLICY: C:\Users\AH0662546\Downloads\CodedUITestCrossBrowserSetup.msi has a digital signature
      MSI (c) (24:68) [22:56:44:879]: Creating MSIHANDLE (1) of type 790541 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Incrementing counter to disable shutdown. Counter after increment: 0
      MSI (c) (24:68) [22:56:44:879]: Creating MSIHANDLE (2) of type 790540 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Creating MSIHANDLE (3) of type 790531 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Closing MSIHANDLE (3) of type 790531 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Creating MSIHANDLE (4) of type 790531 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Closing MSIHANDLE (4) of type 790531 for thread 2152
      MSI (c) (24:68) [22:56:44:879]: Creating MSIHANDLE (5) of type 790531 for thread 2152
      
    • You can start with searching for any errors in the log. Have you unblocked the MSI(Properties -> General tab -> Unblock file) after download if its blocked.
      
      -Abhitej
    • Yes, I have Unblocked, But still the same issue.
      MSI (s) (24:98) [11:46:01:261]: Original package ==> C:\Users\AH0662546\Downloads\CodedUITestCrossBrowserSetup.msi
      MSI (s) (24:98) [11:46:01:261]: Package we're running from ==> C:\WINDOWS\Installer\b2d28.msi
      MSI (s) (24:98) [11:46:01:276]: APPCOMPAT: Compatibility mode property overrides found.
      MSI (s) (24:98) [11:46:01:292]: APPCOMPAT: looking for appcompat database entry with ProductCode '{FDF3088B-DEDE-4A53-8B5B-BC23AA5213E9}'.
      MSI (s) (24:98) [11:46:01:292]: APPCOMPAT: no matching ProductCode found in database.
      MSI (s) (24:98) [11:46:01:354]: MSCOREE not loaded loading copy from system32
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'TransformsSecure' is 0
      MSI (s) (24:98) [11:46:01:495]: User policy value 'TransformsAtSource' is 0
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'DisablePatch' is 0
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'AllowLockdownPatch' is 0
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'DisableMsi' is 0
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'AlwaysInstallElevated' is 1
      MSI (s) (24:98) [11:46:01:495]: User policy value 'AlwaysInstallElevated' is 1
      MSI (s) (24:98) [11:46:01:495]: Running product '{FDF3088B-DEDE-4A53-8B5B-BC23AA5213E9}' with elevated privileges: All apps run elevated.
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'DisableLUAPatching' is 1
      MSI (s) (24:98) [11:46:01:495]: Machine policy value 'DisableFlyWeightPatching' is 0
      MSI (s) (24:98) [11:46:01:495]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
      MSI (s) (24:98) [11:46:01:495]: APPCOMPAT: looking for appcompat database entry with ProductCode '{FDF3088B-DEDE-4A53-8B5B-BC23AA5213E9}'.
      MSI (s) (24:98) [11:46:01:495]: APPCOMPAT: no matching ProductCode found in database.
      MSI (s) (24:98) [11:46:01:495]: Transforms are not secure.
      
    • MSI (s) (24:98) [11:46:01:495]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\AH0662546\AppData\Local\Temp\1\MSIf9156.LOG'.
      MSI (s) (24:98) [11:46:01:495]: Command Line: REMOVE=ALL CURRENTDIRECTORY=C:\Users\AH0662546\Downloads CLIENTUILEVEL=2 CLIENTPROCESSID=7192 
      MSI (s) (24:98) [11:46:01:495]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{8EADB593-8C25-43B9-A01D-40EB40E2944F}'.
      MSI (s) (24:98) [11:46:01:495]: Product Code passed to Engine.Initialize:           ''
      MSI (s) (24:98) [11:46:01:495]: Product Code from property table before transforms: '{FDF3088B-DEDE-4A53-8B5B-BC23AA5213E9}'
      MSI (s) (24:98) [11:46:01:495]: Product Code from property table after transforms:  '{FDF3088B-DEDE-4A53-8B5B-BC23AA5213E9}'
      MSI (s) (24:98) [11:46:01:526]: Note: 1: 1708 
      MSI (s) (24:98) [11:46:01:526]: Product: Microsoft Visual Studio Cross Browser Testing Setup for Selenium Components -- Installation failed.
      
      MSI (s) (24:98) [11:46:01:526]: Windows Installer installed the product. Product Name: Microsoft Visual Studio Cross Browser Testing Setup for Selenium Components. Product Version: 1.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1605.
      
      MSI (s) (24:98) [11:46:01:526]: MainEngineThread is returning 1605
      MSI (s) (24:A0) [11:46:01:526]: No System Restore sequence number for this installation.
      This action is only valid for products that are currently installed.
      C:\Users\AH0662546\Downloads\CodedUITestCrossBrowserSetup.msi
      MSI (s) (24:A0) [11:46:01:526]: User policy value 'DisableRollback' is 0
      MSI (s) (24:A0) [11:46:01:526]: Machine policy value 'DisableRollback' is 0
      MSI (s) (24:A0) [11:46:01:526]: Incrementing counter to disable shutdown. Counter after increment: 0
      MSI (s) (24:A0) [11:46:01:526]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
      
    • MSI (s) (24:A0) [11:46:01:526]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
      MSI (s) (24:A0) [11:46:01:526]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
      MSI (s) (24:A0) [11:46:01:526]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
      MSI (s) (24:A0) [11:46:01:526]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
      MSI (s) (24:A0) [11:46:01:526]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
      MSI (s) (24:A0) [11:46:01:526]: Restoring environment variables
      MSI (c) (18:E0) [11:46:01:526]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
      MSI (c) (18:E0) [11:46:01:526]: MainEngineThread is returning 1605
      === Verbose logging stopped: 2/7/2015  11:46:01 ===
      
    • Ok..So finally I am able to install "CodedUITestCrossBrowserSetup.MSI"
      I have both VS 2012 & 2013 Ultimate installed in my machine.
      
      Below are the scenario on which I am and I am not able to install - 
      
      1. Download and install "CodedUITestCrossBrowserSetup.MSI" from the link - https://visualstudiogallery.msdn.microsoft.com/11cfc881-f8c9-4f96-b303-a2780156628d
      
      Result - Got the error message to install VS 2012/2013
      
      2. (VS 2013) Go to Tools - Extension and Updates - Search,download and Run CodedUITestCrossBrowserSetup.MSI
      Result - Got the error message to install VS 2012/2013
      
      3. (VS 2012) Go to Tools - Extension and Updates - Search,download and Run CodedUITestCrossBrowserSetup.MSI
      Result - Successfully installed.
      
      Thanks & Regards,
      Ankit Gupta 
      
  • CodedUI not finding inner iframe controls in Chrome
    4 Posts | Last post February 04, 2015
    • I am currently working on the testing of Coded UI methods in Chrome browser. Now I am facing one issue and trying to resolve it, the issue is Coded UI fails to locate those controls that are placed in child  iframe. If there is one iframe then Coded UI is able to locate those controls but when one iframe contains another iframe then the child iframe is not located by Coded UI. I have created a sample application and tried but it gives me the “No such frame exception”. The same test method works fine in IE8 but not working in Chrome and Firefox. I am using the latest version of Cross Browser Selenium Components. 
      
      OS : Windows 7 (64 bit)
      Chrome : 40.0.2214.93 m
      WebDriver.dll : 2.44.0.0
      
      Please let me know how to solve this issue.
      
      Thanks
      Deepak KK
    • Hi Deepak
      We haven't heard of this issue. Can you share your sample application with us and I will try it out at my end and see if there is any way to work around it.
    • Hi Srishti Thank you for the reply. I am not sure how to attach files here so just copying the code here. I have 3 html pages. Page1.html contains a iframe where Page2.html is loaded. Page2.html contains another iframe where Page3.html is loaded.
      
      Page1.html
      <html>
      <body>
          <div id="userMenuBar">
              <iframe id="frm1" frameborder="1" title="frmTitle" src="http://localhost/DomainTest/Page2.htm"
                  height="90%" width="90%"></iframe>
          </div>
      </body>
      </html>
      
      ------
      
      Page2.html
      
      <html>
      <body>
       <div id="first">
          <input id="txtOuter" type="text" />
           <iframe id="frm2" frameborder="1" title="inner" src="http://localhost/DomainTest/Page3.htm" height="75%" width="75%"></iframe>
          </div>
      </body>
      </html>
      
      ------------------
      Page3.html
      
      <html>
      <body>
          <div id="second">
              <div id="third">
                  This is s test page 3
                  	<input id="txtInner" type="text" />
              </div>
          </div>
      </body>
      </html>
      
      
      ------
      
      The code which I have written in Test file is as follows.
      [TestMethod]
             public void GetItemsInsideIframe()
             {
                 OpenBrowser("Chrome");//Code to open Chrome browser
                 HtmlIFrame frame1 = new HtmlIFrame(bWindow);
                 frame1.SearchProperties[HtmlIFrame.PropertyNames.Id] = "frm1";          
                 HtmlIFrame frame2 = new HtmlIFrame(frame1);
                 frame2.SearchProperties[HtmlIFrame.PropertyNames.Title] = "inner";           
                 HtmlDiv summaryDiv = new HtmlDiv(frame2);           
                 summaryDiv.SearchProperties[HtmlDiv.PropertyNames.Id] = "third";           
                 summaryDiv.DrawHighlight(); //error is thrown here - no such frame frm2
      
             }
      
    • I am having a similar problem, where the action recording is not identifying any links within a page (i.e. it won't recognize the links after a google search).  It seems any time I try to click anything in the browser window, it causes an error, even if the code is being generated.  However, if I perform the same actions via keyboard commands, it works fine.  It has frustrated me a little, but I'm sure it isn't something that can't be fixed (or I may simply have missed something).
      
      I am using VS2012 and the UI Control Map displays 'UIChromeLegacyWindowDocument' for the clicks (but they still are never executed, even after modifying their coordinates manually).
      
      Regards,
      
      Mohna
1 - 10 of 143 Items