Hi AUQA,
Is the problem with the click_no_wait. Is your script executing the
click_no_wait before the popup has appeared therefor no "OK" text to click.
We decided to implement a wait_until_exists method to address this issue.
This example is specificly for ajax element becoming enabled but t
First question the answer is surely not, I test it for google chrome and
firefox popup and other apps, it works fine too.
But I can't test all the popup on all the platform, so maybe it would not
work right on a special platform.
Surely, now it only works on windows OSes ,but I have not fou
Good idea. As i understand it handles only IE popups, right?
It would be even neater if it worked without using #click_no_wait -
e.g. if it would run the code in the block in a separate thread/
process/whatever so you could do something like this too:
ATT::AlertPopup.find_when { ie.goto("xxx") }.c
Try writing it like this:
browser.div(:id => "myIntLink").link(:text => "My Link").click
It may work for ya!
On Aug 5, 1:34 pm, Anne wrote:
> I forgot...
> here's the html for the link
>
>
>
> My Link
>
--
Before posting, please read http://watir.com/support. In short: search before
you a
I forgot...
here's the html for the link
My Link
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
Doesn't #click_no_wait work for you?
b2.div(:id=>'multiplewindow').click_no_wait
Jarmo Pertman
-
IT does really matter - http://www.itreallymatters.net
On Jan 14, 12:22 am, LizLeong wrote:
> I tried to follow previous posts on this type of popup problem, but I
> did not find a solution.
>
Have you attached to the popup window?
popup = Watir::IE.attach :title, /something/
What happens if you execute #close on it?
popup.close
Do you see any error messages or anything at all?
Jarmo
On Aug 31, 1:43 pm, Jeff Bender wrote:
> Hallo all,
>
> i am new at watir and have got probably a
sivam,
As Željko stated, it is best to show your code and the error(s) you're
getting
in order to get some help.
Below is an example of in it's simplest form:
# ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
# watir 1.6.2
require 'watir/ie'
require 'win32ole'
require 'watir\contrib\en
On Thu, Aug 26, 2010 at 12:45 PM, sivam wrote:
> Give me some code samples to solve this problem.
I have never worked with pop ups.
> I have tried most of
> the things. But nothing is working fine for me.
"Not working" does not tell my anything. You will have to provide your code
and error mess
Give me some code samples to solve this problem. I have tried most of
the things. But nothing is working fine for me.
--
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.
How do you invoke the method?
Wesley.
For life, the easier, the better.
On Fri, Jan 29, 2010 at 1:51 AM, naveen kumar wrote:
> Hi ,
>
> Thanks for your reply,
> when i tried pop op clicker method it throws error saying nomethod found
> error
> how can i rectify this.Please help me in this regar
Hi ,
Thanks for your reply,
when i tried pop op clicker method it throws error saying nomethod found
error
how can i rectify this.Please help me in this regard
Thanks,
Naveen
On Fri, Jan 22, 2010 at 6:32 AM, Wesley Chen wrote:
> If the methods above can't work, you can try the one below.
> # W
If the methods above can't work, you can try the one below.
# When it displays the "OKCancel" or "OK" pop up, it will click it
def popup_clicker(ie = $ie, buttonname= "OK")
require 'watir/contrib/enabled_popup'
hwnd = ie.enabled_popup(15)
if(hwnd) #yeah! a popup
I think you need to use click_no_wait on this line:
ie.button(:value, 'Click').click
Also, lots of info here: http://wiki.openqa.org/display/WTR/Pop+Ups
Hope it helps...
orde
On Jan 21, 9:28 am, Naveen devadass wrote:
> Hi All,
>
> I am using following script to handle the pop up
>
> but th
You now have at least FOUR threads going for the same issue, it's just
causing confusion. Please STOP spawning new threads for the same
issue.
On Apr 7, 8:39 pm, spike wrote:
> Hi
>
> I'm really confused working with Pop Up's i'm not able to find any
> solution for it wat ever script i'm trying
I many cases, the most important thing to understand when dealing with
popups is to know what KIND of popup you are seeing.
The tutorial for Watir covers most of the common kinds of popups, and
gives some suggestions of potential ways to deal with each of them.
Even if you've been through it onc
I was running into similar problem. I seperated the scripts - main script
and save script. I call the save script from the main script using a system
call and send the filename as an argument and it works. You can also have
it in the same file, but seperate the code and instantiate each differen
k never mind the browser.
require 'watir/contrib/enabled_popup'
that statement needs to move into your class where you are doing your
popup stuff. those global requires kill ya.
On Mar 3, 6:45 am, Vikas Tulashyam wrote:
> Hi friends,
> I am getting an error while handling the popup. I have att
what browser are you using?
On Mar 3, 6:45 am, Vikas Tulashyam wrote:
> Hi friends,
> I am getting an error while handling the popup. I have attached the
> code and following is the error message��
>
> :/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
> enabled_popup.rb:5: uninitializ
be how you used it. I tried creating a helper script,
> and I called it just before I click the button that causes the popup. Still
> nothing. Please, save me from this!!!
>
> - Shelton
>
> > Date: Thu, 19 Feb 2009 10:55:50 -0800
> > Subject: [wtr-general] Re: Popup clicknowai
glegroups.com
Sent: Friday, 20 February, 2009 2:05:34 PM
Subject: [wtr-general] Re: popup
try this:
require 'watir/ie'
require 'watir/contrib/enabled_popup'
On Mon, Feb 16, 2009 at 10:36 PM, jam wrote:
hallo,
I could't require enabled_popup (require 'watir/contrib/
try this:
require 'watir/ie'
require 'watir/contrib/enabled_popup'
On Mon, Feb 16, 2009 at 10:36 PM, jam wrote:
>
> hallo,
>
> I could't require enabled_popup (require 'watir/contrib/
> enabled_popup')
>
> I am getting an error message
> <
> d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/c
Date: Thu, 19 Feb 2009 10:55:50 -0800
> Subject: [wtr-general] Re: Popup clicknowait question
> From: billa...@gmail.com
> To: watir-general@googlegroups.com
>
>
> Is there another way you can access the button than "button(:text,
> "More")"? It might b
t;
> $ie.enabled_popup(10)
>
> if
>
> (hwnd)
>
> popup = WinClicker.new
>
> popup.makeWindowActive(hwnd)
>
> popup.clickWindowsButton(hwnd,
>
> "OK", "30") end
>
> Here is the code for the button:
>
> More
>
> Thanks.
>
&g
bled_popup(10)
if(hwnd)
popup = WinClicker.new
popup.makeWindowActive(hwnd)
popup.clickWindowsButton(hwnd, "OK", "30")
end
Here is the code for the button:
More
Thanks.
-Shelton
Subject: [wtr-general] Re: Popup clicknowait question
Date: Thu, 19 Feb 2009 0
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Jason Shelton
Sent: Thursday, February 19, 2009 8:56 AM
To: watir-general@googlegroups.com
Subject: [wtr-general] Re: Popup clicknowait question
Hello,
My problem is
.
- Shelton
Subject: [wtr-general] Re: Popup clicknowait question
Date: Wed, 18 Feb 2009 16:15:15 -0600
From: dduph...@redbrickhealth.com
To: watir-general@googlegroups.com
Do you have the following?
require 'watir/dialog'
require 'watir/winClicker'
require 'wa
Hi Shelton,
For this situation, just increase the wait time value to 10
waitTime=10
hwnd = ie.enabled_popup(waitTime)
This will resolve your issue. And make sure that, Autoit.dll is registered with
your operating system or not.
Regards
Siva.
--- On Wed, 18/2/09, Jason Shelton wrote:
F
#Click button on the popup
popup.clickWindowsButton_hwnd(hwnd, "#{OK}" )
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Jason Shelton
Sent: Wednesday, February 18, 2009 4:05 PM
To: watir-general@googlegro
All,
I have tried all of the proposed methods on the Watir OpenQa site, but for some
reason click_no_wait is not accessing the specified button. When I try it,
whatever popup scheme I am using just times out. What is wrong with my code!!!
Below is a snippet of my last attempt. Any new
Below is what I use. I don't have any issues.
#---
#Handles Po
31 matches
Mail list logo