This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Logo
Gray Pipe
Developer Network Developer Network Developer
:CreateViewProfileText: Sign in
Subscriber portal
Get tools
  • Downloads
    • Visual Studio
    • SDKs
    • Trial software
      • Free downloads
      • Office resources
  • Programs
    • Subscriptions
      • Overview
      • Administrators
    • Students
      • Microsoft Imagine
      • Microsoft Student Partners
    • ISV
    • Startups
    • Events
  • Community
    • Magazine
    • Forums
    • Blogs
    • Channel 9
  • Documentation
    • APIs and reference
    • Dev centers
    • Samples
    • Retired content
search clear
We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second.
Ask a question
Quick access
  • Forums home
  • Browse forums users
  • FAQ
Announcement: 5

Visual Studio UI Automation Testing (includes Coded UI tests) announcement

  • Link
    This Forum Has Been Retired
    John Boylan Monday, December 3, 2012 11:33 PM

    This forum has been locked; it will still be available for review in the Archived Forums folder. Any future posts on this topic should be put in the Test Tools in Visual Studio 2010 and 2012 forum.


  • Link
    Introducing Cross Browser Testing with Coded UI Tests
    Shubhra Maji MSFT Wednesday, October 31, 2012 3:02 AM

    Coded UI Tests help automate browser based applications built on Internet Explorer. We are now enabling cross-browser testing of such applications. Users will be able to perform functional testing of web applications across IE/Firefox/Chrome.  One can use IE to record tests and validate control properties using Coded UI Test Builder. Users also have an option to hand code cross browser tests. If user needs to playback on IE, she can click on Run All in Test Explorer which plays back the recording using Coded UI inbuilt IE Plugin. On the other hand, if the user needs to playback on non-IE browser, she can set BrowserWindow.CurrentBrowser as “firefox” or “chrome” in the test depending on which browser she wants to test before running from the test explorer.  In this case, Coded UI Engine communicates with Selenium Web Driver to execute the playback. 

    Hope you like this feature. Feel free to drop your feedback here

    System Requirements:

    1. Operating System: Windows 8 X86 Client/Windows 8 X64/Win7 X64/Win7 X86/Win2k8 R2 SP1
    2. IE version - IE9/ classic IE10 
    3. Firefox version - 15+
    4. Chrome version - 21+
    5. Visual Studio Ultimate - VS 2012 RTM  + VS 2012 Update 1 CTP
    6. Selenium NET Bindings and the Selenium ChromeDriver made available to you through an installer on Visual Studio Gallery. Refer to the file attachment "CUIT Cross Browser Testing Acquisition" for more details

    Features:

    The following features are available across the various web browsers:

    • Recording support for actions and validation on supported IE browsers
    • Hand-coding scenarios support for such things as control properties, search, and playback waiters.
    • Support for popups and dialog
    • Ability to execute basic JavaScript with no return type
    • Search resilience (via smart match) and performance improvements

    Scenario Videos: 

    Record on IE and Playback everywhere

    Author cross browser tests with Coded UI Test Builder

    Author cross browser tests using plain hand coding without UI Map

    Run cross browser tests sequentially on multiple browsers

    Troubleshoot cross browser test failures

    Known Limitations

    1. No support for Safari browser
    2. Browser launch needs to be part of the UITest. In case you have a browser already open and you want to run steps on the opened browser, playback will fail for non-IE browser windows. Hence, it is advisable to have launch too as part of the test case.
    3. Automating browser based actions such as Maximize/minimize/restore is not supported

    Troubleshooting tips

     Enable HTML Logger - follow http://msdn.microsoft.com/en-us/library/jj159363.aspx

    Feedback Survey:

    Please fill in the survey to register your feedback on this feature: https://s.zoomerang.com/s/CrossBrowserTesting. Your feedback will help us plan for further enhancement to the cross browser feature.



  • Link
    Coded UI Test Plugin for Silverlight
    Mathew Aniyan MSFT Sunday, July 8, 2012 10:32 AM

    Using the Microsoft Visual Studio UI Test plugin for Silverlight, you can create Coded UI Tests or action recordings for Silverlight applications. Action recordings let you fast forward through steps in a manual test using Microsoft Test Manager. Coded UI Tests let you record actions, generate code and play back user interface tests using Microsoft Visual Studio.

    This plugin supports Silverlight 4 & 5 applications hosted in Internet Explorer versions 8, 9 & 10. It requires Microsoft Visual Studio 2012 RC.

    A few members of the product team got together and built this plugin as an off-hours project. It is not an official Microsoft release. We will monitor the Qand A section on the Visual Studio Galley site for feedback and queries.

    For more details and to download the plugin visit VisualStudio Gallery.

    Deepak Singhal, Mathew Aniyan, Siddhartha Pandey, Tapas Sahoo, Vishnupriyan Radhamanalan.



  • Link
    Code First API Library, Scaffolding & Guidance for Coded UI Tests–Released to Codeplex
    Mathew Aniyan MSFT Saturday, March 10, 2012 3:46 AM

    The purpose of Code First API Library, Scaffolding & Guidance for Coded UI Tests is to help you write more maintainable Coded UI tests for your web apps.  When building Web UI Tests the way that's proposed here - you aren't going to be recording test scripts nor building UI Maps. Instead, you'll be writing Page Objects that are interacting with the elements on the page.

    See http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/10/code-first-api-library-scaffolding-amp-guidance-for-coded-ui-tests-released-to-codeplex.aspx

  • Link
    Content Index for Coded UI Test
    Mathew Aniyan MSFT Wednesday, March 10, 2010 6:20 AM
    You can see a list of articles related to Coded UI Test (organized into various sections) in the link below.

    http://blogs.msdn.com/mathew_aniyan/pages/content-index-for-coded-ui-test.aspx

    It is a great place to start your exploration of Coded UI Test feature.

RRS feed

  • Remove From My Forums

Forums [ view all ]

Selected forums

Clear
Visual Studio UI Automation Testing (includes Coded UI tests)
x
Filter : All threads
All threads
Answered
Unanswered
Proposed answers
General discussion

No replies
Helpful
Has code

All languages
Sort : Most recent post
  • Most recent post
  • Most recent thread
  • Total votes
  • Total replies
  • large check mark
    0 Votes

    Why does an assert on the properties of .Extists or Enabled ALWAYS return true

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    You can even close the AUT and these properties will still return true.  It's a problem that needs fixed not a bunch of work arounds.
    Answered | 10 Replies | 9958 Views | Created by GLimbaugh - Friday, September 21, 2012 5:41 PM | Last reply by OneHip51 - Wednesday, December 19, 2012 2:30 PM
  • large check mark
    1 Votes

    I need "Microsoft.VisualStudio.TestTools.UITest.Framework" dll (version 10.0.30319.1)

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Hi Friends, I have started working with Coded UI automation. I have encountered an error with CodedUI. This error is due to the version problem of ...
    Answered | 7 Replies | 17094 Views | Created by RajYogi - Friday, December 7, 2012 6:18 AM | Last reply by poornima jayabalan - Wednesday, December 19, 2012 9:56 AM
  • large check mark
    0 Votes

    Problem testing validation in viewmodel using coded ui test

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    I am new to Coded UI test, and hope to test a large UI fully and completely (of course) using Coded UI testing. During my initial researchs, I ran into problems when trying to test ...
    Answered | 11 Replies | 7355 Views | Created by WPFASL - Tuesday, December 11, 2012 5:31 PM | Last reply by WPFASL - Wednesday, December 19, 2012 9:43 AM
  • large check mark
    0 Votes

    "Unable to load the test container" error while running coded ui tests on the nightly build from TFS

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Hi, While running the coded ui test from tfs on the nightly build, i received the error Unable to load the test container '\\somelocation\somebuildnumber\Mixed ...
    Answered | 6 Replies | 14158 Views | Created by shadhana - Friday, December 23, 2011 2:34 PM | Last reply by Fawad Hu - Wednesday, December 19, 2012 9:34 AM
  • large check mark
    0 Votes

    window.SearchProperties.Add parameter

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    window.SearchProperties.Add("Title","WindowTitle"); i want to know the full list of first parameter string for example, title, ...
    Unanswered | 2 Replies | 6270 Views | Created by Wayne.Wu - Wednesday, December 19, 2012 5:42 AM | Last reply by AdrianHHH - Wednesday, December 19, 2012 9:20 AM
  • large check mark
    0 Votes

    Failed to Assembly.LoadFrom a 64-bit assembly

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    One assembly "A" will be injected into my tested application, so it has to be 64-bit to compatible with my 64-bit tested application. But if I try to ...
    Unanswered | 1 Replies | 5162 Views | Created by totta wang - Wednesday, December 19, 2012 7:26 AM | Last reply by Amanda Zhu - Wednesday, December 19, 2012 8:59 AM
  • large check mark
    0 Votes

    Usage of Regular expressions

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Hi, Using regular expressions, I'm trying to customize the properties of a WebPane whose value is changing dynamically during runtime. The recorded value of the pane is: ...
    Answered | 3 Replies | 10441 Views | Created by Vijaya Chavvakula - Wednesday, March 24, 2010 3:08 PM | Last reply by Praveen Pvs - Wednesday, December 19, 2012 7:45 AM
  • large check mark
    0 Votes

    Dynamic test object

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    I had application where i see its name is dynamic  <PropertyCondition Name="Name">Welcome: App Tours - Microsoft Internet ...
    Answered | 4 Replies | 5900 Views | Created by chandu.k - Wednesday, December 12, 2012 6:08 PM | Last reply by Praveen Pvs - Wednesday, December 19, 2012 7:41 AM
  • large check mark
    0 Votes

    unable to find new panel name in the code

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Pfa attached image Anny.. IMPossible..
    Answered | 4 Replies | 5477 Views | Created by anu2011 - Friday, December 14, 2012 9:04 AM | Last reply by Amanda Zhu - Wednesday, December 19, 2012 7:24 AM
  • large check mark
    2 Votes

    What is the best way to compare reports?

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Many of my coded UI tests involve running reports with various inputs and comparing the report output against a previous run of the report, using the same inputs,  to insure that it is the ...
    Answered | 6 Replies | 5906 Views | Created by OneHip51 - Tuesday, December 11, 2012 11:16 PM | Last reply by OneHip51 - Tuesday, December 18, 2012 6:39 PM
  • large check mark
    0 Votes

    Html Inner Text property is rendered differently in VS 2012 than VS 2010?

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    I have several tests that get the innertext value of an htmltable on a web page and compare that string against an expected value. These tests were created in VS 2010 and have run successfully in ...
    Answered | 3 Replies | 4970 Views | Created by OneHip51 - Thursday, December 13, 2012 12:54 AM | Last reply by OneHip51 - Tuesday, December 18, 2012 6:33 PM
  • large check mark
    1 Votes

    How do I get to the HTMLDocument from BrowserWindow

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    I need to be able to get to the HTMLDocument from myBrowserWindow.  I have the following ...
    Answered | 5 Replies | 11904 Views | Created by Chuck Reynolds - Thursday, August 12, 2010 5:33 PM | Last reply by Mr. Javaman II - Tuesday, December 18, 2012 9:31 AM
  • large check mark
    0 Votes

    locate a HtmlInputButton within a HtmlCell

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    0) { //找到需要点击的那个"通知"HtmlInputButton的对象 & ...
    Answered | 12 Replies | 5351 Views | Created by Wayne.Wu - Tuesday, December 4, 2012 6:11 AM | Last reply by Wayne.Wu - Tuesday, December 18, 2012 8:23 AM
  • large check mark
    0 Votes

    iterate html table row and cell to locate a html button

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    problem is there is a html table html table col1 col2 ----------------------------- row1 key1 HtmlInputButton row2 key2 ...
    Answered | 4 Replies | 7821 Views | Created by Wayne.Wu - Tuesday, December 18, 2012 1:29 AM | Last reply by Wayne.Wu - Tuesday, December 18, 2012 7:46 AM
  • large check mark
    0 Votes

    Error Message : 'Access is denied’ During Batch Execution

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Hi All, We are executing our Coded UI tests in bulk(as test suite) from VS 2010. Some of our Coded UI test cases are getting failed and showing error message ...
    Answered | 9 Replies | 5030 Views | Created by Saini Ankur - Monday, December 10, 2012 11:25 AM | Last reply by Amanda Zhu - Tuesday, December 18, 2012 12:27 AM
  • large check mark
    0 Votes

    Rerun Failed Coded UI Tests In Test Suite

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
     Hi All, We have to execute a test suite (containing more than thousand Coded UI tests) on regular basis. As of now, we are ...
    Answered | 7 Replies | 7923 Views | Created by Saini Ankur - Monday, December 10, 2012 12:36 PM | Last reply by Amanda Zhu - Tuesday, December 18, 2012 12:21 AM
  • large check mark
    0 Votes

    Web test vs. CodedUI

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Hi All, My client is asking me to do automated functional testing with Visual Studio Team Test 2008. However, after trying CodedUI in VS 2010, I believe I should use CodedUI because ...
    Proposed | 3 Replies | 13854 Views | Created by NuxMan - Saturday, May 8, 2010 9:38 AM | Last reply by Simit_8 - Monday, December 17, 2012 7:02 PM
  • large check mark
    1 Votes

    How to convert coded ui test result file of visual stdio 2012 into Html file ?

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    How to convert coded ui test result file of visual stdio 2012  into  Html file ?
    Answered | 2 Replies | 6257 Views | Created by Shailesh Anand - Friday, December 14, 2012 12:58 PM | Last reply by Shailesh Anand - Monday, December 17, 2012 11:29 AM
  • large check mark
    0 Votes

    Not able to create Coded UI Test project in VS 2010

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    Please find the log below. The description for Event ID ( 0 ) in Source ( VSTTExecution ) cannot be found. The local computer may not have the necessary registry ...
    Unanswered | 4 Replies | 9290 Views | Created by d.ram - Wednesday, April 20, 2011 5:22 AM | Last reply by DS19 - Monday, December 17, 2012 10:09 AM
  • large check mark
    0 Votes

    Testing XBAP applications with coded ui

    Archived Forums Visual Studio
     > 
    Visual Studio UI Automation Testing (includes Coded UI tests)
    How does one successfully configure and map an XBAP application using coded ui?
    Answered | 7 Replies | 6067 Views | Created by ThisGoodThing - Monday, December 10, 2012 2:24 PM | Last reply by Jack Zhai-MSFT - Monday, December 17, 2012 9:38 AM
  • Items 1 to 20 of 5042 Next ›
Announcement: 5

Visual Studio UI Automation Testing (includes Coded UI tests) announcement

  • Link
    This Forum Has Been Retired
    John Boylan Monday, December 3, 2012 11:33 PM

    This forum has been locked; it will still be available for review in the Archived Forums folder. Any future posts on this topic should be put in the Test Tools in Visual Studio 2010 and 2012 forum.


  • Link
    Introducing Cross Browser Testing with Coded UI Tests
    Shubhra Maji MSFT Wednesday, October 31, 2012 3:02 AM

    Coded UI Tests help automate browser based applications built on Internet Explorer. We are now enabling cross-browser testing of such applications. Users will be able to perform functional testing of web applications across IE/Firefox/Chrome.  One can use IE to record tests and validate control properties using Coded UI Test Builder. Users also have an option to hand code cross browser tests. If user needs to playback on IE, she can click on Run All in Test Explorer which plays back the recording using Coded UI inbuilt IE Plugin. On the other hand, if the user needs to playback on non-IE browser, she can set BrowserWindow.CurrentBrowser as “firefox” or “chrome” in the test depending on which browser she wants to test before running from the test explorer.  In this case, Coded UI Engine communicates with Selenium Web Driver to execute the playback. 

    Hope you like this feature. Feel free to drop your feedback here

    System Requirements:

    1. Operating System: Windows 8 X86 Client/Windows 8 X64/Win7 X64/Win7 X86/Win2k8 R2 SP1
    2. IE version - IE9/ classic IE10 
    3. Firefox version - 15+
    4. Chrome version - 21+
    5. Visual Studio Ultimate - VS 2012 RTM  + VS 2012 Update 1 CTP
    6. Selenium NET Bindings and the Selenium ChromeDriver made available to you through an installer on Visual Studio Gallery. Refer to the file attachment "CUIT Cross Browser Testing Acquisition" for more details

    Features:

    The following features are available across the various web browsers:

    • Recording support for actions and validation on supported IE browsers
    • Hand-coding scenarios support for such things as control properties, search, and playback waiters.
    • Support for popups and dialog
    • Ability to execute basic JavaScript with no return type
    • Search resilience (via smart match) and performance improvements

    Scenario Videos: 

    Record on IE and Playback everywhere

    Author cross browser tests with Coded UI Test Builder

    Author cross browser tests using plain hand coding without UI Map

    Run cross browser tests sequentially on multiple browsers

    Troubleshoot cross browser test failures

    Known Limitations

    1. No support for Safari browser
    2. Browser launch needs to be part of the UITest. In case you have a browser already open and you want to run steps on the opened browser, playback will fail for non-IE browser windows. Hence, it is advisable to have launch too as part of the test case.
    3. Automating browser based actions such as Maximize/minimize/restore is not supported

    Troubleshooting tips

     Enable HTML Logger - follow http://msdn.microsoft.com/en-us/library/jj159363.aspx

    Feedback Survey:

    Please fill in the survey to register your feedback on this feature: https://s.zoomerang.com/s/CrossBrowserTesting. Your feedback will help us plan for further enhancement to the cross browser feature.



  • Link
    Coded UI Test Plugin for Silverlight
    Mathew Aniyan MSFT Sunday, July 8, 2012 10:32 AM

    Using the Microsoft Visual Studio UI Test plugin for Silverlight, you can create Coded UI Tests or action recordings for Silverlight applications. Action recordings let you fast forward through steps in a manual test using Microsoft Test Manager. Coded UI Tests let you record actions, generate code and play back user interface tests using Microsoft Visual Studio.

    This plugin supports Silverlight 4 & 5 applications hosted in Internet Explorer versions 8, 9 & 10. It requires Microsoft Visual Studio 2012 RC.

    A few members of the product team got together and built this plugin as an off-hours project. It is not an official Microsoft release. We will monitor the Qand A section on the Visual Studio Galley site for feedback and queries.

    For more details and to download the plugin visit VisualStudio Gallery.

    Deepak Singhal, Mathew Aniyan, Siddhartha Pandey, Tapas Sahoo, Vishnupriyan Radhamanalan.



  • Link
    Code First API Library, Scaffolding & Guidance for Coded UI Tests–Released to Codeplex
    Mathew Aniyan MSFT Saturday, March 10, 2012 3:46 AM

    The purpose of Code First API Library, Scaffolding & Guidance for Coded UI Tests is to help you write more maintainable Coded UI tests for your web apps.  When building Web UI Tests the way that's proposed here - you aren't going to be recording test scripts nor building UI Maps. Instead, you'll be writing Page Objects that are interacting with the elements on the page.

    See http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/10/code-first-api-library-scaffolding-amp-guidance-for-coded-ui-tests-released-to-codeplex.aspx

  • Link
    Content Index for Coded UI Test
    Mathew Aniyan MSFT Wednesday, March 10, 2010 6:20 AM
    You can see a list of articles related to Coded UI Test (organized into various sections) in the link below.

    http://blogs.msdn.com/mathew_aniyan/pages/content-index-for-coded-ui-test.aspx

    It is a great place to start your exploration of Coded UI Test feature.
Help us improve MSDN.
Visit our UserVoice Page to submit and vote on ideas!
Make a suggestion

Dev centers

  • Windows
  • Office
  • Visual Studio
  • Microsoft Azure
  • More...

Learning resources

  • Microsoft Virtual Academy
  • Channel 9
  • MSDN Magazine

Community

  • Forums
  • Blogs
  • Codeplex

Support

  • Self support

Programs

  • BizSpark (for startups)
  • Microsoft Imagine (for students)
United States (English)
  • Newsletter
  • Privacy & cookies
  • Terms of use
  • Trademarks
logo © 2019 Microsoft