[Wtr-general] Handling (Browser Security Driven?) Modal Dialog

Cain, Mark Mark_Cain at RL.gov
Mon Sep 11 14:47:33 EDT 2006


I am getting errors in the click_no_wait method.

 

  1) Error:

test0_Acquire_Add_Comments(TC_Acquire_New):

NoMethodError: undefined method `to_identifier' for
#<Watir::Image:0x2e4f334>

    C:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2513:in `click_no_wait'

    C:/watir_bonus/working/RAPID/tc_TaskAcquire_test.rb:62:in
`test0_Acquire_Add_Comments'

 

My usage of the click_no_wait is this:

$ie.frame(:index, 8).frame(:index,
1).image(:src,/open_comment_icon.gif/i).click_no_wait

 

--Mark

 

 

-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of David Schmidt
Sent: Monday, September 11, 2006 11:34 AM
To: wtr-general at rubyforge.org
Subject: Re: [Wtr-general] Handling (Browser Security Driven?) Modal
Dialog

 

Cain, Mark wrote:

> Will this handle modal windows and JS popups now?  Has that modal
window

> code been merged into the main branch now?

> 

> --Mark

>   

It still doesn't have all of the functions I added to the modal_dialog 

branch, like Element#visible?, but it should have most of the 

modal_dialog support working and the IE.enabled_popup call is now in so 

you can tell when *any* type of popup is being displayed.

 

In addition, click_no_wait now works on elements in a sub-frame.

 

David

_______________________________________________

Wtr-general mailing list

Wtr-general at rubyforge.org

http://rubyforge.org/mailman/listinfo/wtr-general

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060911/0427b582/attachment.html 


More information about the Wtr-general mailing list