Micro Focus QTP (UFT) Forums
How to get the content of the SAPGuiWindow page? - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: How to get the content of the SAPGuiWindow page? (/Thread-How-to-get-the-content-of-the-SAPGuiWindow-page)



How to get the content of the SAPGuiWindow page? - Ankesh - 08-22-2011

I am working on automating SAP using QTP 11.0. I am stuck in a scenario where i need to fetch all the text from the SAPGUiWindow to compare for a specific search string. Please find the attachment.

I have fetched the text from a web page using Object.body.innertext. But i couldnt find any such solution to fetch the text from the SAPGuiWindow.

Any help would be appreciated.