I am having a doubt regarding the basic ruby.
I want to access the row 7 in the table 9 of a web page. If I am trying
to access table only I am not facing any problem(i.e)
$ie.table(:id =>"", :index =>9).flash(20)
But if I am trying to access a row inside a table, it gives me error.
The command I used is as follows:
$ie.table(:id =>"", :index =>9).row(:value => “”,:index => 7).flash(20)
The error I get is as follows:
Loaded suite temporary
Web page opened successfully
Finished in 15.852 seconds.
NoMethodError: private method
row' called for #<Watir::Table:0x2dff1f4> temporary.rb:88:intest_b’
2 tests, 0 assertions, 0 failures, 1 errors
Can anyone suggest how to overcome this problem ?
Thanks in advance.