Quality is delighting customers
It can be through xpath or css locators,But xpath would be more appreciated.
<div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all ui-helper-hidden-accessible" style="xg-p: absolute; top: 411px; left: 383.217px; 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>
<tr>
<tr>
<td class=" ui-datepicker-week-end " onclick="DP_jQuery.datepicker._selectDay('#tempVar4',1,2012, this);return false;">
<td class=" " onclick="DP_jQuery.datepicker._selectDay('#tempVar4',1,2012, this);return false;">
<td class=" " onclick="DP_jQuery.datepicker._selectDay('#tempVar4',1,2012, this);return false;">
<td class=" " onclick="DP_jQuery.datepicker._selectDay('#tempVar4',1,2012, this);return false;">
<a class="ui-state-default" href="#">29</a>
Thanks in advance,
Tags:
Permalink Reply by Master117 on February 13, 2012 at 4:09pm xpath=//table[@class='ui-datepicker-calendar']//a[.='29']
Permalink Reply by Manoj kumar on February 13, 2012 at 4:47pm Thank you for response,but unfortunately not working for me
Is there any way?
Permalink Reply by Master117 on February 13, 2012 at 5:04pm its working for me , try this //table[@class='ui-datepicker-calendar']//a[@class='ui-state-default']
Permalink Reply by Manoj kumar on February 13, 2012 at 5:52pm Thanks a lot
Permalink Reply by Lakshmi Tummala on February 14, 2012 at 10:58am hi these are all possiblities to find the date
link=29
(or
//a[@class='ui-state-default']
(or)
//div[@id='ui-datepicker-div']/div/table/thead/tbody/tr[5]/td[4]/a
Permalink Reply by Manoj kumar on February 14, 2012 at 11:40am Ok thank you
© 2012 Created by Quality Testing.