use variable to select from dropdown

20 views
Skip to first unread message

geebee

unread,
Feb 1, 2018, 10:03:56 AM2/1/18
to Twebst
hi.  trying to use a variable assigned earlier in the vbscript to use in dropdown selection, but getting an error message.

code:
Call browser.FindElement("select", "id=ctlNM").Select(VARNM)

error:
invalid parameter list in Select method call!

when I specify the value to select via code like the following, it works fine:
Call browser.FindElement("select", "id=ctlNM").Select("BigHospital")

Please help!


Thanks



geebee

unread,
Feb 13, 2018, 2:00:16 PM2/13/18
to Twebst
nevermind. i figured it out
Reply all
Reply to author
Forward
0 new messages