LoadAndRunAction is the new feature in QTP that indroduced in the version 10.0. This method is used to load the action dynamically during run time.
Here is the way to Load actions during run time. LoadAndRunAction method is used to load only the required action during run time. This will help you to save more time when you have more number of actions and you want to execute only few out of it.
How to Use:
Syntax: LoadAndRunAction "Test Name with path", "Action Name"
Ex: LoadAndRunAction "C:\Automation Scripts\Test1","Action1"
LoadAndRunAction load any reusable external action from another test during run time.

No comments:
Post a Comment