AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit
upgrade
Marc Guillemot
Marc Guillemot <mguillemot@yahoo.fr>
Wed, 16 Jan 2008 20:06:31 +0100
Hi Andrew,
can you provide the code of a complete html page? In Dennis case the
problem is due to malformed html code.
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
Andrew Sickorsky wrote:
> Hello, Mark!
> As for me 'forLabel' parameter doesn't work with the following code:
>
> <div class="categoryHblock">
> <div class="additional"><strong>Key
> indicators</strong></div>
> </div>
>
> <ul>
> <li>
>
> <input id="chk00" name="categoryIds" type="checkbox"
> value="/key-indicators/hub-museum/"/><input type="hidden"
> name="_categoryIds" value="on"/>
> <label for="chk00">Hub Museum
> Targets</label></li>
>
> <li>
>
> <input id="chk01" name="categoryIds" type="checkbox"
> value="/key-indicators/future/"/><input type="hidden"
> name="_categoryIds" value="on"/>
> <label for="chk01">Library indicators
> for benchmarking</label></li>
> <li>
>
> <input id="chk02" name="categoryIds" type="checkbox"
> value="/key-indicators/accreditation/"/><input type="hidden"
> name="_categoryIds" value="on"/>
> <label for="chk02">Accreditation
> Targets</label></li>
> <li>
>
> <input id="chk03" name="categoryIds" type="checkbox"
> value="/key-indicators/corporate/"/><input type="hidden"
> name="_categoryIds" value="on"/>
>
> <label for="chk03">Corporate
> Targets</label></li>
> </ul>
> </li>
>
> Regards
> Andrew
>> Andrew, Dennis,
>>
>> could you provide an example of html page on which setInputField per
>> name or label doesn't work whereas it should?
>>
>> Cheers,
>> Marc.
>>
>