Coded UI Tests for jqueryui

Introduction Visual Studio UI Test Scenarios and Extensibility is described in my blog here. An oft-asked question in this respect is how Visual Studio UI Test works with jquery controls. Jquery has become a very popular platform for building custom controls for the web.  In this article, I will analyze how UI widgets available at…


User Voice Site for Visual Studio ALM

Do you have a feature suggestion for Coded UI Test? Log it at http://visualstudioalm.uservoice.com. You can also vote on others’ feature suggestions. Note that User Voice is really not the best avenue for reporting bugs in the current version of the products. http://connect.microsoft.com is really the best avenue for that. It’s got a direct connection…


Enabling UI Testing for Third party WinForms custom controls – 2

In the previous article, I described how we can make the DevExpress Scheduler Control & Appointments visible to Visual Studio UI Testing Framework. In this article, I will describe how we can retrieve rich properties for both these controls. These properties can then be used for validation in Coded UI Test. In order to achieve…


Enabling UI Testing for Third party WinForms custom controls – 1

Most of the leading Third party WinForms custom control vendors implement Microsoft Active Accessibility(MSAA). Since Visual Studio UI Testing framework uses MSAA for WinForms controls, it is natural to expect that users can test these custom controls also. The custom control vendors have implemented sufficient accessibility for Narrator. There are some subtle differences in the…


Custom WPF Control’s custom properties

A number of customers have asked me about how to use the UI Test Extensibility model to get custom properties from a custom WPF control. e.g:-  I have a custom Button which does some animation when clicked. This button has 3 interesting properties – AnimationStartColor, AnimationEndColor & AnimationDuration. I need to add validations on these…


HowTo: Add all controls on a page to the UI Map

One of the most frequent asks in Coded UI Test Forums is the ability to add all controls on a page to the UI Map. This can be done with the following code snippet. Here I am adding all controls on the bing start page to the specified ui test file.   [TestMethod] public void…


Visual Studio UI Test Extensibility–Scenarios & Guiding Principles

1 Overview In this article, I will delve into the design of extensibility model for Visual Studio UI Test Framework and layout a roadmap which 3rd party UI Control vendors can use to build UI Testing support for their controls. I will also describe how end-users who have built custom controls on top of supported…


Smart Match & Slow Coded UI Tests

One of the most frequent questions regarding Coded UI Tests goes like this – “I have a test running very well on my machine. But when I run it on another machine, it becomes very slow.” When our team investigates, in most cases (not all), this is due to changes in the test environment. (primarily…