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

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


Please Help Members By Posting Answers For Below Questions

Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

2325


How will you report the bug and explain the defect tracking sheet you handled?

2558


How may types of defects identify application or your currently working application?pls give me answer..

1517


What is test object model in quicktest professional (qtp)?

551


what is profile tool?

1616






What is the parameterization?

581


How to create Reusable and Multiple Actions?

1714


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1639


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1628


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

546


How the smart identification is used in real time?Please explain with an example

1551


Is it possible to use two instances of UFT on the same machine? If not why?

605


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

623


how will you load the test cases in ddt?

1598


What test you perform mostly? Regression or retesting in your testing process?

579