Sunday, 21 April 2013

Change the Sequence of Action Execution in QTP

Suppose, We have Test called  "Sample.mts" and it contains 3 Actions.
Say Action 1 , Action 2 and Action 3.

When we run this test, actions are executed in Sequence:

Action 1
Action 2
Action 3

This is Default Setting

What if we want to change the Execution Order? Means, Say Action 3 will get executed first then Action 2
and Action 1 at last.

This can be easily achieved by making change in "Script" file present on ACTION 0 folder.

Open this file with notepad and make below changes shown in Notepad image.
Restart QTP and Execute same test again.

Now,  Execution of Actions will be in order
Action3
Action 2
Action 1

No comments:

Post a Comment

Spring Boot : Exception Handler 14