Question: Is there any way we use Reusable Actions in a specific function located in the function library?
Answer: Yes it is possible. You can insert the RunAction or LoadAndRunAction (QTP 10 or higher versions) statement inside your function.
The following code will illustrate the concept:
###############################################################
'Library
Function Test()
RunAction "My Action", oneIteration
End Function
'Action or Library
Call Test
Saturday, December 25, 2010
QTP Tip | Include Action In a Function
at 10:49 AM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment