Hi All,
I want to attach one IE browser to another. But everytime the title of the
window will be changing dynamically. Is it possible to attach IE by using the
window handle ?
Can anyone please help ?
Thanks
Arvind
-
Posted
Sometimes one just stumbles into a solution.
ie.table(:index,1)[5][1].button(:id,'imgFinishButton').click
For some reason I had to use button instead of image, even though the html
indicated it was an image!
-
Posted via Jive F
The WinClicker is basically unsupported code. Does someone want to take
over maintenance of it?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 10/27/06, Paul Carvalho <[EMAIL PROTECTED]> wrote:
Hi there, I've been staring at a piece of code trying to get it to work for a while and I think I need a break. I have just one piece of the puzzle left to figure out and it's not really a Watir problem. Here's the problem simplified...
I'm no
I tried method 1 and method 2, with no success. I am using Watir 1.5 to support
modal dialogs. Using irb I can access certain portions of the Javascript alert
window, such as the title (I attach to the window by title) and 3 text areas
that are DIV areas. The window has 2 buttons at the bottom.
Nevermind. Problem solved. Nothing that a power nap and another hour of exploratory programming couldn't work out. ;-)I had to give my loop a 'memory'. Here's what I ended up doing:first_seen = true
array.each_index do | position | ... if array[ position ] == 'bar' and first_seen st
Hi there, I've been staring at a piece of code trying to get it to work for a while and I think I need a break. I have just one piece of the puzzle left to figure out and it's not really a Watir problem. Here's the problem simplified...
I have an array with changing contents that I'm working with
The problem seems to be in the getChildHandle method called by
clickWindowsButton_hwnd. This method has some code that should remove the
callback that it sets up. However, this code apparently never gets executed.
Also, the callback block has two lines that look like dead code in that they
foll
The version of DL that's currently in the Ruby standard library has a
hard-coded limit of 10 callbacks.
According to this post from last summer, some fixes in WinClicker
methods were contributed to Watir 1.5, to work around this problem:
http://rubyforge.org/pipermail/wtr-general/2006-July/006828
Thanks for the suggestions. I tried both but got exactly the same error.
On 27/10/06, Cain, Mark <[EMAIL PROTECTED]> wrote:
> This is a shot in the dark but did you try explicitly setting the
> WinClicker object w to nil after the popup is dismissed?
> ...
> if (hwnd)
>w = WinClicker.new
>
Well, I managed to come up with a solution before getting
any replies to this. Instead of creating full functions with the
begin/rescue included in them, I created functions of just the success actions
and the fail actions. So, instead of having a custom assert statement like
the original
This is a shot in the dark but did you try explicitly setting the
WinClicker object w to nil after the popup is dismissed?
...
if (hwnd)
w = WinClicker.new
w.makeWindowActive(hwnd)
w.clickWindowsButton_hwnd(hwnd, "OK")
w = nil
end
...
OR You could create the WinClicker object when the
Hi,
The application I'm testing uses lots of modal Javascript alerts with
'OK' and 'Cancel' buttons. I'm using WinClicker to handle them and it
works very nicely until you get to the 11th pop-up, at which point it
throws the error: "DL::DLError: too many callbacks are defined." Watir
version is 1.
Resending with missing error message added...
Hi,
The application I'm testing uses lots of modal Javascript alerts with
'OK' and 'Cancel' buttons. I'm using WinClicker to handle them and it
works very nicely until you get to the 11th pop-up, at which point it
throws the error: "DL::DLError: too m
14 matches
Mail list logo