[Wtr-general] Unit testing

2006-01-13 Thread Hugh Sasse
I have had a problem with tests not completing on Windows XP professional with the ruby182-15.exe windows installer, and Watir-1.4.1.exe. I have attempted a fix, shown in the diff below, using timeout, but for reasons I don't understand, it doesn't time out. In exploring this I found a typo in

Re: [Wtr-general] Unit testing

2006-01-13 Thread Hugh Sasse
Excuse me following up to myself. Having read further down the instructions, I've permitted active content and now get: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\hgscd \Program Files\Watir\unittests C:\Program

Re: [Wtr-general] Unit testing

2006-01-13 Thread Hugh Sasse
On Fri, 13 Jan 2006, Bret Pettichord wrote: On 1/13/06, Hugh Sasse [EMAIL PROTECTED] wrote: Also, I encountered problems at first because of the active content warnings in IE. I have left the warning popup to display every I see you've since read our instructions that indicate

Re: [Wtr-general] Assertions help

2006-02-07 Thread Hugh Sasse
On Tue, 7 Feb 2006, Thomas Healy wrote: Paul, It seems that you need a fail case for when it fails, I have run into the same thing yesterday... when I used the rescue = e it seems to work... in my case... the script that works for me is... begin assert($ie.contains_text(User

Re: [Wtr-general] Assertions help

2006-02-07 Thread Hugh Sasse
On Tue, 7 Feb 2006, Thomas Healy wrote: Hugh, I will stick to mine... I am a nubie and I understood very little of what you just wrote... I am sure as I go along and get more skilled... It will start to make sense... But for the new guy (me)... Readability understandability is

Re: [Wtr-general] Assertions help

2006-02-08 Thread Hugh Sasse
On Tue, 7 Feb 2006, Thomas Healy wrote: Hugh, I am a nubie and I understand what you are saying that less is more... However, Readability of code is important for me... Especially when explaining the code to others in the office and having others in the office follow the code six months

Re: [Wtr-general] Declarative Watir scripts?

2006-02-09 Thread Hugh Sasse
On Thu, 9 Feb 2006, Bill Agee wrote: On the other hand, not using the XML config files will probably make for a steeper learning curve. The tradeoffs are interesting. Why is this, do you think? OK, XML syntax is pretty standard, but the semantics will have to be learned. At least with Ruby

Re: [Wtr-general] How do you skip a disabled checkbox?

2006-03-03 Thread Hugh Sasse
On Fri, 3 Mar 2006, Paul Carvalho wrote: [...] ie.frame('MainWindow').checkboxes.each { |x| x.set } The only problem is [...]a checkbox *may* be disabled [...]. In that case, [...] it spits out an 'ObjectDisabledException' [...] there a quick and easy way that I can get this loop

Re: [Wtr-general] Bad Bug Reports

2006-03-17 Thread Hugh Sasse
On Fri, 17 Mar 2006, Zeljko Filipin wrote: I think we should put something like this at some visited place: People who don't bother to provide full information are probably too busy to read such a document. However: We would like to help you, but we are very busy. We answer e-mails inour

Re: [Wtr-general] Bad Bug Reports

2006-03-17 Thread Hugh Sasse
On Fri, 17 Mar 2006, Zeljko Filipin wrote: http://www.fogcreek.com/FogBugz/docs/40/Articles/TheBasicsofBugTracking.html Thanks. That is a good article. I've just created an account for the FAQ. Lots of the entries have {anchor:...} markup (in the edit view). How does one reference these?

Re: [Wtr-general] Bad Bug Reports

2006-03-17 Thread Hugh Sasse
On Fri, 17 Mar 2006, Zeljko Filipin wrote: the new one http://jira.openqa.org/browse/WTR the old one http://rubyforge.org/tracker/?group_id=104 I've added these to my new Watir page, in the hope that this will nudge google et al to look in the right place. Patches, corrections etc