Hi Adrian,
You are trying to fire_event on the row.
Could you provide the html or part of the html that contains the row?
The row should have the mousedown event.
The fireevent will only return after the modal dialog is clicked on.
fire_event_no_wait will return after the call.
Could you
Hi Adrian,
The above code works fine for me ... by changing
img.fire_event_no_wait(mousedown) to img.fire_event_no_wait
(onmousedown)
Maybe you could post the whole code that you are using ... so we could
take a look at what you are exactly trying to do...??
Not sure on the threads --
I
Hi Tony,
Thanks for trying to help me out.
Here is the ruby script. The app is a servlet. Onmouseover works just fine,
also fire_event(onmousedown) works, but this opens a modal dialog and the
program is stuck on the fire_event line.
require 'rubygems'
require 'watir'
class RunProg
def Run()
Sorry for the late reply, but the fire_event_no_wait method is not working:
the expected action is not performed.
Thanks
On Thu, Jul 30, 2009 at 5:26 PM, Adrian Ghidu agh...@gmail.com wrote:
I will definitely try that.
Thanks Tony
On Thu, Jul 30, 2009 at 5:03 PM, Tony ynot...@gmail.com
More details are probably required. What action is performed instead,
for instance?
On Aug 25, 12:51 am, Adrian Ghidu agh...@gmail.com wrote:
Sorry for the late reply, but the fire_event_no_wait method is not working:
the expected action is not performed.
Thanks
On Thu, Jul 30, 2009 at 5:26
No action whatsoever.
On Tue, Aug 25, 2009 at 12:13 PM, Dylan mej...@gmail.com wrote:
More details are probably required. What action is performed instead,
for instance?
On Aug 25, 12:51 am, Adrian Ghidu agh...@gmail.com wrote:
Sorry for the late reply, but the fire_event_no_wait method
Hi Adrian,
Please note - make sure you have edited the element.rb to include
fire_event_no_wait code.
Using the above fire_event_no_wait iam able to do a fire event on a
mousedown.
Here's an example of the mousedown and mouseover event (should work
with any events)-
require 'watir'
iewin =
There are so many definitions around modal dialogs, did you call
click_no_wait before your method. There are a variety of ways to deal with
dialog boxes, all have been posted, so search for it if that doesn't work.
Post your solution if it does work.
Charley Baker
blog:
click_no_wait doesn't work, only onmousedown opens the modal dialog. Is
there a no_wait for fire_event?
Thanks
On Wed, Jul 29, 2009 at 11:32 PM, Charley Baker charley.ba...@gmail.comwrote:
There are so many definitions around modal dialogs, did you call
click_no_wait before your method. There