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 are the steps involved in recovery scenario wizard?

0 Answers  


what is meant by Implicit and explicit requirements?

0 Answers  


Which functionalities of QTP used in banking project? pls any say answer?

0 Answers  


How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)

2 Answers  


Is any limitation to xml checkpoints?

0 Answers  






how to disable the pop ups through QTP using a script

0 Answers  


Object Repositories types, which & when to use?

3 Answers   Crea,


What is Object Spy?

8 Answers  


Which statement will use for close an action in QTP?

0 Answers  


I have a 10 lines of qtp script, while executing i got an error at line 7 but i dont want to stop the execution i want to continue the execution up to last line and display the test result window, wts the syntax we use?

3 Answers   BirlaSoft, Collabera,


How we can add actions in the test using QTP?

2 Answers  


what type of frame work used in your company?

2 Answers   HCL,


Categories