Feature Requests item #1277374, was opened at 2005-09-01 00:41
Message generated for change (Comment added) made by jevonwright
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1277374&group_id=61302
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Ingolf (ingolfsander)
Assigned to: Nobody/Anonymous (nobody)
Summary: assertCommentPresent
Initial Comment:
Dear Project Team,
It would be good to have an opportunity to check,
whether a comment is given or not.
e.g.:
assertCommentPresent("My HTML Comment");
It would fail, if <!--My HTML Comment --> is not present.
Kind regards
Ingolf
----------------------------------------------------------------------
Comment By: Jevon Wright (jevonwright)
Date: 2008-11-18 15:55
Message:
This has been implemented in SVN trunk and will appear in the next release
(2.1). You can test for comments like so:
assertCommentPresent("My HTML Comment");
assertCommentNotPresent("Another HTML Comment");
Note that leading and trailing whitespace is ignored, but case is not:
assertCommentPresent("my html comment"); // will fail
----------------------------------------------------------------------
Comment By: Julien HENRY (henryju)
Date: 2006-06-03 09:46
Message:
Logged In: YES
user_id=1235926
Do you really need this for testing web apps? Should a basic
user check if a comment is present?
jWebUnit API should propose methods to reproduce what a real
user do in a real browser, and methods to check what a real
user see in his browser...
Could you explain a bit further.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1277374&group_id=61302
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development