julianharty / web-accessibility-testing

Automatically exported from code.google.com/p/web-accessibility-testing
Other
1 stars 0 forks source link

JSoup throws an error when trying to select a label for the control has description when the ID is empty #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check an html document that has a control with an ID with an empty string. 
2. JSoup selector with field[id=] fails.

What is the expected output? What do you see instead?
Expected the selector to handle the empty string but it has an assertion error 
by design.

Resolution to fail when the id can not be matched as an empty id is equivalent 
to no id from the test point of view.

Original issue reported on code.google.com by damienka...@gmail.com on 4 Oct 2011 at 10:06

GoogleCodeExporter commented 8 years ago

Original comment by damienka...@gmail.com on 4 Oct 2011 at 10:08