I tried $ie.text_field(:name, "NAME").o.value = '60000'
But I got the following exception:
undefined method `o' for #<Watir::TextField:0x31c9930> (NoMethodError)
>Exit code: 1


Bret Pettichord <[EMAIL PROTECTED]> wrote:
At 12:17 AM 10/26/2005, Amitha Shetty wrote:
>$ie.text_field(:name,"NAME").set('60000') also gives alert window but does
>not throw any exception.On clicking 'Ok' on alert window, 6(first digit)
>will be entered onto the text box followed by an alert window again for
>the next digit.
>This continues for all the digits of the number given as a string.

Try $ie.text_field(:name, "NAME").o.value = '60000'


_____________________
Bret Pettichord
www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general


Enjoy this Diwali with Y! India Click here
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to