I know that Webtest can't handle all Javascript. I haven't managed to make it work with the following. Should it ?
Scenario : page displays a textarea. The user enters some text. The display shows : 23 Lines Remaining. Html : <div class="formRow"> <div class="formElementHolder"> <textarea id="particulars" name="particulars" class="extrawide" onkeyup="CountLeft(this.form.particulars, 'linesRemaining', 24, 45);" onkeydown="CountLeft(this.form.particulars, 'linesRemaining', 24, 45);" rows="18" cols="60">. </textarea> </div> </div> <div class="formRow"> <div class="labelHolder"> <label id="linesRemaining" style="display:none;"> </label> <label id="linesRemainingText" style="display:none;">Lines Remaining</label> </div> </div> Javascript : [...] document.all[linesRemainingID].innerHTML = maxLines - linesUsed; document.all[linesRemainingID + 'Text'].style.display = 'inline'; document.all[linesRemainingID].style.display = 'inline'; [...] Webtest : setInputField name:'particulars', value:'AAAAA AAAAA AAAAA' verifyText '23 Lines Remaining' This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

