[Webtest] Ajax problem [onChange/onBlur]
Hesteric Roman - Together SK
Hesteric Roman - Together SK" <r.hesteric@together.sk
Mon, 21 Apr 2008 15:16:07 +0200
Hi Marc/All
After changing AJAX-event from onChange to onBlur using =
easyAjax=3D"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=3D"left" nowrap>
<input type=3D"text" name=3D"formparam_data2_zip" =
id=3D"formparam_data2_zip" size=3D"5" maxlength=3D"5" value=3D"" =
class=3D"form-field" onChange=3D"reload_mtpl_zip(this.value);"><img =
src=3D"/public/images/icons/pojisteni/tooltip.gif" width=3D"16" =
height=3D"16" border=3D"0" alt=3D"" hspace=3D"5" align=3D"top" =
onmouseover=3D"return overlib('csatorna','5-m=EDstne po=B9tovn=ED =
sm=ECrov=E9 =E8=EDslo pojistn=EDka' );" onmouseout=3D"return nd();" =
style=3D"border:0px;">
</td>
Ajax via webtest not work:
<td align=3D"left" nowrap>
<input type=3D"text" name=3D"formparam_data2_zip" =
id=3D"formparam_data2_zip" size=3D"5" maxlength=3D"5" value=3D"" =
class=3D"form-field" onBlur=3D"reload_mtpl_zip(this.value);"><img =
src=3D"/public/images/icons/pojisteni/tooltip.gif" width=3D"16" =
height=3D"16" border=3D"0" alt=3D"" hspace=3D"5" align=3D"top" =
onmouseover=3D"return overlib('csatorna','5-m=EDstne po=B9tovn=ED =
sm=ECrov=E9 =E8=EDslo pojistn=EDka' );" onmouseout=3D"return nd();" =
style=3D"border:0px;">
</td>=09
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=20