'######### main Action calling ActionXYZ
Retunvalue=Runaction ("ActionXYZ","oneiterartion","ABC")
If (Retunvalue=0) Then
Reporter.reportevent "pass" ' pass status to report
Else
Reporter.reportevent "fail"
End If
'######################### ActionXYZ #####################
' define para--> parameter in test parameter < Edit-->Action-->Action
Properties---> parameter Tab>
valu=parameter("para")
If (valu="ABC")
ExitAction(0) ' retuns value to the called action
Else
ExitAction(1)
End if
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---