Dear all :
Can some one guide as to how to deal with Dojo based web pages in WebTest
Testing.
Chand
My test Code...
<setInputField name="dojo.fromDate" value="01/01/2009"/>
<setInputField
name="dojo.toDate" value="02/02/2009"/>
ERROR Message
Message
No suitable form found having field named "dojo.fromDate"
Current response
http://localhost:8080/mbanking-global/reports/auditTrailLogReport.action?moduleCode=AUDITWEB
Location
C:\WebTest\build\bin\LoginLogout\tests\audittrail.xml (line: 20)
SourceCode of the WebPage..
<script type="text/javascript">
dojo.require("dojo.widget.DatePicker");
</script>
<div
dojoType="dropdowndatepicker"
id="auditTrailLogReport_runReport_fromDate" value="2009-04-09T00:00:00"
name="dojo.fromDate" inputName="fromDate" displayFormat="dd/MM/yyyy"
saveFormat="rfc"></div>
</td>
</tr>
________________________________
This e-mail and all material transmitted with it are for the use of the
intended recipient(s) ONLY and contains confidential and/or privileged
information. If you are not the intended recipient, please contact the sender
by reply e-mail and destroy all copies and the original message. Any
unauthorized review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken pursuant to the contents of the
present e-mail is strictly prohibited and is unlawful.
The recipient acknowledges that Bharti Telesoft Limited or its management or
directors, are unable to exercise control or ensure the integrity over /of the
contents of the information contained in e-mail. Any views expressed herein are
those of the individual sender only and no binding nature of the contents shall
be implied or assumed unless the sender does so expressly with due authority of
Bharti Telesoft Limited. E-mail and any contents transmitted with it are prone
to viruses and related defects despite all efforts to avoid such by Bharti
Telesoft Limited.