In QTP, we can execute external tests actions from a QTP test using LoadandRunAction Method. This method was introduced Post QTP 10, and is very useful to execute multiple tests from a test.Using This method we can execute reusable actions.
This will load Action1 from test in the script in which it is called.
Syntax for LoadandrunAction is:
LoadAndRunAction "C:\Documents\qtp\test", "Action1", oneIteration
This will load Action1 from test in the script in which it is called.
No comments:
Post a Comment