|
You need
to have defined the startClicker() method somewhere in your script. It is
mostly reliable. Do something
like this: require
'watir/WindowHelper' # Add
this method to your script def startClicker( button ,
waitTime = 3) login $ie.link(:text,
"Search for Protocol").click $ie.textField(:id,
"str").set("J0260") $ie.button(:name,
"search").click listTable
= $ie.table(:id, "enroll_list") # here,
there are some hidden field, maybe that's why the number of rows is 22 startClicker("OK",
3) Hope
this helps, --Mark From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of gege qian Hi
Paul I'm
new to watir and ruby. I have two questions to ask 1) i
read the post on http://rubyforge.org/pipermail/wtr-general/2005-April/001427.html.
I tried the way paul suggested, but never succeed. here
is the code require
'watir/WindowHelper' login $ie.link(:text,
"Search for Protocol").click $ie.textField(:id,
"str").set("J0260") $ie.button(:name,
"search").click listTable
= $ie.table(:id, "enroll_list") # here,
there are some hidden field, maybe that's why the number of rows is 22 startClicker("OK",
3)
The
button on the pop up window was never clicked would
you mind giving me some feedback on this 2) Thanks
a lot gege Blab-away
for as little as 1¢/min. Make PC-to-Phone
Calls using Yahoo! Messenger with Voice. |
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
