Hi Bill,
Which version of Ruby are you using.?
If you are using build 27, click_no_wait does not work. Same thing
happened to me too. I rolled it back to 26 and every thing works fine.
Try that..
Thanks
Satish
On May 21, 12:15 pm, suri sureshreddy@gmail.com wrote:
Hi all,
In my
I have met a problem.
There is a checkbox, when I click it, it pops up a dialog with OK button
on it.
How can I click the OK button on it?
Is there any set_no_wait method and then click OK?
Any suggestion would be quite appreciated.
Thanks.
Wesley Chen.
On Tue, Feb 17, 2009 at 1:51 AM, Bret
Thanks, I make few changes and get it down. :)
Now, we can use click_no_wait, select_no_wait, set_no_wait.
module Watir
class Element
#select_no_wait - selects a drop-down element spawning a new
process.
#this is needed to close potential pop-ups that select drop-down can
Bill Mosteller wrote:
Thanks. Just tried onClick, and it doesn't work either.
From the Ruby PickAxe book:
And if some thread happens to make a call to the operating system
that takes a long time to complete, all threads will hang until the
interpreter gets control back.
Exactly. Which
yeap, click! also works for me. but the reason why I want to figure out why
click_no_wait does not work is that I want to use select_no_wait function (I
am testing on a dropdown control and while you select the dropdown control,
it will pop up download file page),
select_no_wait is the function i
Thanks for the suggestion; just tried click! and it works as well as
click and click_no_wait, whichi is to say not at all. Sorry.
On Feb 12, 6:15 pm, jensen2525 jensen2...@gmail.com wrote:
I ran into a similar issue and was able to work around it by calling
click! instead of click or
Thanks. Just tried onClick, and it doesn't work either.
From the Ruby PickAxe book:
And if some thread happens to make a call to the operating system
that takes a long time to complete, all threads will hang until the
interpreter gets control back.
I think this is what I'm confronting. Gonna
I ran into a similar issue and was able to work around it by calling
click! instead of click or click_no_wait. We're not using SproutCore
so this may not be relevant to your issue.
## snip
# Click on the Export button then Save the file as an
artifact
export =
Hi Bill,
I am facing the same issue of click_no_wait().
please send your code.It will be more useful for me.
Thanks in advance,
Vinay H A
On Jan 27, 1:25 am, Bill Mosteller w...@greatdecals.com wrote:
The application situation is that the user is about to discard unsaved
work. A
Hi Vinay:
My cold is like this
###save_file function###
def save_file(filepath)
ai = WIN32OLE.new(AutoItX3.Control)
ai.WinWait(File Download, , 5)
ai.ControlFocus(File Download, , Save)
sleep 1
ai.ControlClick(File Download, , Save, left)
ai.WinWait(Save As, , 5)
10 matches
Mail list logo