Hi The following is the code written for a check list.
<td class="cellLabel"><div id="ctl00_ContentPlaceHolder1_Div7" align="right"> <span id="ctl00_ContentPlaceHolder1_lblSupervisor" class="dataentrylabelsStyle">Supervisor :</span></div></td><td class="cellInput"><select name="ctl00$ContentPlaceHolder1$ddlSelectSupervisor" id="ctl00_ContentPlaceHolder1_ddlSelectSupervisor" class="stylenormalTextbox"> <option value="--Select--">--Select--</option> <option value="learner2">learner2</option> <option value="learner1">learner1</option> <option value="learner3">learner3</option> <option value="user2">user2</option> <option value="vinay">vinay</option> <option value="user3">user3</option> <option value="vinay1">vinay1</option> <option value="user_1">user_1</option> Now if i'm writing the command irb(main):021:0> ie.select_list(:id, "ct100_ContentPlaceHolder1_IbISupervisor"). set("vinay") I'm getting the following error Watir::Exception::UnknownObjectException: Unable to locate element, using :id, " ct100_ContentPlaceHolder1_IbISupervisor" from D:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ element.rb:52: in `assert_exists' from D:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:63:in `select_item_in_select_list' from D:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ input_elements .rb:47:in `set' please suggest some solution we user .net technology for developing website. thankingyou --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---