RE: [Wtr-general] Sleep statements and Attach

2005-08-20 Thread Bret Pettichord
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

[Wtr-general] New Installer for Watir 1.4.1

2005-08-20 Thread Bret Pettichord
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.

RE: [Wtr-general] Set Debugging Breakpoint in WATIR/Ruby script?

2005-08-20 Thread Bret Pettichord
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

[Wtr-general] [ wtr-Feature Requests-2274 ] Standard Tag Attributes ... should all be search criteria...

2005-08-20 Thread noreply
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

RE: [Wtr-general] installer issues

2005-08-20 Thread Bret Pettichord
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

[Wtr-general] images test fails

2005-08-20 Thread Bret Pettichord
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

[Wtr-general] Watir

2005-08-20 Thread Kingsley
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 __

RE: [Wtr-general] installer issues

2005-08-20 Thread Jonathan Kohl
> 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")

Re: [Wtr-general] Set Debugging Breakpoint in WATIR/Ruby script?

2005-08-20 Thread Bret Pettichord
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

Re: [Wtr-general] Sleep statements and Attach

2005-08-20 Thread Shao Kang Tat
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

Re: [Wtr-general] Need advice on assert, module/class setup, and Watir

2005-08-20 Thread Bret Pettichord
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

Re: [Wtr-general] Need advice on assert, module/class setup, and Watir

2005-08-20 Thread Shao Kang Tat
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

RE: [Wtr-general] Sleep statements and Attach

2005-08-20 Thread Zeljko Filipin
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,