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



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

Answer / vandana sharma

RunAction ActionName, [IterationMode , IterationRange , Parameters]

Here the actions becomes 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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Write script to fetch the data from global sheet where row number is 3 and parameter is "text"

3 Answers   Accenture, Thomson Reuters,


1. Which function is used to check whether the specified object property achieves the specified value within the specified timeout below anyone is correct 1. Check Property 2. getToproperty 3. output Pls anybody can give the answer.. Thanks in advance...

1 Answers   Navis,


What is the difference between Recover Scenario(screen) and on Error Resume Next(code)

4 Answers  


How you handles Pop-up windows which are Dynamically changing in Runtime?

2 Answers  


Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP

1 Answers   HP,


How many add-ins comes by default with quicktest professional (qtp)?

0 Answers  


Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???

1 Answers  


How the exception handling can be done using quicktest professional (qtp)?

0 Answers  


How to Analyze the Checpoint results by Standard Checpoint?

1 Answers  


hi what is the use of "dim" in automation objective model or any where what is the use of "dim" plz tell me

3 Answers  


Explain types of exception handling and script for that?

2 Answers  


What is .Ini file in QTP?

3 Answers  


Categories