On Wed, Jun 20, 2012 at 11:44 AM, Gajendra Jain <[email protected]> wrote: > Please find the html tag below from where i have to get the value by passing the dt tag(<DT>System Account ID </DT>). and it should return me 37914766 > <DL class=col_3> > <DT>System Account ID </DT> > <DD>37914766 </DD> > <DT>Account Name </DT> > <DD>AccountName1 </DD> > </DL>
Try this: browser.dt(:text => "System Account ID ").parent.dd.text Željko -- filipin.eu -- 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]
