Syntax for how to call one script from another and Syntax
to call one "Action" in another?



Syntax for how to call one script from another and Syntax to call one "Action" in anothe..

Answer / ramyab.mca@gmail.com

Hai....

RunAction ActionName, [IterationMode , IterationRange ,
Parameters]

Here the actions become reusable on making this call to any
Action.
IterationRange String Not always required. Indicates the
rows for which action iterations will be performed. Valid
only when the IterationMode is rngIterations. Enter the row
range (i.e. "1-7"), or enter rngAll to run iterations on
all rows.
If the action called by the RunAction statement includes an
ExitAction statement, the RunAction statement can return
the value of the ExitAction's RetVal argument.

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How do i relate the checkbox properties with webelement when checkbox properties are changing on every login to the application

1 Answers   TCS,


give me the code for check point for validating application

1 Answers  


what is use of the object repository?

4 Answers  


please write a script to find the text in a application. Note: i dont know the location of that text where it is located. just like negative testing.

2 Answers   BSL,


can u explain relative path architecture framework in qtp?

0 Answers   Mindlance,






how can we do the frame work in qtp

0 Answers   L&T,


Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.

7 Answers  


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

0 Answers  


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5

2 Answers  


how many scripts r there in QTP? pls any answer this question?

4 Answers  


What is Object Spy?

8 Answers  


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.

0 Answers  


Categories