Sponsored Ad

Friday, May 7, 2010

How to check recorded actions for a test project in VS 2010

This post will help you to check the recorded action during running a test project. Recorded actions are the actions taken at the time of running a project.

I am assuming that you created a windows project and test project.

So lets start with Adding coded UI test.

Step 1: Go to your test project, in my case it is “MyTestProject” , Right click on MyTestProject project and add -> Coded UI Test , The Code UI test file will be added.

Add Coded UI Test

Step 2: Generate code for coded UI test screen will display, here you can select if you want to use existing recorded project or want to create new record project.

Select Recorded Action

Step 3: Record screen is available to record the test. Click on start recording, orange button (Please note that you have to start recording before you start performing any test actions).

Coded UI tool

Step 4: Run the project Start the project by Debug -> Start without debugging

Run Testing Project

Step 5: Ruining project is in front of you, now start filling data and performing actions . Enter values in both the text box and click on “Click” button.

Running project

Step 8: Now stop the recording by clicking the same recording button . Now you can check your recorded actions by Click highlighted button to check recorded actions.

Recorded Action button

Recorded Action List

My actions are:

  1. enter value 22
  2. enter value 2
  3. click on button click
  4. and some other actions I performed.

0 comments:

Post a Comment

Related Software Testing Articles



Website List