The boxes are nothing but new lines ... Replace new line with ASCII space and then check .. It will work
Many Thanks. Regards, Ananth K M: +61 469 626 331 Sent from my iPhone On Sep 11, 2012, at 22:03, udhaya kumar <[email protected]> wrote: > Hi All, > > > i am reading a text from a SwfLabel which has multiple > line i.e "No Carrier present. FIMS POD 12INCH 25 SLOT Carrier ID: N/A". i am > reading this text into the variable and checking with the actual text. But > this text is assigned into the variable as three new line like below. > > No Carrier present. > FIMS POD 12INCH 25 SLOT > Carrier ID: N/A > > Also sometimes between space of these line the characters like box is > coming.validation fails due to this character between lines.How to validate > this text from the label. Is there any idea. Please help me out. > > > > > > > Thanks, > Udhay > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
