ya I agree with Orde well my testing page contains multiple "<tr>" with same class = normal and div contains class = system for every "<tr>"
On Mar 3, 10:27 am, orde <[email protected]> wrote: > Find a way to determine the value of <div class="system"> and assign > it to a variable. > > On Mar 3, 1:35 am, Ashu <[email protected]> wrote: > > > The xpath for the html > > html <tr><td class="normal">counter change</td><td > > class="normal"><div class="system">1</div></td></tr> > > > is xpath /html/body/div/div/div[4]/div/fieldset/table[3]/tbody/tr[9]/ > > td[2]/div > > > On Mar 3, 2:17 pm, Ashu <[email protected]> wrote: > > > > hi, > > > there is a field on the php page that keeps track of the change in > > > counter field. > > > On every next refresh the value changes of that variable. > > > <tr><td class="normal">Change counter</td> > > > <td class="normal"><div class="system">1</div></td></tr> > > > The "1" in the above code determines that one transaction has taken > > > place and it continues to increase up on every transaction update. > > > I am unable to figure out the logic to keep track of the change. -- 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]
