[Webtest] Javascript buttons

Lisa Crispin webtest@lists.canoo.com
Wed, 17 Nov 2004 20:24:02 +0000


--NextPart_Webmail_9m3u9jl4l_19918_1100723042_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

OK, good to know it ought to work, my coworker will prepare a minimal sample (and maybe in doing so, we will debug it ourselves!)
thanks,
Lisa


-------------- Original message from Marc Guillemot <mguillemot@yahoo.fr>: -------------- 


> Lisa, 
> 
> current version support javascript buttons and some tests are contained in the 
> selftests. Can you provide a minimal 
> (always the same thing) sample of the problem? 
> 
> Marc. 
> 
> Lisa Crispin wrote: 
> > Using build 560, clickbutton can't find the button if it is a Javascript 
> > button (this didn't work with the HTTPUnit WebTest either). Here's an 
> > example: 
> > > > type="button" value="Review" onclick="javascript: location.href = 
> > '/plan/reviewCompensation.vm';"> 
> > 
> > Does the HtmlUnit-based WebTest support Javascript buttons? 
> > Thank you, 
> > Lisa 
> > 
> 
> _______________________________________________ 
> WebTest mailing list 
> WebTest@lists.canoo.com 
> http://lists.canoo.com/mailman/listinfo/webtest 
--NextPart_Webmail_9m3u9jl4l_19918_1100723042_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit

<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV></DIV>
<DIV>OK, good to know it ought to work, my coworker will prepare a minimal sample (and maybe in doing so, we will debug it ourselves!)</DIV>
<DIV>thanks,</DIV>
<DIV>Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from Marc Guillemot &lt;mguillemot@yahoo.fr&gt;: -------------- <BR><BR><BR>&gt; Lisa, <BR>&gt; <BR>&gt; current version support javascript buttons and some tests are contained in the <BR>&gt; selftests. Can you provide a minimal <BR>&gt; (always the same thing) sample of the problem? <BR>&gt; <BR>&gt; Marc. <BR>&gt; <BR>&gt; Lisa Crispin wrote: <BR>&gt; &gt; Using build 560, clickbutton can't find the button if it is a Javascript <BR>&gt; &gt; button (this didn't work with the HTTPUnit WebTest either). Here's an <BR>&gt; &gt; example: <BR>&gt; &gt; <INPUT class=wideButton name=ReviewEmployeePayrollSummary <BR>&gt; &gt; type="button" value="Review" onclick="javascript: location.href = <BR>&gt; &gt; '/plan/reviewCompensation.vm';"&gt; <BR>&gt; &gt; <BR>&gt; &gt; Does the HtmlUnit-based WebTest support Javascript buttons? <BR>&gt; &gt; Thank you, <BR>&gt; &gt; Lisa <BR>&gt; &gt; <BR>&gt; <BR>&gt; _______________________________________________ <BR>&gt; WebTest mailing list <BR>&gt; WebTest@lists.canoo.com <BR>&gt; http://lists.canoo.com/mailman/listinfo/webtest </BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->

</body>
</html>

--NextPart_Webmail_9m3u9jl4l_19918_1100723042_0--