DCSIMG
VSTS 2010 Beta 2 – Coded UI Test – Tip 1 – Delete Recorded Actions - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

VSTS 2010 Beta 2 – Coded UI Test – Tip 1 – Delete Recorded Actions

VSTS 2010 Beta 2 – Coded UI Test – Tip 1 – Delete Recorded Actions

This is the first of post of many about CodedUI Test Tips, so what is CodedUI Test?

CodedUI Test – Is a new feature in Visual Studio Team System 2010 that allows you to create functional testing for your application very easily.
I’ll talk more about how the CodedUI works but for now the important detail is: IT’S NOT A SCRIPT Language, CodedUI works with .NET language that will allow you a lot more control and options when recording functional testing on your application.

Please take a look at Channel 9 – Video on How to create, edit and playback CodedUI Tests in Visual Studio 2010 Beta2.

TIP - During test recording there is a possibility some unwanted actions will be recorded, you don’t need to start all over again!

Just  pause the recording and click “Show Record Steps” (Alt + s), now you can see all the actions from the last recording, select the unwanted actions and press delete.

Take Notice – Delete actions may ruined the recording and playback(Action that essential to the playback), make sure you test it after you delete to make sure everything works.

image

Comments

Jerry Lanphear said:

If you have closed the Test Builder and wish to completely delete a previously made recording how do you do that.  I notice that it is bad to directly edit the generated class.

# April 26, 2010 7:03 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: