method_missing for row.cells but work for row.tds
--------------------------------------------------
Key: WTR-496
URL: http://jira.openqa.org/browse/WTR-496
Project: Watir
Issue Type: Bug
Components: Other
Affects Versions: 2.0
Environment: Win7 64, IE9, Ruby 1.9.3 p0 (Ruby 1.8.7)
Reporter: Sergey Erokhin
Same error on ruby 1.8.7, and clean 1.9.3
Code work ok on watir 1.9.2
id="cph_rpt#{entity}s_prrow_#{row_n}"
row=$ie.row(:id => id)
while row.exist?
ret_list << row.cells[cell_n].text
row_n+=1
id="cph_rpt#{entity}s_prrow_#{row_n}"
row=$ie.row(:id => id)
end
failed with error
private method `cells' called for #<Watir::TableRow:0x59d4d88>
stack trace:
C:/Ruby/lib/ruby/gems/1.8/gems/watir-2.0.4/lib/watir/element.rb:447:in
`method_missing'
but when i change code (cells -> tds)
ret_list << row.tds[cell_n].text
work fine ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development