Hi Marius,

the only chance I see currently is to fix the html before it gets parsed
(this requires java knowledge).

I've an idea to allow htmlunit to cope with such a problem like Firefox
(ie shows in its DOM that <form> is closed before the opening <tr> but
still able to find the fields) but I haven't check if the parser
provides the right information for it. Furthermore I just see it as nice
to have but not really important therefore I don't know when (or even
if) I will look at it.

Marc.

Marius Oancea wrote:
> Hello,
>     I have an application that has a wrong html nested elements like
> below:
> 
> <table>
>     <form ...>
>     <tr>
>           <td> ... seme elements </td>
>     </tr>
> </table>
> 
> <table>
>     other elements (e.g. a checkbox or button)                 (****)
> </table>
> </form>
> 
> 
> I know is not a nice idea to have such things (start FORM in the first
> table  and end after the second table) but i'm only responsable to
> test the application functionality.
> 
> Is is possible to make webtest to recognize elements in zone marked
> with (****).
> All elements in zone (**) are correctly recognised but the others not.
> 
> Regards
>     Marius
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to