Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need correct syntax for using waitproperty method

Status
Not open for further replies.

kdjonesmtb2

Technical User
Nov 19, 2012
93
US
Hello

I am looking for the correct syntax for this waitproperty statement

Browser("ABN-NHP-APP-T15 - QNXT").Window("Select a Pay-To Affiliation_2").Page("Select a Pay-To Affiliation").Frame("Frame").WebButton("Select").WaitProperty("enabled","true",60000)

Receiving this error:

Cannot use parentheses when calling a Sub
 
not sure but it might be a function. try equating it to something
Code:
something = Browser("ABN-NHP-APP-T15 - QNXT").Window("Select a Pay-To Affiliation_2").Page("Select a Pay-To Affiliation").Frame("Frame").WebButton("Select").WaitProperty("enabled","true",60000)

-Geates

 
Well, that's the expected error message if you are executing the line using cscript or wscript. Are you supposed to be running this code inside some other prgoram? Or are there object definitions etc further up in your code that you are not showing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top