Visual Studio UI Automation Testing (includes Coded UI tests)
Discuss using Visual Studio for automation testing - including the new CodedUI tests for Visual Studio 2010.
Duyurular
- Link
Code First API Library, Scaffolding & Guidance for Coded UI Tests–Released to Codeplex
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.
- Link
Coded UI Test Plugin for Silverlight
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
This Forum Has Been Retired
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
Content Index for Coded UI Test
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. - Link
Introducing Cross Browser Testing with Coded UI Tests
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:
- Operating System: Windows 8 X86 Client/Windows 8 X64/Win7 X64/Win7 X86/Win2k8 R2 SP1
- IE version - IE9/ classic IE10
- Firefox version - 15+
- Chrome version - 21+
- Visual Studio Ultimate - VS 2012 RTM + VS 2012 Update 1 CTP
- 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
- No support for Safari browser
- 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.
- 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.
Filtreleme ve SıralamaBu seçenekleri soru ve tartışma listesini sınırlamak için kullanın.
- 102420

Why does an assert on the properties of .Extists or Enabled ALWAYS return true
GLimbaugh 21 Eylül 2012 Cuma 17:41 - 71838

I need "Microsoft.VisualStudio.TestTools.UITest.Framework" dll (version 10.0.30319.1)
RajYogi 07 Aralık 2012 Cuma 06:18 - 111435

Problem testing validation in viewmodel using coded ui test
WPFASL 11 Aralık 2012 Salı 17:31 - 64314

"Unable to load the test container" error while running coded ui tests on the nightly build from TFS
shadhana 23 Aralık 2011 Cuma 14:34 - 21135

window.SearchProperties.Add parameter
Wayne.Wu 19 Aralık 2012 Çarşamba 05:42 - 11076

Failed to Assembly.LoadFrom a 64-bit assembly
totta wang 19 Aralık 2012 Çarşamba 07:26 - 34966

Usage of Regular expressions
Vijaya Chavvakula 24 Mart 2010 Çarşamba 15:08 - 41237

Dynamic test object
chandu.k 12 Aralık 2012 Çarşamba 18:08 - 41189

unable to find new panel name in the code
anu2011 14 Aralık 2012 Cuma 09:04 - 61107

What is the best way to compare reports?
OneHip51 11 Aralık 2012 Salı 23:16 - 31037

Html Inner Text property is rendered differently in VS 2012 than VS 2010?
OneHip51 13 Aralık 2012 Perşembe 00:54 - 54965

How do I get to the HTMLDocument from BrowserWindow
Chuck Reynolds 12 Ağustos 2010 Perşembe 17:33 - 121052

locate a HtmlInputButton within a HtmlCell
Wayne.Wu 04 Aralık 2012 Salı 06:11 - 41250

iterate html table row and cell to locate a html button
Wayne.Wu 18 Aralık 2012 Salı 01:29 - 9955

Error Message : 'Access is denied’ During Batch Execution
Saini Ankur 10 Aralık 2012 Pazartesi 11:25 - 71123

Rerun Failed Coded UI Tests In Test Suite
Saini Ankur 10 Aralık 2012 Pazartesi 12:36 - 35688

Web test vs. CodedUI
NuxMan 08 Mayıs 2010 Cumartesi 09:38 - 21161

How to convert coded ui test result file of visual stdio 2012 into Html file ?
Shailesh Anand 14 Aralık 2012 Cuma 12:58 - 44125

Not able to create Coded UI Test project in VS 2010
d.ram 20 Nisan 2011 Çarşamba 05:22 - 71193

Testing XBAP applications with coded ui
ThisGoodThing 10 Aralık 2012 Pazartesi 14:24