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

What are the different types of recovery operation?

0 Answers  


Can any body please tell me the steps of keyword driven framework of QTP.

0 Answers   TCS,


How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,


How to execute a winrunner script in quicktest professional?

0 Answers  


How to access values from Unix OS and how to write..

1 Answers  






How to capture data from images in QTP and produce them in Excel sheet ? please ans...

3 Answers   Sapient,


What is the another extension name of library file. If that is exist than what's the difference between them.

2 Answers   Synechron,


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

0 Answers  


Have you worked with QC?

1 Answers   Satyam,


What is action?

0 Answers  


Can u tell me example for virtual objects?

2 Answers   Value Labs,


What is different command used in command Prompt while using QTP?

0 Answers  


Categories