LearnQuickTestPDF -does not work on just getting the text - 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: LearnQuickTestPDF -does not work on just getting the text (/Thread-LearnQuickTestPDF-does-not-work-on-just-getting-the-text) |
LearnQuickTestPDF -does not work on just getting the text - jloyzaga - 02-10-2017 This is my code Set oPDF=createobject("LearnQuickTest.ManipulatePDF") msgbox oPDF.GetPdfText ("C:\veda project\Verify-2-10-2017-4-08-52-PM\Compares\Acrobat-Compare-UFTSW_OTC_Res15_SD_Results.pdf") or this Set oPDF=createobject("LearnQuickTest.ManipulatePDF") pdftext=oPDF.GetPdfText ("C:\veda project\Verify-2-10-2017-4-08-52-PM\Compares\Acrobat-Compare-UFTSW_OTC_Res15_SD_Results.pdf") pdftext is empty does non even recognise msgbox tried print as in the doco and it didn't print What am I doing wrong? Joe |