How to call script1 into script2?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘object spy’ and what is the function of object spy in qtp?

760


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

2038


banking project description for software tester

7229


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

6694


Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.

1648


Explain different types of checkpoints?

780


what is keyword driven testing in qtp?n how is it useful?

1679


how will you load the test cases in ddt?

1821


write a script to verify the image path(src property) of the images which are in web pages.

1978


How to recognise the webelement and verifying that webelement is enabled?

1888


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

1976


how interviews will be on QTP?

1707


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1862


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1273


how to write xml output check point bu useing descriptive programing .means without useing output check point

1864