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 export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad

1 Answers   Mind Tree,


Suppose u run ur script today and it is working fine ,nobody has changed the setting and all.u r the owner for the script. But when tomorrow I ran the same script again it got failed and It didn't able to identify one object. Can you tell me what would be the reason for this

4 Answers   L&T,


What is the advantage of associating a procedure with a test object?

1 Answers  


w is configaration management

3 Answers   TCS,


Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP?

3 Answers   CTS,






How to associate shared object repository to test in qtp?

0 Answers  


How to create frame work for qtp?

1 Answers   Bank Of America, Polaris,


when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.

4 Answers  


How Does Run time data (Parameterization) is handled in QTP?

2 Answers   Crea,


What is the script for database check point, bitmapchek point, regular expression ?

0 Answers  


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

0 Answers  


what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

4 Answers   BirlaSoft,


Categories