How we can call the scripit from another scripit in
QTP?,Not a call Action
Answers were Sorted based on User's Feedback
Answer / pavithra
Make a function for the script. use the execute file ()
METHOD, CALL THE FUNCTION IN UR SCRIPT
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / 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 |
Answer / jdev
I am executing the below statement from a new test, say test2.
RunAction "Action1[test1]",oneIteration
This was failing. Is it required to mention the complete
path [absolute path]? Suppose if I have 2 tests with the
same name located in two different locations. Ho does
RunAction identify whicj test to pick.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srik
You can run multiple scripts from a vbs file though.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / krishna teja muppalla
I support Uday Kumar.
What we have to do is in insert call to action options we
have to select call to existing action. fro example if we
want to call 1st action from 2nd action, we have to give
from test as 1. here we need to give relative path.
as we are calling 1st from 2nd, first of all 1st test should
be executed. so, at 1st line we have to insert from current
option.
remaining part is easy
any corrections please...
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / s
Krishna,Ur answer is confusing.. Pls b clear when u post
the answers
| Is This Answer Correct ? | 0 Yes | 1 No |
Hi! Using Descriptive Programming How do we get Parent object for an object. Say, i want to get a parent object for a "Link" in a web page. thanks
What is iteration? How it is related to Test Results in QTP?
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework?
We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?
5 Answers Accenture, Banca Sella, Polaris,
How does qtp recognize objects in aut?
Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
How to test results for qtp ?
How many ways return more then one value from function?
what testing activities u may want to automate in a project?
What exactly is the difference among all the three recording modes.
hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji