Hi

I am using firewatir and when I use the following code:

$b.text_field(:type, "text").set("Res").fire_event("onkeypress")

I also tried $b.text_field(:type, "text").set("Res").fire_event
('onkeypress')

I get the following error message:

NoMethodError: undefined method `fire_event' for 0:Fixnum

This causes my test to fail at this point and will not execute the
rest of the test. Also if there any fire_event for a double click
action without specifying onmousedown and onmouseup?

Thanks,

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to