How to call from one action to another action in QTP?

Showing Answers 1 - 4 of 4 Answers

bharathi9d

  • Jul 3rd, 2006
 

Using "Call to Existing Action" we can call one action from another action.

Go to Insert ->select Call to Existing Action

Select which action wants to call.

  Was this answer useful?  Yes

ShibaShankar Tripathy

  • Jul 7th, 2006
 

There is one more option. You can right click on the perticular position, where you want to call the script, and then select Actions-->Insert Call to Existing.

  Was this answer useful?  Yes

umashanker

  • Jul 19th, 2006
 

We can call an action either by using "call to existing action" and "call to copy action" also, both are are available in the Insert menu.(Right click also will give the options)

The difference between call to existing action and call to copy action is that in case of call to existing action we can't make any modifications to the code and ObjectRep of the action that is called.In case of call to copy we can modify both the code and OR.

  Was this answer useful?  Yes

kishore

  • Jul 20th, 2006
 

The syntax for calling an Action in another Action is

Call RunAction("Action2", oneIteration)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions