Hi all,

 

we are facing a problem with the method fire_event_ho_wait() when is 
invoked within a modal_dialog. For example, this line of code works 
correctly

 

@ie.modal_dialog.text_field(:id,/stcv_Code/).fire_event("onchange")

 

but in my case this line of code is not appropriate, because the software 
under test generates a new modal dialog windows and the Ruby code hangs at 
such line of code. Then I have to use the *_no_wait corresponding method, 
that is

 

@ie.modal_dialog.text_field(:id,/stcv_Code/).fire_event_no_wait("onchange")

 

but in this way the event "onchange" does not fire.

 

However, in similar others situations, when the method fire_event_ho_wait() 
is invoked within the main page, there are no problems.

 

We are using IE9 and the version of Ruby/Watir are: 

   - 
   
   ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
   - 
   
   watir-classic (4.0.1)
   
 
Thanks in 

-- 
-- 
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/d/optout.

Reply via email to