In my application I've click on the date picker and select startdate as current date.I'm able to click on the datepicker but couldn't able to select the currentdate.Plz find the attachment.
Anybody can help in this?
Tried as below :
@browser.span(:class => "add-on sm-icon-calendar").click
@browser.send_keys("{Enter}")
HTML code:
<div id="ui-datepicker-div" class="ui-datepicker ui-widget
ui-widget-content ui-helper-clearfix ui-corner-all" style="position:
absolute; top: 749.4px; left: 496.5px; z-index: 3; display: block;">
<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix
ui-corner-all">
<table class="ui-datepicker-calendar">
<thead>
<tbody>
<tr>
<tr>
<tr>
<td class=" " data-year="2014" data-month="1" data-event="click"
data-handler="selectDay">
<td class=" ui-datepicker-days-cell-over ui-datepicker-current-day
ui-datepicker-today" data-year="2014" data-month="1" data-event="click"
data-handler="selectDay">
<a class="ui-state-default ui-state-highlight ui-state-active" href="#">11</
a>
</td>
</tr>
</tbody>
</table>
Thanks in-advance
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
<<attachment: Capture.JPG>>
