Try with following code.

t = $ie.table(:class,"table_list")
print "table columns:" ,t.column_count.to_s
print "\ntable rows:" ,t.row_count.to_s
print "\nthe first column of first row:",t.column_values(1)[1]
print "\nthe second column of first row:",t.column_values(0)[1]

Any question,pls let me know.

-Camael



发件人: Maumita 
发送时间: 2009-06-29  17:13:03 
收件人: Watir General 
抄送: 
主题: [wtr-general] How to display row,clolumn values of a table 
  
Hi,
I am facing one problem.
I have a table.the table don't have name,id,index.
How to display the row, column values of that table without name,id.
Thanks
Maumita

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