Feature Requests item #1519807, was opened at 2006-07-10 20:06
Message generated for change (Settings changed) made by jevonwright
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1519807&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: Core API
>Group: Release 2.1
Status: Open
>Priority: 7
Private: No
Submitted By: Fred (fburlet)
>Assigned to: Jevon Wright (jevonwright)
Summary: Add assertLabeled* methods

Initial Comment:

When I was writing tests I noticed that it could be
usefull to add the following methods to complete the
set of basic ones:

assertLabeledTextFieldPresent(String textFieldId,
String textFieldName, String 
labelContent)
assertLabeledCheckBoxPresent(String checkBoxId, String
checkBoxName, String 
labelContent)
assertLabeledSelectBoxPresent(String selectId, String
selectName, String 
labelContent)
assertLabeledTextAreaPresent(String textAreaId, String
textAreaName, String 
labelContent)
assertLabeledRadioButtonPresent(String radioId, String
radioGroup, String 
radioOption, String labelContent)
assertHiddenFieldPresent(String hiddenName)

These will validate that we have a label with a for
attribute which refers to a text field with the given id.


----------------------------------------------------------------------

Comment By: Fred (fburlet)
Date: 2006-07-12 19:24

Message:
Logged In: YES 
user_id=1552814

Maybe it will be better to include the formNameOrId as
argument for each of the proposed methods.
This will validate that a given form contains a given element.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1519807&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

Reply via email to