Generate Code for Coded UI Test [Beta2]

When a Coded UI Test is created, a set of files are added to the Project. Code can then be generated and added to the Coded UI Test project By using an action recording associated with a test case. When a manual tester runs a test case in Microsoft Test Runner and publishes the results…

4

Tutorial – Coded UI Test [Beta2]

Overview This tutorial guides you through the creation of a Coded UI Test in Visual Studio 2010. Steps 1. In Visual Studio 2010, click on Test menu and choose New Test 2. In the Add New Test dialog, choose Coded UI Test and click OK. NOTE:- You can choose to create a Visual C# test…

31

Visual Studio 2010 Beta2 is now available

You can download it here.   See the official announcements. http://blogs.msdn.com/somasegar/archive/2009/10/19/announcing-visual-studio-2010-and-net-fx-4-beta-2.aspx http://blogs.msdn.com/jasonz/archive/2009/10/19/announcing-vs2010-net-framework-beta-2.aspx http://blogs.msdn.com/amit_chatterjee/archive/2009/10/20/visual-studio-2010-beta-2-is-now-available.aspx   NOTE: Beta 2 is also comes with a “go-live” license, which implies that you can deploy the tools for your “live” projects in production (view the license agreements for more details). This is a really a great opportunity for you to…


Configuring Playback in Visual Studio 2010

In a previous post, Abhishek had talked about the Record and Playback Engine in VSTT 2010.  The Coded UI Test feature in Visual Studio 2010 also uses this engine to playback UI actions.  In this post, i will describe the various settings for Playback and how you can modify them to improve the resilience of…


Interesting articles on Automated Testing

Ed has published some interesting articles on automated Testing. http://blogs.msdn.com/edglas/archive/2008/08/15/so-you-want-to-automate-your-test-cases.aspx http://blogs.msdn.com/edglas/archive/2009/06/13/increasing-the-roi-of-our-automation.aspx   Have a read.

1

Coded UI Test from Microsoft Test & Lab Manager

After you have created a Coded UI Test and added it to a Team Build, you can run the test from a Microsoft Test & Lab Manager (MTLM). In this post, i will describe the steps to enable this.   Since Coded UI Tests always interact with the UI, the Test Agent has to be…

8

Coded UI Test in a Team Build

In this post, i will describe the steps required to add a Coded UI Test in a Build Definition. Pre-requisites:-  An existing Coded UI Test Project, A Connection to Team Foundation Server 0. On the Build Server, we need to run the Team Build Service Host as an interactive process, since it will Coded UI…

3

TechEd India 2009

I was at TechEd India 2009 for the past two days. There were some really interesting talks.   Amit Chatterjee did a talk on Visual Studio Team System. There is a segment in his demo for “No more regressions” where he showed Coded UI Test in action.   I also attended talks on “New features…

1

Coded UI Test on 10-4

MSDN Channel 9’s 10-4 program now has an episode on Coded UI test. Watch it at https://channel9.msdn.com/shows/10-4/ Excerpt Episode 18: Functional UI Testing In this 18th episode of 10-4 we look at a new type of test coming in Visual Studio Team System 2010 known as the coded UI test. Coded UI tests can be…

1

More on Data Driving Coded UI Tests

In the previous post, i described how we use a CSV file to data drive a Coded UI Test. The functionality is achieved by adding the following Data Source attribute to Coded UI Test. [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\data.csv", "data#csv", DataAccessMethod.Sequential), DeploymentItem("data.csv"), TestMethod] The Data Source Wizard helps you to construct this attribute and insert it into the…

3