Oh yes this really helps. Thanks a lot. It has most of all things to how to access elements of HTML.
On Jun 27, 1:35 pm, orde <ohil...@gmail.com> wrote: > This should point you in the right > direction:http://rdoc.info/gems/watir/1.9.0/Watir/Container#lis-instance_method > > Hope it helps. > > orde > > On Jun 27, 9:13 am, Parag Dave <parag...@gmail.com> wrote: > > > > > > > > > Hi All Geeks, > > > Here i have some easy question ;) (That's why i am asking) > > > $browser.table(:id, 'recent_records').to_a returns the number of row > > in the table, but if i want to count the number of list > > <ul> > > <li id="1111111132"> > > <li id="1111111133"> > > <li id="1111111134"> > > <li id="1111111135"> > > <ul> > > > Here the value of the li is change as per the search term (Search > > returns the number of the list depend upon the search term). > > > So question how can i check the number of return <li> I can not check > > with ID as it changes every time (As per the search term) -- 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