Can we call QTP test from another test using scripting.Suppose there are 4 tests and i want to call these tests in a main script. Is this possible in QTP?

Showing Answers 1 - 5 of 5 Answers

Pradip Pate

  • Jul 20th, 2006
 

Yes, we can call Any numbers of Test Scripts from Main Script.

For this, whatever scripts you want to call, you need to make The Actions in those scripts are Re-Usable actions. And then you can give a call to these scripts.

  Was this answer useful?  Yes

Uday Kumar. A

  • Sep 28th, 2006
 

We can call any action in any test. For this, the called action should be Reusable action or External action.

The syntax for calling other actions in a test is:

RunAction "ActionName[TestName]"

Ex: RunAction "Action2[SampleTest]"

  Was this answer useful?  Yes

Alain

  • Nov 12th, 2006
 

This, in effect, should be:

  RunAction "Action# [TestName]", 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