Laurent Duperval wrote:
Laurent Duperval wrote:
Hi,
I have a table with two header rows, two footer rows and two body rows. If I get the table row count via getDialog(), it is correctly found as 6. However, if I try to check the content of the rows using assertTableRowsEquals, it fails.
For completeness sake, here is what the body rows look like:
<tr> <td class="displayrow"> <input type="checkbox" name="toDelete" value=1234567890 onchange="return handleFormInputChange(gFormData, this)" > </td> <td>display0</td> <td>1234567890</td> </tr>
After studying the code, I think I may have found the problem: I have several cells in my table that only contain input elements. When doing the validation, jwebunit strips the table to get a sparse table. In my case, that removes one column and at least one row from the original table.
For the time being, I'll need to patch the code to add another method that doesn't strip empty cells. I would like to know if others have been bit by this before.
Thanks,
L
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Jwebunit-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development
