Syntax for how to call one script from another? and Syntax
to call one "Action" in another?

Answers were Sorted based on User's Feedback



Syntax for how to call one script from another? and Syntax to call one "Action" in anoth..

Answer / aaa

suppose If you created a Script1 for Reusable functions
and say you have another Script2, Script3, etc....
First Open A new Script and click on Insert > call to
existing action (browse for your script1)and click
OK.Then, again click on Insert >Call to Copy of action
>and browse for your script2 and click OK........this way
you can call one script from another......It's a Batch mode.

Is This Answer Correct ?    1 Yes 1 No

Syntax for how to call one script from another? and Syntax to call one "Action" in anoth..

Answer / brahma reddy

If u want to call the script from one action to another then
the below syntax used
suppose u have created a test1 ,in that you have created
the all steps for action1.and you have created a
action2 .now you want to call your script from action

runaction "action1(test1)iteration1"


Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How is test case write?

0 Answers  


How to change the scripts from Per-Action object repository to shared object repository

1 Answers  


What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.

11 Answers   Polaris,


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

0 Answers   Infosys,


It is given in the help of QTP 9.2 that we cant debug the scripts. Is there any other way to VIEW, PAUSE and make modifications in the scripts during execution???

0 Answers  






What is an expert view and keyword view?

0 Answers  


Syntact for how to call one script from another? and Syntax to call one "Action" in another?

1 Answers  


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

3 Answers  


What the differences are and best practical application of each.

1 Answers  


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

0 Answers   GXS,


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

0 Answers   Livetek,


banking project description for software tester

0 Answers   Semantic Space,


Categories