From: "Ashok T." Date: 2011-05-24T00:21:38+09:00 Subject: Re: Looping n rows in table Thank you very much Jesus again for your reply. When i looked at the ruby doc, it says how and what means the ID of the object and it's name. so here's my code that i wrote Table.rows.each do |row| if row[4].text!= "" row[5].select_list(:id, /GridList/).select("Value from the dropdown") end end But i'm still getting the error message as shown below. C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/elements/element.rb:241:in `assert_exists': unable to locate element, using {:id=>/dispositionList/, :tag_name=>"select"} (Watir::Exception::UnknownObjectException) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/elements/select.rb:125:in `select_by' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/elements/select.rb:64:in `select' from C:/Watir Scripts/Project/Credit.rb:60:in `block in liability_report' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/element_collection.rb:21:in `each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/element_collection.rb:21:in `each' from C:/Watir Scripts/Project/Credit.rb:58:in `liability_report' from driver.rb:36:in `run' from driver.rb:42:in `
' Any help further would be highly appreciated. Thanks Ash -- Posted via http://www.ruby-forum.com/.