QTP - Call to Copy of Action

Advertisements


Inserting Call to Copy of Action:

Testers can insert a copy of an existing action at any point of the script by performing the following steps:

Step : 1 - Right Click on the Scripting area and select "Call to Copy of Action"

Inserting Call to Copy Action Step 1

Step : 2 - In the "Insert Call to Copy of Action" Window, Select the "Test Name", "Action Name" and also select the location the action to be inserted.

Inserting Call to Copy Action Step 2

Step : 3 - Immediately script is autogenerated to show that the copy of an action is inserted.

RunAction "Copy of Calculate", oneIteration

Step : 4 - User Can check the changes graphically in the test Name Tab as shown below:

Inserting Call to Copy Action Step 3

Advertisements
Advertisements