Can we use actions (reusable) in the specific function located in the function library...
Yes. You can just insert the RunAction or LoadAndRunAction (QTP 10 or higher) statement inside the function
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
Can you give an example to use the RunAction inside the Function Library.
Test Automation Engineer
<font class="small">Code:</font><hr /><pre>
RunAction "My Action", oneIteration
'Action or Library
If we insert calls to actions inside functions, how can then we associate different test data with each function call?
(as against filling in specific test data in the local datasheets for a Test Case if we manually load the actions in a Test)
Can you please elaborate giving example?
You need to look at the DataTable.ImportSheet method for the same
Okay. Thanks Tarun!