04-14-2010, 11:20 AM
Just an extract from the QTP help file:
The following example calls the SearchFlight action, and runs all iterations of the action.
RunAction "SearchFlight", allIterations
The following example performs the same call as the previous example, but runs only one iteration of the action and saves the returned value to the AxnVal variable.
AxnVal=RunAction ("SearchFlight", oneIteration)
Let me know if it helps.
The following example calls the SearchFlight action, and runs all iterations of the action.
RunAction "SearchFlight", allIterations
The following example performs the same call as the previous example, but runs only one iteration of the action and saves the returned value to the AxnVal variable.
AxnVal=RunAction ("SearchFlight", oneIteration)
Let me know if it helps.