Using latest version of watir you can access <span> element using:
$ie.span(:class, "TblHdrTxt")
for accessing TH you can use xpath query for getting the element.
Regards,
Angrez
On 9/22/06, Luke <[EMAIL PROTECTED]> wrote:
Sorry for asking but I can't deal with it, I've got a table on page and I want to get to the cell "Action" can someone show me how to do it,
I can't firgure out and fail all the timetable id="form1:ReportUnit:tblDetails" style="font-size: 11px;width: 640px"...
class="Tbl" border ="0" cellpadding="0" cellspacing="0">
<caption id="form1:ReportUnit:tblDetails:_titleBar" class="TblTtlTxt">Detail </caption>
<tr id="form1:ReportUnit:tblDetails:tableRowGroupS:_columnHeaderBar:0"
>
<th id ="form1:ReportUnit:tblDetails:tableRowGroupS:colLinkS:_columnHeader" class="TblColHdr" align="center" scope= "col"><span class="TblHdrTxt">Action</span></
th>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
