Hai krish there are two methods to do this:-
1. Invoke the* SMART IDENTIFICATION* mechanism then QTP automatically recognize it or 2. Use *Regular Expression Technique* which match the string corresponding to other strings On Tue, Jan 11, 2011 at 12:08 PM, QTPforall QTPforall <[email protected]>wrote: > Please find the attachment for the web page > > The Text marked in Pink coller is what i am trying to fetch > Note : the text (webelement) is scrolling.. > > Regards, > Krish. > > > > On Tue, Jan 11, 2011 at 12:04 PM, Krish <[email protected]> wrote: > >> Hi All, >> >> I am trying to fetch the innertext from a web element of web page the >> text box is moving (i,e scrolling text) >> >> Adding this object in Object Repository gives the following details: >> >> Class: Web Element >> html tag : DIV >> >> Note : This Text keeps on rolling from bottom to top >> >> I wrote the Discriptive program to fetch this inner text but failed: >> >> Set Webel=description.Create() >> Webel("Class Name").value="WebElement" >> Webel("html tag").value="DIV" >> 'Get the Name >> Innovation_name=Browser("IZone - InnoShow").Page("IZone - >> InnoShow").WebElement(Webel).getROProperty("innertext") >> msgbox Innovation_name >> >> Searched in Google but dint found the solution... >> >> Kindly help me to get resolve this issue >> >> Thanks in Advance >> >> Regards, >> Krish >> > > -- > 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]<mercuryqtp%[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
