DCSIMG
Creating A Coded UI Test From A Manual Recording In TFS 2010 - Eran Ruso
Sign in | Join | Help

Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Jan 07 2010, 07:21 AM על ידי Eran Ruso | ישנם 9 תגובות

The question that I am being asked a lot is: “In my Plan Settings I am recording the test steps of my manual tests, what can I do with the Coded UI recording that is created?”

The answer to this question is simple, you can easily create Coded UI tests and change them to suit your automation test effort based on these recordings.

How to create a Coded UI test out of an existing recording?

Step 1: Create or open a Test Project

Step 2: Add a new Coded UI Test

1_add_new_coded_ui_test

Step 3: In the window that Pops Up choose: “Use an existing action recording” radio button and click OK.

2_existing_action_recording

Step 4: Find the Test Case that contains the Coded UI Recording in the window that pops up and click OK.

3_find_Test_Case

Finally you will get a code for Coded UI based on the Recording, now all you have to do is modify the code to suit your needs.

Note: The files in the screenshot are the files that will be generated.

Result

Have Fun!!!

רשימת תגובות

# Creating A Coded UI Test From A Manual Recording In TFS 2010 …

פורסם בתאריך Saturday, January 09, 2010 2:30 PM על ידי Creating A Coded UI Test From A Manual Recording In TFS 2010 …  

Pingback from  Creating A Coded UI Test From A Manual Recording In TFS 2010 …

# Visual Studio 2010 Coded UI Test User Guide - Get A Coded UI Test Created In Manual Test Using The MTM Tool

פורסם בתאריך Tuesday, April 20, 2010 12:15 AM על ידי Eran Ruso  

This post is the Third post out of Five that builds the Visual Studio 2010 Coded UI Test User Guide

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Tuesday, August 03, 2010 3:30 AM על ידי AslanB  

What security settings are needed in TFS to access the action recording?

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Friday, August 06, 2010 4:58 PM על ידי Eran Ruso  

Hi Aslan,

The security permissions you will need are:

1) Ability to access the Team Project

2) Abillity to view and edit work items in the Area of the Team Project

Have Fun!!!

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Friday, August 20, 2010 6:36 AM על ידי Egor Alekseev  

Hi Eran,

I have some recorded Coded UI tests on local computer.

So how can I add this tests to TFS project?

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Friday, August 20, 2010 10:15 AM על ידי Egor Alekseev  

Hi Eran,

I have some Coded UI tests on local machine.

How can I add this tests to TFS?

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Tuesday, August 24, 2010 3:13 PM על ידי Eran Ruso  

Hi Egor,

In order to add the Coded UI Tests to the TFS you will need create Test Cases from them or to add them to a Test Case.

It can be done by right clicking on it from a test list.

I will publish a post on how to do it soon...

By the way you can also keep all your tests in the Source Control.

Have Fun!!!

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Friday, August 27, 2010 12:21 PM על ידי Bibhabasu Prusty  

I am trying to add an existing recording by selecting an work item id in "Work items picker".But the "OK" button is not getting enabled.A red symbol comes near the id.We have the action recording for the work item id.

# re: Creating A Coded UI Test From A Manual Recording In TFS 2010

פורסם בתאריך Friday, September 03, 2010 9:16 AM על ידי Eran Ruso  

Hi Bibhabasu Prusty,

First check that you are using a Work Item ID of a Test Case.

Second try installing the latest TFS Patch: blogs.microsoft.co.il/.../final-lab-management-release-fixes-and-new-features-all-in-one-installation.aspx

If it doesn't work please email the error to me: eran.ruso@e4d.co.il

Have Fun!!!

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: