Hi  Linden,
I tried out the example from watir -webdriver but I m still getting the 
following error message:

C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.21.2/lib/selenium/webdriver/remote/response.rb:52:in
 
`assert_ok': Modal dialog present 
(Selenium::WebDriver::Error::UnhandledAlertError)
while following line is  executed

*$browser.alert.exists?*

On Friday, April 27, 2012 12:12:46 PM UTC+5:30, AQUA wrote:
>
> Hi All,
>
> I have been working on WATIR for sometimes, but finding issues in handling 
> Java Script pop-ups.
>
> on the screen i m testing there is a on_click event. I tried AutoIt and 
> some other examples avaliable on WATIR wiki at 
> http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
>
> Most of the examples work with click_no_wait statment. But when I use 
> fire_event('onclick') the popup is generated the the execution halts till I 
> manually click the pop-up button. This doesn't happens with click_no_wait.
>
> Can any one assist me on how can I work out a solution with fire_event as 
> I also need to fire events like onblur, onhover, etc.
>
>
> Thanks and & Regards,
> Manav Gupta
> Bangalore.
>

On Friday, April 27, 2012 12:12:46 PM UTC+5:30, AQUA wrote:
>
> Hi All,
>
> I have been working on WATIR for sometimes, but finding issues in handling 
> Java Script pop-ups.
>
> on the screen i m testing there is a on_click event. I tried AutoIt and 
> some other examples avaliable on WATIR wiki at 
> http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
>
> Most of the examples work with click_no_wait statment. But when I use 
> fire_event('onclick') the popup is generated the the execution halts till I 
> manually click the pop-up button. This doesn't happens with click_no_wait.
>
> Can any one assist me on how can I work out a solution with fire_event as 
> I also need to fire events like onblur, onhover, etc.
>
>
> Thanks and & Regards,
> Manav Gupta
> Bangalore.
>

-- 
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]

Reply via email to