[Webtest] additional debugging for clickButton

Gary Fay webtest@lists.canoo.com
Thu, 30 Jun 2005 11:26:09 -0700 (PDT)


--0-37933367-1120155969=:9200
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

This is not really a defect but might be a helpful "also" on the debugging page for clickButton.
 
Internet Explorer with its I don't care about rules, I will make your page work anyway has a great feature ...
 
<input type="button" onclick="doMyJavascript"> works great, even outside a Form. However it took a while for me to realize that webtest could not find such a button unless it is within <form...>...</form>
 
The nesting comment was helpful but it looked like an issue for other tags such as
<form><h1><input button></form</h1>
 
(This would be less of an issue if IE would be tighter on validation ... :)  )
 
Gary



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-37933367-1120155969=:9200
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>This is not really a defect but might be a helpful "also"&nbsp;on the debugging page for clickButton.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Internet Explorer with its I don't care about rules, I will make your page work anyway has a great feature ...</DIV>
<DIV>&nbsp;</DIV>
<DIV>&lt;input type="button" onclick="doMyJavascript"&gt; works great, even outside a Form. However it took a while for me to realize that webtest could not find such a button unless it is within &lt;form...&gt;...&lt;/form&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>The nesting comment was helpful but it looked like an issue for other tags such as</DIV>
<DIV>&lt;form&gt;&lt;h1&gt;&lt;input button&gt;&lt;/form&lt;/h1&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>(This would be less of an issue if IE would be tighter on validation ... :)&nbsp; )</DIV>
<DIV>&nbsp;</DIV>
<DIV>Gary<BR><BR></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-37933367-1120155969=:9200--