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
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 |
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 |
How you create new action in qtp?
Differentiate the two Object Repository Types of QTP.
how can we call an external library file in QTP apart from using the Executefile statement..?? is there any other way we can call the external library file in QTP..??
2 Answers DST Global Solutions,
UFT 12.02 which ALM version will support
Define Canvas view of UFT?
Is it possible to switch between recording modes during a test creation?
How to retrieve particular cell data in excel sheet ?without importing method.
We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.
how to create external data table?
Explain runtime dynamic settings?
describe common problems of test automation?
In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.