Could there be a difference in whitespace between the response and your
asserted string?

/Björn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: den 1 mars 2006 05:04
To: [email protected]
Subject: Jwebunit-development digest, Vol 1 #306 - 1 msg

Send Jwebunit-development mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/jwebunit-development
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Jwebunit-development digest..."


Today's Topics:

   1. clickLinkWithText assertion failure error (Sreedhar Kharidehal)

--__--__--

Message: 1
Date: Tue, 28 Feb 2006 17:59:41 +0530
From: "Sreedhar Kharidehal" <[EMAIL PROTECTED]>
To: [email protected]
Subject: [Jwebunit-development] clickLinkWithText assertion failure error
Reply-To: [email protected]

Hi all

When i write  something like clickLinkWithText("Admin"); i don't get
any assertion failure but when i say something like
clickLinkWithText("View new products"); then  i get
junit.framework.AssertionFailedError: Link with text [View new
products] not found in response.
.I did a dumpResponse(System.out) and i can see "View new products"
and "Admin" both in the response .Any idea why this is happening

I am using jwebunit 1.2

Thanks
--
sreedhar



--__--__--

_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development


End of Jwebunit-development Digest

<<attachment: winmail.dat>>

Reply via email to