[wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Rats
I've been looking at ways of handling pop ups and it appears the way
to go is via click_no_wait. Unfortunately this is not working for me
as when I run the click_no_wait command it just flashes the button and
does not click it hence no popup window.

I'm running:

ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
watir (1.6.5)

Any ideas? Thanks.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com

To unsubscribe, reply using "remove me" as the subject.


Re: [wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Eric Mathiesen
Might be a simplistic answer, but have you set focus to the child popup
window?

On Mon, Apr 12, 2010 at 1:56 PM, Rats  wrote:

> I've been looking at ways of handling pop ups and it appears the way
> to go is via click_no_wait. Unfortunately this is not working for me
> as when I run the click_no_wait command it just flashes the button and
> does not click it hence no popup window.
>
> I'm running:
>
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
> watir (1.6.5)
>
> Any ideas? Thanks.
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com


Re: [wtr-general] Grrr! click_no_wait does not work :-(

2010-04-12 Thread Ethan
Is the popup triggered by an onclick event, or an onmouseup or onmousedown
event? If it's the latter, watir won't trigger it; #click and #click_no_wait
don't do those events. you'll have to explicitly
fire_event_no_wait('onmousedown') or mouseup.

On Mon, Apr 12, 2010 at 16:57, Eric Mathiesen  wrote:

> Might be a simplistic answer, but have you set focus to the child popup
> window?
>
>
> On Mon, Apr 12, 2010 at 1:56 PM, Rats  wrote:
>
>> I've been looking at ways of handling pop ups and it appears the way
>> to go is via click_no_wait. Unfortunately this is not working for me
>> as when I run the click_no_wait command it just flashes the button and
>> does not click it hence no popup window.
>>
>> I'm running:
>>
>> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
>> watir (1.6.5)
>>
>> Any ideas? Thanks.
>>
>> --
>> Before posting, please read http://watir.com/support. In short: search
>> before you ask, be nice.
>>
>> You received this message because you are subscribed to
>> http://groups.google.com/group/watir-general
>> To post: watir-general@googlegroups.com
>>
>> To unsubscribe, reply using "remove me" as the subject.
>>
>
>  --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: watir-general@googlegroups.com
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com