How we can call the scripit from another scripit in
QTP?,Not a call Action

Answer Posted / uday kumar. a

By default, if u create a Test in QTP, means u r creating
one action for that test. So if u call for another test
means u need to call the action on that test.
Here is the example : Say u have created "test1". So all
the steops for the test is created with "Action1".
Now u have created another test "test2" and want to call
the test1. Here u need to call by using,

RunAction "Action1[test1]",oneIteration.

By using this u can call the test1 script. There is no
other way than this.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

The hybrid framework can be implemented for any application. Is it true?

793


What are the disadvantages of recording test cases in qtp?

814


When you open QTP, how many sheets you can see?

852


When to use descriptive programming?

818


How to use output values in qtp ?

734


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

833


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

1971


How you can find length of array in qtp?

766


What are the features and benefits of quick test pro (qtp 8.0)?

796


Define object spy ?

758


What are the different attribute used with regular expression?

723


Which scripting language used by quicktest professional?

734


how to post xml data from QTP scripts to any application?

1748


Explain the use of action split in qtp?

779


What is output value? How many types of output values are there in qtp?

789