QTP - Call to Copy of Action
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"
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.
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: