Micro Focus QTP (UFT) Forums
How to find and change text in PDF document using QTP UFT automation VBscript - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to find and change text in PDF document using QTP UFT automation VBscript (/Thread-How-to-find-and-change-text-in-PDF-document-using-QTP-UFT-automation-VBscript)



How to find and change text in PDF document using QTP UFT automation VBscript - alexwhite - 02-18-2017

Hi Colleagues,

I need some help from you.
I need to write test case in VBscript for QTP / UFT (12.51)
QTP should launch Adobe Acrobat Pro 9, 10, 11 (all available on testing machines) open existing PDF file from testing folder. Find some text in the PDF document. Select this text and replace with another text. Save changes. Close file. Close Acrobat. Everything looks very simple but I spent 2 days without results. And didn’t find any working code solution.


findText() method didn’t find the text and I can’t proceed


Thank you in advance for any help and advice.