[Webtest] Ajax problem [onChange/onBlur]

Marc Guillemot Marc Guillemot <mguillemot@yahoo.fr>
Tue, 22 Apr 2008 15:58:45 +0200


Hi,

if I correctly remember HtmlUnit 2.1 will bring some fixes in 
onchange/onblur/onfocus handling. Can you wait until HtmlUnit-2.1 is 
included in WebTest to retest?

Cheers,
Marc.
-- 
Blog: http://mguillem.wordpress.com

Hesteric Roman - Together SK wrote:
> Hi Marc/All
> 
> 	After changing AJAX-event from onChange to onBlur using easyAjax="true" in <config> my tests ends with error "No option element found with text "bla, bla"" ... After switching back to event onChange, everything is OK.
> 
> 
> Ajax via webtest work:
> <td align="left" nowrap>
> <input type="text" name="formparam_data2_zip" id="formparam_data2_zip" size="5" maxlength="5" value="" class="form-field" onChange="reload_mtpl_zip(this.value);"><img src="/public/images/icons/pojisteni/tooltip.gif" width="16" height="16" border="0" alt="" hspace="5" align="top" onmouseover="return overlib('csatorna','5-místne poštovní směrové číslo pojistníka' );" onmouseout="return nd();" style="border:0px;">
> </td>
> 
> Ajax via webtest not work:
> <td align="left" nowrap>
> <input type="text" name="formparam_data2_zip" id="formparam_data2_zip" size="5" maxlength="5" value="" class="form-field" onBlur="reload_mtpl_zip(this.value);"><img src="/public/images/icons/pojisteni/tooltip.gif" width="16" height="16" border="0" alt="" hspace="5" align="top" onmouseover="return overlib('csatorna','5-místne poštovní směrové číslo pojistníka' );" onmouseout="return nd();" style="border:0px;">
> </td>	
> 
> Any Ideas?
> 
> Regards,
> Dipl. Ing. Roman Hesteric
> Together - timove riesenia, s.r.o.
> Vilova 2
> 851 01 Bratislava
> SK - Slovak Republic
> tel. +421 (0)2 68204330
> email: r.hesteric@together.sk
> http://www.together.at 
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>