On Mon, May 23, 2011 at 5:21 PM, Ashok T. <tulachanashok / gmail.com> wrote: > 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) > ¨Âòï> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/elements/select.rb:125:in > `select_by' > ¨Âòï> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/elements/select.rb:64:in > `select' > ¨Âòïú¯×áôéò Óãòéðôó¯Ðòïêåãô¯Ãòåäéô®ò⺶°ºéàâìïãë éî > liability_report' > ¨Âòï> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/element_collection.rb:21:in > `each' > ¨Âòï> C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.2.3/lib/watir-webdriver/element_collection.rb:21:in > `each' > ¨Âòïú¯×áôéò Óãòéðôó¯Ðòïêåãô¯Ãòåäéô®ò⺵¸ºéàìéáâéìéôùßòåðïòô§ > ¨Âòïäòéöåò®ò⺳¶ºéàòõî> ¨Âòïäòéöåò®ò⺴²ºéà¼íáéî¾§ Well, it looks like in your Credit.rb, in line 58 you are looking for an element with id matching /dispositionList/, and it can't find it. We can't help more without looking at the HTML page you are parsing, and the exact code you are using. Jesus.