Hi
I am struggling to access Kendo Date Picker from a code step in Test Studio.
KendoCalendar calendar = ActiveBrowser.Find.ById<
KendoCalendar
>("expiryDate");
I want to set the date from the code step ( I am iterating over a predefined expiry values)
but I always get NULL and nothing is returned.. any idea why ? Test Studio version 2016 (downloaded it last week)
My jsp has the following:
...
..
<input type="text" id="expiryDate" style="width:180px;"
serializedDate="${message.getExpiryDate().getTime()}"
name="expiryDate"
required
data-expiryDateInPast-msg="<s:message code='admin.managemessage.validation.expiryDate.inpast'/>"
validationMessage="<s:message code='admin.managemessage.validation.expiryDate.empty'/>"
/>
...
...
$("#expiryDate").kendoDatePicker({
}).on('keydown',function(evt){
if(evt.keyCode == 9) {
return true;
}
return false;
}).on("paste",function(e) {
e.preventDefault();
});
...
...