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 i can change shared repository to per test repository in qtp
What is throw object?
What does VBS file contain...??? what is VBS file.. ???
Hi any body can tell me the in detaled information about Description.Create() thanks in advance
How to test login module with different username and password by using data driven testing in QTP?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
How to retrive data from a data table which is in 3rd row,4th column and place it in main script..like retrive name,date from data table..write script for this.
11 Answers Thatavarti Technologies,
does QTP provides any tools for parametrisation?
How to make arguments optional in a function?
What environment does qtp run in?
How we can add actions in the test using QTP?
What are metrics and matrix?