How to Create CodedUI test in Visual Studio – Sunil S

  1. Open Visual Studio and Click on “File” > New > Project

 

Initial Page

 

2. Make sure to select “Coded UI Test Project” under Visual C# > Test and Click on “OK” button

 

Start Page

3. By default the radio check box will be selected to “Record actions, edit……”

Click on OK button

Generate Code

 

4. As soon  as you click “OK” button, you will notice Visual studio disappearing and this small window will open at the bottom right corner, Make sure to click on Record button  ( see below) and start recording your script.

 

Note: Coded UI works with IE only for recording 

Record Test


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s