This question is locked. New answers and comments are not allowed.
I am using WebDriver to test my application and I am seeing errors only when I am running under WebDriver. When my page loads with a date/time picker on it under web driver, I am seeing this javascript error:
jQuery("#Birthday").tDatePicker is not a function
When I use fiddler to inspect the HTML that was rendered during the test, I see this:
<li>
<label for="Birthday">Birthday</label>
<div class="t-widget t-datepicker" id="Birthday"><div class="t-picker-wrap"><input class="t-input" id="Birthday-input" name="Birthday" /><span class="t-select"><span class="t-icon t-icon-calendar" title="Open the calendar"></span></span></div></div><script type="text/javascript">
jQuery('#Birthday').tDatePicker({format:'M/d/yyyy', minDate:new jQuery.telerik.datetime(1861,04,07), maxDate:new jQuery.telerik.datetime(2011,04,07)});
</script>
</li>
When I am not running the test, I see the same exact html and I don't get the error. Any thoughts on why I would see this?
Thanks,
Jesse
jQuery("#Birthday").tDatePicker is not a function
When I use fiddler to inspect the HTML that was rendered during the test, I see this:
<li>
<label for="Birthday">Birthday</label>
<div class="t-widget t-datepicker" id="Birthday"><div class="t-picker-wrap"><input class="t-input" id="Birthday-input" name="Birthday" /><span class="t-select"><span class="t-icon t-icon-calendar" title="Open the calendar"></span></span></div></div><script type="text/javascript">
jQuery('#Birthday').tDatePicker({format:'M/d/yyyy', minDate:new jQuery.telerik.datetime(1861,04,07), maxDate:new jQuery.telerik.datetime(2011,04,07)});
</script>
</li>
When I am not running the test, I see the same exact html and I don't get the error. Any thoughts on why I would see this?
Thanks,
Jesse