Hi,
I have to identify the new and find link for the item
employee.the page contains many new and find for
different items.
i have used:
$ie.div(:class,"itemlist").div(:index, 24)
and i am getting the error
NoMethodError: undefined method `div' for nil:NilClass
the source code is:
<table>
<tr>
<td style="width: 160px" align="right">
<div class="itemlist" style="padding-left: 10px;
font-size: 10pt;">Employee:</div>
</td>
<td
onclick="openStdWin'../../Forms/Employee/EmployeeInformation.aspx')">
<div class="itemlist" style="padding-left: 10px;
cursor: hand; color: #0000aa; font-size:
10pt;">New</div>
</td>
<td
onclick="openStdWin('../../Forms/Employee/EmployeeSearch.aspx')">
<div class="itemlist" style="padding-left: 10px;
cursor: hand; color: #0000aa; font-size:
10pt;">Find</div>
</td>
</tr>
/table>
Please help me.
Thanks
Bhavbeen
____________________________________________________________________________________Get
the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general