Syntax for how to call one script from another? and Syntax
to call one "Action" in another?
Answer Posted / 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 |
Post New Answer View All Answers
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
How to create a standard checkpoint ?
Why do we use breakpoints in QTP?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
Which environments does qtp support?
Explain Descriptive Programming Types with Examples?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How to test background color and dynamic images during run time can you put the check point for moving objects?
How to customize qtp?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How to get the particular property value?
What is qtp window?