Heya,

This is fixed in CVS.  Will be in next realease.

Thanks,
Jim


----- Original Message -----
From: "Eric Nelson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 21, 2004 5:36 PM
Subject: [open_source] Error on code example on main jWebUnit page


> Hi Jim.  Just wanted to bring to your attention something that is
> worth fixing.  On the main page for jWebUnit you have two code
> examples for doing tests over Google.  There is an error in the
> examples that will cause headaches for anyone that tries to run your
> code exactly.  While a good developer should notice this, it'd be nice
> to have it out there correctly.  The snippet is:
>
> public void testSearch() {
>       beginAt("/");
>       setFormElement("q", "httpunit");
>       submit("btnG");
>       clickLinkWithText("HttpUnit");
>       assertTitleEquals("HttpUnit");
>       assertLinkPresentWithText("User's Manual");
>    }
>
> The line with "assertTitleEquals("HttpUnit")" needs to be changed to
> "assertTitleEquals("HttpUnit Home")".  I kept getting errors and
> thought it was a problem with my classpath or something more
> significant.  Could you change that (also in the HttpUnit example) for
> other's sanity?  Thanks for your help Jim.
>
> Eric Nelson
> [EMAIL PROTECTED]



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Jwebunit-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to