Many thanks for the replies, I was hoping for a quick alternative rather 
than refactoring but that's no biggy really, one of those things that often 
ends up getting put off for another day .... best get stuck in and stop 
living in the dark ages of XP & IE8. 
Looking forward to cross browser, thats for sure. Thanks again... G

On Tuesday, 2 April 2013 10:00:53 UTC+1, gary wrote:
>
> Hi all, After a bit of a lay off and back to using watir but I appear to 
> be struggling with a few basics which don't appear to work as the used to? 
> The following script used to work fine in IE8 (and still does) but doesn't 
> seem to work in IE9 or IE10:
> it's the click event which simply fails to click with both options so any 
> hints would be greatly appreciated.
> Ta......
>  
> require 'Watir'
> include Watir
> ie=IE.new
> ie.goto("www.google.co.uk")
> ie.text_field(:id,'gbqfq').set('ruby programming')
>
> ie.button(:name, 'btnK').click
> ie.button(:name, 'btnK').fire_event('onclick')
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to