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

Difference between test object and run time object?

0 Answers  


w is datatable

5 Answers   CTS, IBM,


Explain how qtp identifies objects?

0 Answers  


I recorded a Web based Application running on JAVA and when I went to play them back a week later they didn't run. I noticed that the Browser was putting in a (Underscore and a Number) for each line so i re-recorded and noticed the Underscore line wasn't the same as what i recorded last week so any script I record today will not work next week because the browser settings or how QTP recognizes it keeps changing. This is the new line Browser("Bureau of Labor Statistics_4").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" This is the old line 'Browser("Bureau of Labor Statistics_3").Page("Bureau of Labor Statistics").JavaApplet("SurveyApplet").JavaList ("Select an Area").Select "U.S. city average" Notice the Burearu of Labor Statistics_3 adn Burearu of Labor Statistics_4. Why does it change and how do I prevent it from changing.

5 Answers  


What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?

0 Answers  


hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?

1 Answers   ADP,


Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com

0 Answers   TechSoft,


How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.

2 Answers   Wipro,


How to associate shared object repository to test in qtp?

0 Answers  


What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?

14 Answers   IBM,


I have application it is one digital clock with all minutes and seconds. you have to identify the time to verify weather the time displayed is correct time or not? How do you automate this scenario?

2 Answers   TCS,


What is debugging? How you debug your script?

0 Answers  


Categories