RE: [Wtr-general] New Installer for Watir 1.4.1

2005-08-22 Thread Zeljko Filipin
Installer works, but... I ran all_tests.rb and got this (win xp sp2, ruby 1.8.2, watir 1.4.1, ruby in c:\ruby, watir in c:\Watir): 1) Failure: test_bmp(TC_Capture) [C:/Watir/unittests/../unittests/screen_capture_test.rb:50]: false is not true. 2) Failure: test_imageHasLoaded(TC_Images)

[Wtr-general] [ wtr-Feature Requests-2276 ] Installer should create links to examples

2005-08-22 Thread noreply
Feature Requests item #2276, was opened at 2005-08-21 15:54 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=490aid=2276group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Kingsley

[Wtr-general] [ wtr-Feature Requests-2277 ] Uninstall (Nullsoft) should uninstall Watir library

2005-08-22 Thread noreply
Feature Requests item #2277, was opened at 2005-08-21 16:02 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=490aid=2277group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Kingsley

[Wtr-general] [ wtr-Bugs-2284 ] rubyw.exe broken in most ruby one click installer packages

2005-08-22 Thread noreply
Bugs item #2284, was opened at 2005-08-22 13:19 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=487aid=2284group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Kingsley Hendrickse (dragonkh) Assigned to: Kingsley Hendrickse

[Wtr-general] [ wtr-Bugs-2285 ] New installer not registering AutoIt dll

2005-08-22 Thread noreply
Bugs item #2285, was opened at 2005-08-22 13:32 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=487aid=2285group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Kingsley Hendrickse (dragonkh) Assigned to: Nobody (None) Summary:

[Wtr-general] [ wtr-Stories-2278 ] Reorganize rdoc

2005-08-22 Thread noreply
Stories item #2278, was opened at 2005-08-21 17:30 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=1999aid=2278group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Nobody (None) Summary:

[Wtr-general] [ wtr-Feature Requests-2282 ] Attach should wait for window to appear

2005-08-22 Thread noreply
Feature Requests item #2282, was opened at 2005-08-22 02:31 You can respond by visiting: http://rubyforge.org/tracker/?func=detailatid=490aid=2282group_id=104 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Bret Pettichord (bret) Assigned to: Nobody (None)

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

2005-08-22 Thread Warren Pollans
Hello, I have a similar problem/confusion. My assertions are contained in instance methods of classes defined in an external file - so I don't think the suggestion below is applicable - at least it didn't work when I tried it. The page I'm testing has 4 forms - forms 1 and 4 are nearly identical

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

2005-08-22 Thread Bret Pettichord
This is a hard problem, that i'm still looking for a good answer. I've spent time investigating it. The problem is that there are two different versions of add_assertion, the method that updates the assertion count. One of them is in Test::Unit::TestCase -- and it is what you get if you do

Re: [Wtr-general] Load Testing with Watir?

2005-08-22 Thread saud aziz
True, but i could set up scripts to run on different computers, say at most 15-20 scenarios for each machine on a total of 30 machines and get performance metrics out of web server. Do you think that is even a good start? On 8/21/05, Jonathan Kohl [EMAIL PROTECTED] wrote: You could generate

RE: [Wtr-general] Load Testing with Watir?

2005-08-22 Thread Jonathan Kohl
You can absolutely do that. You can just create more load per machine by not using a browser, which I think is why most load testing tools just use HTTP. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of saud azizSent: August 22, 2005 11:49 AMTo:

[Wtr-general] Use Index in a Table given by SpySmith

2005-08-22 Thread Tuyet Cong-Ton-Nu
I used SpySmith (great tool, thanks Bret for letting us know) to find a value (USAL6l1) in a table and it gave me this info: Innermost Element: [TD], Frame: [main/body/tabContent], Index: [137] TD NOBRUSAL6I1/NOBR/TD I want to extract USAL6l1 from this table, and I can do it in irb

Re: [Wtr-general] Use Index in a Table given by SpySmith

2005-08-22 Thread Jeff Wood
Tuyet Cong-Ton-Nu wrote: I used SpySmith (great tool, thanks Bret for letting us know) to find a value (USAL6l1) in a table and it gave me this info: Innermost Element: [TD], Frame: [main/body/tabContent], Index: [137] TD NOBRUSAL6I1/NOBR/TD I want to extract USAL6l1

Re: [Wtr-general] Load Testing with Watir?

2005-08-22 Thread Bret Pettichord
if you go this route, you may want to look at Ruby's DRB, which makes it really easy to coordiate between different machines. bret At 12:49 PM 8/22/2005, saud aziz wrote: True, but i could set up scripts to run on different computers, say at most 15-20 scenarios for each machine on a total of

Re: [Wtr-general] WAIT statement didn't wait?

2005-08-22 Thread Bret Pettichord
The fact that you have to mess with all of this is probably a bug in the wait method. Can you give us more info on what preceeds this code? In the mean time, this should do what you want: ie.frame(main).frame(sidebar).wait(analysisSidebarTabContent) sleep 3 until (begin

Re: [Wtr-general] Use Index in a Table given by SpySmith

2005-08-22 Thread Bret Pettichord
At 09:12 PM 8/22/2005, Jeff Wood wrote: But how can I do it using the Index [137] that SpySmith gave me? We don't support this. And that seems to be a really bad idea anyway. Any change to the page layout will break this. Bret _ Bret Pettichord www.pettichord.com

Re: [Wtr-general] Test suites

2005-08-22 Thread Bret Pettichord
How are you running your tests? Are you double-clicking on a script with all the requires? Instead, go to a cmd prompt and type ruby script.rb. Then you will see the summary. It's being created all along, but when you double-click, there is no where to show it. This is also a GUI test

Re: [Wtr-general] Running IE minimized or invisible?

2005-08-22 Thread Bret Pettichord
Any of these should work... testscript.rb -b ie.ie.visible = false ie.minimize At 02:48 PM 8/22/2005, saud aziz wrote: Is it possible to run your tests scripting in Ruby with Watir (of course) either with IE minimized or invisible? I would like to be able to work on other stuff while it