How to call script1 into script2?

Answers were Sorted based on User's Feedback



How to call script1 into script2?..

Answer / ravi

1. Make script1 a Resuable action and save the test.
2. Call script1 in script2 using Call to Copy of Action or
Call to Existing Action

Is This Answer Correct ?    3 Yes 0 No

How to call script1 into script2?..

Answer / uday kumar_anem

We can also call an action at run time using:
RunAciton "Action#[Script Name]"

Ex: RunAction "Action1[SampleScript]"

Is This Answer Correct ?    0 Yes 0 No

How to call script1 into script2?..

Answer / rangu

1. Make script1 as External action and save the test.
2. Call script1 in script2 using Call to Copy of Action or
Call to Existing Action.
We can call the External Action in any action in any test

Note:- If we use Reusable Action, We can use this action
within the test but not other test.
Synatx:-
Run Action "Action Name[Reusable Action]",
Iteration,Parameters

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

how to run the script If QTP tool not identify object in web page

2 Answers  


suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately?

2 Answers  


w is datatable

5 Answers   CTS, IBM,


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

0 Answers   Value Labs,


What is Optional step?

4 Answers  


What are the types of Object Repositories in QTP?

1 Answers   Ordain Solutions,


what is the smart identification techniqu?what r the different mechanisums used in it?

0 Answers   Accenture,


What is qtpro? What is a quick test professional?

0 Answers  


Scripts for Ascending order in qtp.

3 Answers  


QTP is not displaying in OBJECT SELECTION-CHECKPOINT PROPERTIES boxs only WINDOW AND WIN OBJECT remaining pages and links , images not displaying in web application testing. how can I get the pages and links in object selection? Please anyone tell me?

1 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 to convert 100 into hundred repees only and viceversa

0 Answers  


Categories