if $ie.div(:text, /Balance:/).exists? ksh = $ie.d(:text, /Balance:/).text.split(" ") puts ksh[2] end
On Dec 5, 4:51 am, Divya <[EMAIL PROTECTED]> wrote: > Hi, > View Source is like this: > > <form method="post" action="/xxx/xxx"> > <div> > Sent to: nnnn-nnnnnn <br/>Amount: Ksh > 100.00<br/>Date: 05/12/2008 > 03:41 PM<br/>Message: <br/>Transaction ID: 73538<br/>Balance: Ksh > 7487.68 > > <br/> > > I want to pick that amount Ksh 100 from the script. > > Iam New to WATIR can please anyone help me in this regard. > > Thanks > divi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---