[JWebUnit-development] [ jwebunit-Bugs-3053443 ] Problem with internal html element
Brought to you by:
henryju
|
From: SourceForge.net <no...@so...> - 2010-10-19 13:56:34
|
Bugs item #3053443, was opened at 2010-08-26 11:46 Message generated for change (Comment added) made by henryju You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3053443&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: HtmlUnit plugin Group: None >Status: Closed >Resolution: Works For Me Priority: 5 Private: No Submitted By: D S (favarava) Assigned to: Nobody/Anonymous (nobody) Summary: Problem with internal html element Initial Comment: All functions that find an element does not work if the element is internal and not first in another tag. Example: <form id="formId"> <div class="class1"> <div class="class2">other code</div> <div class="class3"> <table id="table1"></table> <table id="table2"></table> <table id="table3"></table> <table id="table4"></table> </div> </div> </form> in this code table with id="table1" is find by assertTablePresent, getElementsByXPath, getElementsById, ecc... but those methods are not find table2 and the following ---------------------------------------------------------------------- >Comment By: Julien HENRY (henryju) Date: 2010-10-19 15:56 Message: I'm not able to reproduce with current JWebUnit code (see attached project). Please provide additional informations if you still have an issue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=3053443&group_id=61302 |