When I use the following following command, the array shows the first element  
as '[]' instead of the Header values.  How do I get the Header values from the 
table?

my_array = $browser.table(:id , 
'ctl00_MasterContentPlaceHolder_DomainGridView').to_a
p my_array

I see the following output:
[[], ["Item 1", "Local25"], ["Item 2", "Local26"], ["Item 3", "Local27"], ["", 
""]]

Note the first element in the array is empty but I expected it to be the Header 
values.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6193&messageID=17408#17408
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to