Feature Requests item #1389464, was opened at 2005-12-24 17:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1389464&group_id=119783
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
Submitted By: Ingram Chen (ingramchen)
Assigned to: Nobody/Anonymous (nobody)
Summary: WicketTester:Search Compoent by keyword instead of full path
Initial Comment:
Assertion/finding components of WicketTester requires
to use absolute path:
tester.clickClink("myPanel:myTree:createBookLink");
or
tester.assertLabel("myPanel:books:0:book:name", "Foo");
or
formTester.setValue("foo:bar:checkBox","true");
It's better that we can do searching component by
keywords, such as:
tester.clickClink("myPanel,createBookLink");
or
tester.assertLabel("0,name", "Foo");
or
formTester.setValue("checkBox","true");
This should make test more friendly, easier for
refactoring, and reduce code duplication.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1389464&group_id=119783
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop