I had a similar problem
I also had to use a workaround, basically just tab away from the
address bar first
e.g.
                $browser.send_keys("{tab}") #Added for IE7 as focus remains in 
the
address bar unless tabbed away from it

Trevor

On 9 Oct, 13:46, Prince3105 <prince3...@gmail.com> wrote:
> Hi All,
>
> I am a newbie to Watir. This issue might be discussed many times, but
> i am unable to find a solution by searching.
>
> I am using below package.
>
> Watir version - 1.6.2
> Ruby version - 1.8.6
>
> Today i updated my IE from 6 to 7. I used send_key method extensively
> in the code. But when i execute the code browser's address bar got
> automatically focused and test failed.
>
> I tried to hide the address bar in browser but i cant. Right now i did
> a workaround by using Shift+Ctrl combination, but its not a worthy
> solution.
>
> So Experts please suggest me a solution to solve this issue.
>
> Thanks,
>
> Prince3105
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to