Facebook

Course Name Start Date Time Duration Registration Link
Python for Testers 15th July 2020 9.00 PM IST to 10:30 PM IST 10 days ClickHere
Please mail To sudhakar@qtpsudhakar.com to Register for 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