Thanks Darryl. In fact I am very new to WATIR. Will try to get my answers from the tutorials sent by you.
Sudeep. On Sat, Dec 4, 2010 at 10:29 PM, Darryl Brown <d-l-br...@roadrunner.com>wrote: > Hi Sudeep, > > The best way to get help here is to try first. What did you try? > > You seem to be very eager to learn about Waitr. A suggestion for you > would be to read the Watir tutorial located here:http:// > wiki.openqa.org/display/WTR/Tutorial. The answer to your particular > question can be found within: http://wiki.openqa.org/display/WTR/Simple. > > > Best regards, > Darryl > > > On Dec 4, 6:00 am, Sudeep <sudeeppattn...@gmail.com> wrote: > > Hi, > > > > Please can you let me know how to select a value from the drop down > > list through WATIR script? > > > > The HTML is as follows. > > > > <div class="row " id="genderFld"> > > <label class="label" for="gendercollection">Gender</label> > > <div class="collection" id="gendercollection"> > > > > <select title="Gender" class="" id="gender" > > name="gender"> > > <option value="" SELECTED >- Select One -</option> > > <option title="m" value="m" >Male</option> > > <option title="f" value="f" >Female</option> > > </select> > > </div> > > <div class="msgContainer"> > > > > <div class="icon"></div> > > <p id="genderFldMsg"></p> > > </div> > > > > Regards, > > Sudeep > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com<http://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com