Benjamin Hemken wrote:
> And then we remove them from the suite
> tests.each { |t| WebTestCase.class_eval "remove_method
> '#{t.test_method_name}'" }
>
>
Why do you do this? I suggest you remove this and see if your problems stop.
Bret
___
Wtr-genera
This warnings are benign. You can ignore them. They are not stopping
your script.
Use the IE Dom Explorer to examine the structure of the tables. It is
better than show_tables.
Bret
VIKASH KUMAR wrote:
>
> *I am using the code :*
>
>
>
> require 'watir'
> require 'open-uri'
> url = "http://f
arvind wrote:
> I want to get the number of IE browsers open. I s it possible to get the
> number of browsers opened in watir?
>
Below is the Watir 1.5 code use in IE.attach and IE.find. It iterates
through all the IE windows to find a match. You could modify this simply
count open windows.
Why don't you go ahead and update trunk?
Bret
Paul Rogers wrote:
> that module is kind of fragile. There is some better code I posted about a
> month ago.
>
> Paul
>
> - Original Message -
> From: "Cain, Mark" <[EMAIL PROTECTED]>
> Date: Monday, October 23, 2006 8:24 am
> Subject: Re: [W
John Lolis wrote:
> Just thought I would share this. I found this interesting program called
> "breakpoint"
>
> http://ruby-breakpoint.rubyforge.org/
>
> this allows you to add "breakpoint()" anywhere in your program and the IRB
> pops up. You can then poke around and debug issues. This has been
Just thought I would share this. I found this interesting program called
"breakpoint"
http://ruby-breakpoint.rubyforge.org/
this allows you to add "breakpoint()" anywhere in your program and the IRB pops
up. You can then poke around and debug issues. This has been a HUGE help to me.
It allows
My guess is that you're using Ruby 1.8.4 or 1.8.5 and the customized
version of win32ole.so which defines the connect_unknown method is not
being loaded. There is a defect report on this issue:
http://jira.openqa.org/browse/WTR-86 Take a look at the comments for
suggestions how you might workarou
[EMAIL PROTECTED] wrote:
> I am getting the following error when trying to attach to a modal
> window (modal = ie.modal_dialog):
>
> NoMethodError: undefined method `connect_unknown' for
> WIN32OLE:Class
>
> Any ideas?
Watir 1.5 comes bundled with a modified version of WIN32OLE. This err
Thanks Charley,
That has solved my problem.
George
-
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=4987&messageID=13968#13968
___
Wtr-general mailing list
Wtr-gen
I updated winClicker, removing returns from the enum procs for
getChildHandle and getWindowHandle, returning to the changes that had
been made in build 1070. Let me know if this is working any better for
you. This is the downside of not having unit tests and as Bret said
why this is basically unsup
I like your simplification, thanks.What I was originally trying to do was use a CASE structure, but I couldn't figure out how to use multiple comparisons. That is, I tried something like this:case array[ position ]
when 'foo' then start_col = 1 when 'green eggs' then start_col = 10 when
I am using the code :
require 'watir'require 'open-uri'url = ""http://finance.yahoo.com">http://finance.yahoo.com"ie = Watir::IE.start(url)ie.text_field(:name,'s').flashie.text_field(:name,'s').set("IBM")ie.button(:id,'q').flashie.button(:id,'q').clicksleep 2ie.show_tables
All works well except i
ie1 = Watir::IE.newie2 = Watir::IE.new...If that is not what you need, take a look at the FAQ, there is headline "Multiple concurrent Internet Explorer windows that are not based on the same '
iexplore.exe' process" (http://wiki.openqa.org/display/WTR/FAQ#FAQ-concurrentie).Zeljko-- http://zeljkofil
Thanks Egil.
Yes, that is what is happening. DL.remove_callback in getChildHandle is not
being executed. The preceding line - r = enum_childWindows.call(hWnd,
enum_childWindows_proc ,0) - is reached on each iteration but I can't figure
out what happens then.
George
-
This email is to be read subject to the disclaimer below.
Hi,
I am getting the following error when
trying to attach to a modal window (modal = ie.modal_dialog):
NoMethodError:
undefined method `connect_unknown' for WIN32OLE:Class
Any ideas?
Thanks
Leon Ouretski
---
15 matches
Mail list logo