Facebook

For any corporate training requirements Please mail To sudhakar@qtpsudhakar.com
Course Name Date Time Duration Type Location
Selenium Framework Development 22nd July 2019 6.30 AM IST to 8:30 AM IST 15 Days WeekDays Online

A book "Cracking the QTP interview" authored by Sudhakar.Read More. Buy From FlipKart

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