well seeing as how that looks like code for a select @@browser.select_list(:id => "fselectuser").select "12345"
but thats just going off of the html that was there and barely reading the email http://watir.com/examples/ On Sat, Jan 14, 2012 at 7:42 AM, Joe Fleck <[email protected]> wrote: > Hi Vindev, > > You might try > > @@browser(:text,'12345').click > > Regards, > Joe > > Sent from my iPad > > On Jan 12, 2012, at 10:41 AM, Vindev <[email protected]> wrote: > > > I am trying to test a table on a webpage that is benig populated via > > database. The webpage is done in java: > > > > <select id="fselectuser" size="25" onclick="loadUser(this)"> > > <option value="0">-- > > Create New User --</option> > > <option value=""></ > > option> > > > > <option value="12345">12345</option> > > > > <option value="1234567">1234567</option> > > > > > > my code right now is @@browser.table(:value, "12345") this works > > however, i need to be able to click on the user 12345 so that their > > information gets populated in a form. @@browser.table(:value, > > "12345").click is invalid. What do I need to do? > > > > -- > > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > > > [email protected] > > http://groups.google.com/group/watir-general > > [email protected] > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected]<http://groups.google.com/group/watir-general%[email protected]> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
