Micro Focus QTP (UFT) Forums
Embedded Text on webpage - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Embedded Text on webpage (/Thread-Embedded-Text-on-webpage)



Embedded Text on webpage - srach84 - 07-27-2014

Hi,

I am testing the T24 application and would like to know how to capture the embedded text on the "Cheque encashment ID" which dynamically changes.

Please let me know the function to use to capture particular embedded text on the webpage.

I am using the below code to capture the innertext on the webpage

Code:
Capinnertext=Browser("Title:=.*").Page("Title:=.*").Object.Body.innertext

However, I would like to retrieve the Cheque Encashment ID and export the same to the datatable in QTP.

Many Thanks,
Shilpa R


RE: Embedded Text on webpage - Ankur - 07-28-2014

You need to post screenshot of 'Object spy' here so that members can provide you any meaningful answers.