Feature Requests item #1519807, was opened at 2006-07-10 10:06
Message generated for change (Comment added) made by fburlet
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: None
Status: Open
Priority: 5
Submitted By: Fred (fburlet)
Assigned to: Nobody/Anonymous (nobody)
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 09: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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to