This is a bug. Please go ahead and log it on our bug tracker.
Attach should wait a reasonable amount of time for a new window to appear.
It should attach to the window when it appears, or else fail after a
reasonable amount of time has passed.
(BTW, IE#wait should also fail after a reasonable
Watir 1.4.1 is a minor update to 1.4.0 that includes a brand new installer.
We think people will find this much easier to use. Thanks to Kingsley for
providing it. It is a nullsoft-based installer.
http://rubyforge.org/frs/?group_id=104&release_id=2725
Please let us know if there are problems.
More advice from Alex:
alexey verkhovsky: typing
alexey verkhovsky: require 'breakpoint'; breakpoint
alexey verkhovsky: is too long
alexey verkhovsky: therefore, I usually have something like
alexey verkhovsky: def bp require 'breakpoint'; breakpoint; end
alexey verkhovsky: somewhere in the ap
al
Feature Requests item #2274, was opened at 2005-08-20 19:41
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=490&aid=2274&group_id=104
Category: General
Group: Next Release (example)
Status: Open
Resolution: None
Priority: 3
Submitted By: Jeff Wood (programr)
Assigned t
At 04:37 PM 8/20/2005, Jonathan Kohl wrote:
To be fair, those were emailed to me by a developer. :)
Then he has even less of an excuse. heh.
_
Bret Pettichord
www.pettichord.com
___
Wtr-general mailing list
Wtr-general@rubyfor
Paul,
Did you forget to check in a change to images1.html?
This test is failing in HEAD:
Loaded suite d:/workspace/watir/unittests/images_test
Started...
1) Error:
test_image_click(TC_Images):
Watir::Exception::UnknownObjectException: Unable to locate object, using
name and disabler_test
Hi
I finally started working on Watir after lurking in the shadows for
sometime. Hopefully I'll be able to contribute increasingly more as I
understand the architecture and vision.
Anyway - to start - I checked in a shiny new installer
Hope you like it
All the best
Kingsley
__
> P.S. Since i teach classes on effective bug reporting, i
> thought i might cite the second report below as a particular
> good example of a common mistake than many people make in
> their bug reports. It is vague on specifics around the actual
> error message ("or something to that effect")
I have been told that there is a ruby library called 'breakpoint' that
provides this functionality.
Bret
At 06:18 PM 8/19/2005, Tuyet Cong-Ton-Nu wrote:
Is there a way to insert a command inside the ruby script to stop it s
execution so you can debug or set a breakpoint on a certain line of c
How about starting up autoit in another thread, then have that process
infinite loop until it finds the window?
Shao
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I suggest that you put your library methods in a Module. Thus:
# library.rb
module MyLibrary
def my_library_method(arg)
# code...
end
end
# tests.rb
require 'test/unit'
require 'library.rb'
class TC1 << Test::Unit::TestCase
include MyLibrary
def test_method
my_library_method
Here's my guess...try this:
class
attr_reader :username, :password, :url
def initialize
@username = 'username'
@password = 'password'
@url = 'http://www.fake_url.com/login_page.html'
end
def
l.login(ie, @url, @username, @password)
e
I have the same problem, but I have not found the solution
yet.
Zeljko
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tuyet
Cong-Ton-NuSent: Saturday, August 20, 2005 1:06 AMTo:
wtr-general@rubyforge.orgSubject: [Wtr-general] Sleep statements and
Attach
The code below,
13 matches
Mail list logo