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

what is diffrense between action and function

4 Answers   IBM,


What is the main disadvantage of using low level and Analog modes?

2 Answers  


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


What is the synchronization point in qtp?

0 Answers  


What is qtpro? What is a quick test professional?

0 Answers  






What environment does qtp run in?

0 Answers  


In QTP if u got a defect , how to report to developer using Test director or Quality center .

5 Answers   Wipro,


What are the file extensions for per-action, shared object repository files and what is the extension for library files?

4 Answers  


What are the main differences of qtp and win runner?

0 Answers  


What are test settings and global settings?

0 Answers  


Can we test GUI of the application using QTP.? How.?If possible briefly explain process.?

1 Answers   Wipro,


How to create Reusable and Multiple Actions?

0 Answers  


Categories