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

Answers were Sorted based on User's Feedback



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

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

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

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

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

Answer / mohan

Use method RunAction

Is This Answer Correct ?    2 Yes 1 No

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

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

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

Answer / srik

You can run multiple scripts from a vbs file though.

Is This Answer Correct ?    0 Yes 0 No

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

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

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

Answer / s

Krishna,Ur answer is confusing.. Pls b clear when u post
the answers

Is This Answer Correct ?    0 Yes 1 No

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

Answer / micky

Pavithra is absolutely correct.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / satya

Pavithra , is correct.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / nanda

I agree with Pavitra..

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

0 Answers  


i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute

2 Answers   IBM,


how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?

3 Answers   Zensar,


how we do database testing with qtp using descriptive programming?

22 Answers   Nutrins, Rohit Technologies, Symphony, Syntel, TCS,


Hi, one script having 10 Actions,but i want to execute only 3rd action and 7th action? how to execute selected actions? throgh script and through navigation?

2 Answers   IBM,






suppose the given string str = {"vamsikrishna%%&%*&**"} count the no of vowels and special characters are repeated

2 Answers  


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

0 Answers  


How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.

2 Answers  


What is driver script and driver script in qtp frame work????

6 Answers   IBM,


What is Optional step?

4 Answers  


How we will execute(run) the scripts in qtp 8.2?

1 Answers  


Does QTP provides any tools for parametarization?

3 Answers   BirlaSoft,


Categories