Probably a better use of your time would be to go through the unittests (in the Watir install directory) for examples of usage.  There is not much that I have encountered that does not have a fairly decent representation in the unittests; and they are maintained a little better than the examples because they are really used to unittest Watir.  As to specific question regarding how to do something in Watir that is not in the unittests this forum is the best that I have seen--people are eager to pass alone things they have learned and post solutions and improved solutions quickly as well as offer direction for getting over or around the roadblocks!

Also, for general all-around ruby information you can't do any better than the famous Pickaxe book - Programming Ruby (2nd edition) by Dave Thomas it is well worth the money.

 

--Mark

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Carvalho
Sent: Thursday, February 02, 2006 3:36 PM
To: [email protected]
Subject: [Wtr-general] Watir Examples that need to be updated

 

I've spent the day running through examples and creating new scripts. I am now happily exploring our web apps and struggling throughdeveloping some scripts.

Regarding the Watir examples, here is some feedback on what I've observed.

The C:\Program Files\Watir\examples folder has 4 scripts that need tobe updated:

(1) articleExample.rb- assertion fails because the exact string doesn't appear on the page

(2) google_maps.rb- line 34: the text field ID has changed from "q" to "q_d"

(3) mouse_over.rb- The last 3 page navigation links fail because the URL links havechanged from "05" to "06".- 'TopicProposalScheduleW05.htm' has also changed to'ProposalPresentationsW06.htm'

(4) yahooCheckbox_test.rb- Only the first test actually works.  The rest all fail because thesepages have completely changed on the Yahoo! site.  If you want to democheckboxes, you'll have to find another site to use.

----

On a related note, I tried to work through the "Scripting 101" Labexercises, but the instructions seem to be missing a key piece ofinformation:=> How do you launch the Timeclock web application??

I read through the specs, cheat sheets, and every script I could find,but nowhere does it say how to launch the app.  I must be missingsomething.  (I've run the Timeclock server and tested it as per theInstall instructions, so I know that part works.)

I've decided to ignore these exercises, but I would be curious to knowhow to get the app working for my own piece of mind.

Paul.

_______________________________________________

Wtr-general mailing list

[email protected]

http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to