For Page (http://itest2.com/demo/survey) with html,

<table cellpadding="1" cellspacing="1" width="100%">
  <tr>
    <td></td>
    <td id="surveyId" align="right">A101</td>
  </tr>
</table>


> 1)how to get text form table cell .

 browser.cell(:id, "surveyId").text

> 2)how to verify the table cell text using  "include?" or "match"

 browser.cell(:id, "surveyId").text.should == "A101"

> 3) if there any material or user guide for the same.please send me.

  http://wiki.openqa.org/display/WTR/Methods+supported+by+Element

Cheers,
Zhimin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to