QTP - Call to Existing Action


Advertisements


Inserting call to Existing Action

Testers can insert 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 Existing Action"

Inserting Call to Existing Action Step 1

Step 2 − In the "Select Action" Window, give the test name, Action name, description and also specify the location of the action to be inserted.

Inserting Call to Existing Action Step 2

Step 3 − Once inserted, the following script is generated exactly at the location where the action was inserted.

RunAction "Action1", oneIteration

Step 4 − You can check the changes graphically in the test Name Tab as shown below −

Inserting Call to Existing Action Step 3
qtp_actions.htm


Advertisements
E-Books Store