This is the HTML Code:

<tbody><tr class="GridViewHeaderStyle" align="center">
<td>Edit</td><td>Project</td><td>Ticket</td><td>Tasks/Phases</
td><td>Date(mm/dd/yyyy)</td><td>% Finish</td><td valign="middle">Start
Time</td><td>Hours</td><td>End Time</td><td>Remarks</td>

</tr><tr class="GridViewRowStyle" align="center">
<td><a href='javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions("ctl00$cphMaster$MyDataGrid$ctl02$ctl00", "",
true, "", "", false, true))'>Update</a>&nbsp;<a
href="javascript:__doPostBack('ctl00$cphMaster$MyDataGrid
$ctl02$ctl01','')">Cancel</a></td><td>

Here i am not able to click the update or cancel link as i am not able
to recognized it, no id, no name is there.i use xpath for this but
that also not working.

ie.link(:xpath, "/html/body/form/table/tbody/tr[3]/td/div/table/tbody/
tr[2]/td/div/div/div/table[2]/tbody/tr/td/table/tbody/tr/td/table/
tbody/tr[2]/td/a").click

Please let me know how to handle this in watir.

-- 
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]

Reply via email to