Hey, I just now installed "1.8.6-26 Final Release". "click_no_wait"
worked like charm with this version.
"click_no_wait" does not work with "1.8.6-27"
I wasted one week on this issue. :))
Thanks
Satish.
On May 19, 9:53 am, satish wrote:
> I was able to click as long as I do not use "click" m
I was able to click as long as I do not use "click" method to open
popup. (I manually clicked on icon to open popup after that my popup
funciton took care of clicking on "Yes" button.
My problem is since we can only use click_no_wait button to work with
popup clicking methods and click_no_wait doe
Hi,
the method we use is a combination of Ruby and Autoit where we write
the contents of the popup to stdout.
Ruby script:
# Creates a process that, after a given timeout,
# kills an internet explorer message window and returns the result.
#
# The success of this class is dependent on the prese
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines:
http://wiki.openqa.org/
Hi George,
I tried this but did not work.
I did use 'click' method on image and I got popup as needed. Once I
have popup I am trying to click on "Yes" button. But there is no
responce.
I have tried another schenario where I have to use 'click_no_wait',
problem here is popup does not appear.
Can
Hi all,
I was able to have some success using the following code:
# popup_closer.rb
require 'win32ole'
begin
autoit = WIN32OLE.new('AutoItX3.Control')
loop do
autoit.ControlClick("Windows Internet Explorer",'', 'OK')
autoit.ControlClick("Security Information",'', '&Yes')
autoit.C
Hi Sathish,
Please increase the waitTime value from 3 to 15 or 30. With out using
click_no_wait script will not move further. So click_no_wait is
mandatery.
Click_no_wait will take more time to click on a button than ordinary
click method. So increasing the waitTime value will give you desired
r
Here is my code modified with Thread, I am not getting any error
message when I use click_no_wait. But I did not see the popup message
either to click.
When I use click method I see the popup message but it did not click
on "%Yes" ("Yes" is the text shown on button but when I see HTML for
that I s
yup, its not working for me.
Even Shiva code is not working.
I got "Error Boss" message. Its directly througing error message.
How to work with treads? I never did this before.
Thanks
Satish.
On May 17, 2:15 pm, kiran wrote:
> Hi,
> I think here click_no_wait method doesn't work here.
> you ha
Hi,
I think here click_no_wait method doesn't work here.
you have to handle this by using threads.
thanks,
kiran.
On May 17, 8:05 am, sHiVa wrote:
> Hi Sathish,
> Use this code to click on a popup
>
> require 'test/unit'
> require 'watir/ie'
> require 'win32ole'
> require 'watir/screen_capture'
Hi Sathish,
Use this code to click on a popup
require 'test/unit'
require 'watir/ie'
require 'win32ole'
require 'watir/screen_capture'
require 'watir\contrib\enabled_popup'
#Code START for handling a
popup
def jsClick( ie, but
click_no_wait does not seems to work. any other thoughts?
Thanks
Satish
On May 15, 1:12 pm, orde wrote:
> As Suri suggested, you might want to try click_no_wait instead of
> click when you access the link that spawns the popup.
>
> Also, checkhttp://wiki.openqa.org/display/WTR/Pop+Ups.
>
> Hope
As Suri suggested, you might want to try click_no_wait instead of
click when you access the link that spawns the popup.
Also, check http://wiki.openqa.org/display/WTR/Pop+Ups.
Hope that helps...
orde
On May 15, 6:00 am, satish wrote:
> Hi Lisa,
>
> Still I am getting following error..here is
Hi Lisa,
Still I am getting following error..here is my code and error.
What I noticed was after I got the popup its staying there just like
that, no action is happening. If I respond to that popup by clicking
"OK" button popup will close then this error messages are coming.
=
There are now a number of threads regarding pop ups including those
referring to javascript alerts.
I have successfully scripted checks for the 'OK' button on an alert
but am now struggling with an alert that has different options and
would gratefully receive any advice out there.
On May 15, 8:36
Better to use click_no_wait instead only click
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read th
There was a recent thread on this so you may want to search the email
archive.
This is what we do, but I don't know if it is the best way.
require 'watir\ie'
require 'watir\contrib\enabled_popup'
# Main method to click a modal dialog button.
def click_modal_button(ie, type='OK', sleep_ti
17 matches
Mail list logo