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

can onyone tell me how to comapre the output of two different Data Bases in QTP?

1 Answers  


Write test cases for copy and past password in password field ?

0 Answers  


What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,


I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?

4 Answers  


How to handle the exceptions using recovery secnario manager in quicktest professional?

0 Answers  






How you used DDT in QTP?

1 Answers  


Explain advantages and disadvantages of ddf?

0 Answers  


If i entered 2 columns and 4 rows inputs in DDT Like Mango fruit, Banana Fruit, Brinjal Veget, Carrot Veget.. . My Q is How to get the 2nd column value for corresponding 1 column input in 3rd row ie, ( i need to get "veget" in messge box @ run time

5 Answers   CTS,


How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?

2 Answers   Oracle,


I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.

2 Answers  


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

0 Answers   Patni,


How to identify whether a web page exists or not without using Browser(" ").Page(" ").Exist?

1 Answers  


Categories