If you search you might find some threads on this. I think Lisa Crispin was
the OP who was asking if I recall the thread correctly I did such an
update a while ago and made notes of what I had to change at the time, and
shared those in that thread.
It really wasn't that much that had to change. Although that might be a
little different now. It really depends on how old of a version of watir
you were using.
One of the first things I changed was 'ie.' went to either 'browser.' or
just 'b." in a global search and replace although that's mostly cosmetic
and you could leave it be I suppose.
On Friday, April 5, 2013 6:06:20 AM UTC-7, gary wrote:
>
> 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.