Facebook

Course Name Start Date Time Duration Registration Link
No Training Programs Scheduled ClickHere to Contact
Please mail To sudhakar@qtpsudhakar.com to Register for any training

Thursday, September 2, 2010

Parameter Object - Access Action Parameters in Script

'###############################################
'           Parameter Object 
'###############################################

'Purpose - To use input or output action parameters in script or to parameterize a value

'Precondition:-  To use this we must already define Input/Output Parameters in Action Properties

'Action1 Script

Browser("Google").Page("Google").WebEdit("q").Set Parameter("SearchString")

'Action2 Script

RunAction "Action1",OneIteration,"QtpSudhakar"

'Now Action2 calls "Action1" and executes it with "QtpSudhakar" in place of Parameter("SearchString")


No comments :

Post a Comment