Wednesday, August 20, 2008

How to call action into a script

We can call an action as per our needs.

If you want to call a new action, follow below navigation
Insert Menu ->Call to New Action -> Give an action name description etc...

If you wish to call a read only copy of an action, use "Call to copy of action" and follow the below navigation for it:
Insert Menu ->Call to copy of action ->Choose the test name and action name

If you wish to call a reusable action, then use "Call to existing action"
Insert Menu ->Call to existing of action ->Choose the test name and action name

If you wish to call a reusable action within your programatically during run-time use
RunAction "ActionName",NoOfIterations,Parameters

If you wish to call a reusable action in another test your programatically during run-time use
RunAction "ActionName[ScriptName]",NoOfIterations,Parameters

No comments: