Sign in
Mathew Aniyan's Blog
Program Manager for Coded UI Test.
Search Form
Social Media Sharing
Blog - Link List
Table of Contents
Coded UI Test - Overview
Tutorial - How to create a Coded UI Test
Coded UI Test Creation Options
Coded UI Test Recorder
Add Assertions in Coded UI Test
Hand-coding a Coded UI Test
Distributed Coded UI Tests
Data Driving Coded UI Tests
Coded UI Test in a Team Build
Coded UI Test from Microsoft Test & Lab Manager
Content Index for Coded UI Test
More on Data Driving Coded UI Tests
Blog - Links
Subscribe via RSS
Blog Home
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
MSDN Blogs
>
Mathew Aniyan's Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mathew Aniyan's Blog
QUnit Tests for Metro Style Apps
Posted
10 months ago
by
Mathew Aniyan MSFT'
0
Comments
QUnit is a powerful, easy-to-use JavaScript unit test suite. Currently, it is not possible to directly use QUnit to test the javascript components in a Metro style apps written using Html/Javascript. I have uploaded a project template on Visual...
Mathew Aniyan's Blog
Content Index for Unit Test
Posted
over 1 year ago
by
Mathew Aniyan MSFT'
0
Comments
Video Introduction Channel 9: Unit testing your Metro style apps built using XAML MSDN Verifying Code by Using Unit Tests What’s New? Overviews Asynchronous calls in C++ Windows Store Unit Tests Publishing test results through command line test runner...
Mathew Aniyan's Blog
FAQ: Why are we using coordinate based actions in Coded UI Test?
Posted
over 1 year ago
by
Mathew Aniyan MSFT'
0
Comments
Corollary: If we use coordinate based action, will it not fail if the control moves its position? When you record actions & generate code in Coded UI Test, you get actions like Mouse.Click(uISearchButton, new Point(18, 15)); Many users...
Mathew Aniyan's Blog
Where did Win+I go?
Posted
over 1 year ago
by
Mathew Aniyan MSFT'
0
Comments
In Visual Studio 2010 Coded UI Test, we had mapped the key combination Win+I to locate controls. I described the feature in my article - Coded UI Test – Tip of the Day #1 - Win+I to locate controls . In Windows 8, Win+I key combination is used...
Mathew Aniyan's Blog
Search Configuration–Expand While Searching
Posted
over 1 year ago
by
Mathew Aniyan MSFT'
0
Comments
Coded UI Test playback behavior can be modified by several configurations. In this article, I will talk about a Search Configuration – Expand While Searching. While playing back a Coded UI Test, the UI Test framework performs two key steps. 1. Search...
Mathew Aniyan's Blog
Coded UI Test–Record one application only
Posted
over 1 year ago
by
Mathew Aniyan MSFT'
0
Comments
Generally, you will be testing a single application using Coded UI Test. By default, Coded UI Test though will record actions on all applications. Thus you may get unwanted actions on other application in your recording. You can prevent this by...
Mathew Aniyan's Blog
Coded UI Tests for jqueryui
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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...
Mathew Aniyan's Blog
User Voice Site for Visual Studio ALM
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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...
Mathew Aniyan's Blog
Enabling UI Testing for Third party WinForms custom controls - 2
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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...
Mathew Aniyan's Blog
Enabling UI Testing for Third party WinForms custom controls - 1
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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...
Mathew Aniyan's Blog
Custom WPF Control’s custom properties
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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 –...
Mathew Aniyan's Blog
HowTo: Add all controls on a page to the UI Map
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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. ...
Mathew Aniyan's Blog
Visual Studio UI Test Extensibility–Scenarios & Guiding Principles
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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 3 rd party UI Control vendors can use to build UI Testing support for their controls. I will also describe how...
Mathew Aniyan's Blog
Smart Match & Slow Coded UI Tests
Posted
over 2 years ago
by
Mathew Aniyan MSFT'
0
Comments
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...
Mathew Aniyan's Blog
Visual Studio 2010 Feature Pack 2 –Videos
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
Visual Studio 2010 Feature Pack 2 is now available to MSDN subscribers. This introduces support for testing Silverlight 4 applications. Use Microsoft Test Manager to capture and playback action recordings for Silverlight 4 applications. Create...
Mathew Aniyan's Blog
Final Release of Visual Studio Lab Management announced!
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
Visual Studio Lab Management capability will be available at the end of August 2010. See the various blogs which describe in more detail. http://blogs.msdn.com/b/amit_chatterjee/archive/2010/08/04/final-release-of-visual-studio-lab-management-announced...
Mathew Aniyan's Blog
FAQ: Some Minutiae on DrawHighlight()
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
1
Comments
UITestControl.DrawHighlight() is a very useful method (especially during debugging). It draws a blue rectangle around the UI Test Control. For WinMenuItems, if DrawHighlight() is called, it will click on the parent menu item to make the child menu...
Mathew Aniyan's Blog
FAQ: Do not add assertions on some properties of UI Test Control
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
You should not add assertions on the following properties. They will most probably fail in future test runs because they are dynamic in nature. Bounding Rectangle Window Handle Top Parent Class Name in case of winforms(sometimes)
Mathew Aniyan's Blog
FAQ: How can I run Coded UI Test as part of a Team Build
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
An MSDN article - How to: Configure and Run Scheduled Tests After Building Your Application – describes the steps required to run Coded UI Test as part of building the application. For running the Coded UI test with the Build...
Mathew Aniyan's Blog
FAQ: Currently Recording in Coded UI Test Builder
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
Whenever Coded UI Test Builder is recording actions on an application under test, a ‘Currently Recording’ caption is shown on the application’s title bar. This helps you to identify that recording is going on for that application. ...
Mathew Aniyan's Blog
FAQ: Why can’t I record actions on an application ?
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
Most probably, the application is running under different user credentials. Due to limitations in the underlying Microsoft Active Accessibility, we cannot record on applications which run under a different user credential from the user running Coded UI...
Mathew Aniyan's Blog
FAQ: Why can’t I select two identical items in a HtmlList?
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
If an HtmlList has multiple items with the same name, you cannot select both the identical items. e.g:- this.UIMap.UIHomePageWindowsInterWindow.UIHomePageDocument.UICtl00MainContentListList.SelectedItems = new string[]{"Washington","Washington"...
Mathew Aniyan's Blog
FAQ: Why I am not able to launch a Click-Once application using ApplicationUnderTest?
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
2
Comments
You cannot launch a Click-Once application using ApplicationUnderTest.Launch(). e.g:- ApplicationUnderTest.Launch(@"C:\Users\YourName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\LOB Apps\YourApplication.appref-ms"); This will...
Mathew Aniyan's Blog
FAQ: Why can’t I get the Orientation property of WinScrollBar?
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
Orientation property is not implemented for WinScrollBar since there is no reliable way of getting it using Microsoft Active Accessibility.
Mathew Aniyan's Blog
FAQ: Some minutiae on HtmlListItem
Posted
over 3 years ago
by
Mathew Aniyan MSFT'
0
Comments
HtmlListItem.HasFocus will return false always since a list item cannot be given focus manually. SetFocus on HtmlListItem will not work since a list item cannot be given focus manually. NOTE: There will be no exception thrown. Coded UI Test will continue...
Page 1 of 3 (59 items)
1
2
3