Visual Studio 11 Beta - What is new in Coded UI Tests?

Visual Studio 11 Beta - What is new in Coded UI Tests?

Rate This
  • Comments 40

With Visual Studio 11 Beta, now available at this download location, you will see a number of enhancements to Coded UI Tests. This blog highlights the top features and points you to the MSDN articles which describe each feature in detail.

 

IE 9 & 10 New feature support

Coded UI Tests added support for a host of new features which are new in Internet Explorer 9 & 10. The features are described in detail in the following MSDN articles.

· Support for HTML5 in Internet Explorer 9 and Internet Explorer 10

· Support for Windows Internet Explorer 10 Spell Checking

· Support for 64-bit Windows Internet Explorer with Windows 8 Consumer Preview

· Support for Pinned Sites in Windows Internet Explorer 9

· Support for Windows Internet Explorer 9 Semantic Tags

· Seamless Handling of White Space Characters between Versions of Windows Internet Explorer

· The Notification Area of Windows Internet Explorer Are Now Recorded With the “Continue on Error” Attribute Set

 

New UI Testing API

We are increasing our focus on Developers building Coded UI Test. In order to improve the hand-coding experience for Coded UI Tests, we have added a set of new APIs.

clip_image002

The following MSDN articles describe the new API.

· HtmlControls

· WinControls

· WpfControls

 

Upgrading Coded UI Tests

A silent repair is performed on Test Projects which contain Coded UI Tests when opened in Visual Studio 11. After this repair, these tests projects can seamlessly round-trip between Visual Studio 11 & Visual Studio 2010 SP1.

A full backup of the project is taken before upgrade. An upgrade report is also created in the project folder. You can look at these, if you hit any issues after the repair. The project file will be checked out, if it is under source control as part of the repair process.

There are a few gotchas in the repair process, these are documented in the following MSDN article. Upgrading Coded UI Tests

 

Coded UI Test Editor

We had released Coded UI Test Editor, which is a graphical editor for the UI Maps, in Visual Studio 2010 Feature Pack 2. This feature has now been integrated into Visual Studio 11. The following MSDN article describes the features of Coded UI Test Editor. Editing Coded UI Tests using the Coded UI Test Editor

 

Changes in Coded UI Test Workflows

Coded UI Test Project creation workflow has changed. The New Project Wizard now looks like this.

clip_image004

Unit Test Explorer is now used to run Coded UI Tests.

clip_image006

The Data Source Wizard is no longer available. Please look at the following blogs if you want to hand-code data source attributes.

http://blogs.msdn.com/b/mathew_aniyan/archive/2009/03/17/data-driving-coded-ui-tests.aspx

http://blogs.msdn.com/b/mathew_aniyan/archive/2009/04/16/more-on-data-driving-coded-ui-tests.aspx

 

Coded UI Test Builder Enhancements

You can now add a description when generating a method. This description is added as a comment in the UIMap.Designer.cs file.

clip_image008

You can now add a message to be shown when an assertion fails.

clip_image010

 

Platform Support

3rd party Control Support

Important links on 3rd party control support: 

http://www.telerik.com/products/winforms/whats-new/roadmap.aspx

http://devexpress.com/products/net/controls/winforms/coded-ui

http://www.infragistics.com/community/blogs/jason_beres/archive/2012/08/31/announcing-coded-ui-support-for-windows-forms.aspx

http://our.componentone.com/2012/02/10/componentone-and-codedui-tips-and-tricks-part-i/ 

Send Your Feedback

We hope you like the new features in Coded UI Test. Please send us your feedback on Connect or in the Forums.

Leave a Comment
  • Please add 7 and 6 and type the answer here:
  • Post
  • Looks like support for Silverlight 5 is not even planned in vs 2011?

  • That is correct. Silverlight 5 support in Coded UI test is not planned for VS 2011. But we are looking at the possiblity of adding it in the future.

  • What a giant ball of mess.

    So what happens to Firefox 3.6 support in Dev11?

    What happened to SL4 support?

    Why are you guys NOT supporting SharePoint 2010 fully, especially custom web parts?

    Still no real support by third parties for codedui tests. www.edsquared.com/.../ThirdParty+Support+For+Visual+Studio+Coded+UI+Testing.aspx

    What a giant ball of mess.

    The first rule of fight club development is you don't go breaking stuff that works. :(

    Great so now for the next 5 years I'm going to have to be running 2010 side-by-side with 2012. YUCK!!! Stop stealing 10+Gigs on my hard disk.

  • Where is the UserVoice.com link for Coded UI Testing?  I would love to help up vote SL4 and SL5 in VS10 and/or VS11.  It may also be a great way of gauging an open source version of Silverlight Coded UI Test tools.  The community may have to step up if Microsoft isn't going to support it.

  • User Voice link is visualstudio.uservoice.com

  • You create this great tool "Coded UI Testing" for Developers and Quality Assurance Engineers to greater quality to developing applications.  You’re killing us, no supporting Silverlight 5. More and more developers have moved to using Silverlight so let’s follow through with support Silverlight 4 and 5 on Coded UI Testing. I know we all really don't want to look for another solution for our automated testing needs. Coded UI needs better integration with Silverlight 5.

  • @Joe P. I hear you. We are considering Coded UI Testing support for SL5 for a future release.

  • VS 2010 support FF3.6. I want to know VS 11 RTM will support FF latest version or not, such as FF 10.

  • VS11 does not support Firefox latest version. Cross browser support is the highest priority work item on our backlog for post-VS11.

  • Still Dynamics AX is partially supported. Will it support (Full Support)Dynamics NAV in 11 or future?

  • Still Dynamics AX is partially supported. Will it support (Full Support)Dynamics NAV in 11 or future?

  • Cross-Browser support is where I feel CodedUITest is lagging right now. Really looking forward see cross-browser support in near future. Though I am not working on Silverlight applications but I feel CodedUITest should support at least Microsoft's own technologies.

  • Incredible to NOT see Chrome anywhere in the testing tools. Are you guys paying attention? Chrome testing is part of the Quality Center updates from last year (2011) and HP has been consistently updating the tools with the latest versions from Google. Face palm you MS guys don't have this.

  • I am new to the whole codedui world I came from many years of QTP and I am stunned at the total lack thought put into the UIMap concept in Visual studio. How hard is it to produce a tool to make it easy to maintain UIMaps. The handling of test objects in Visual studio is what it use to be like 10 years ago with automation tools.

    Visual Studio Test has a long way to go before its a real automation tool.

  • I'm afraid more or less I agree with Allen Feinberg, i have fallowing thoughts

    1. is all Feature pack 2 features are available in VS11 ?

    2. is there any plan to open up Firefox extension/add-on source , allowing us to help our self  

    3. Is there any API improvement as far Reporting /Test results are concern ?, this is very important for us as there is no known best approach for enhancing TestResults unless we make our self deity  

    4. is there any API for Visual verification , at the moment i am using codeplex TestAPI

    5. Lastly there should some option on uitest editor to drag 'n drop the UI control on to Code, which copy the Object hierarchic/path of the UIControl  on to the code where I place it

    or a context menu allowing to copy Object hierarchic/path of the UIControl to clipboard

Page 1 of 3 (40 items) 123