PDF Validation - 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: PDF Validation (/Thread-PDF-Validation) |
PDF Validation - wheelercha - 12-22-2009 I have seen several post about PDF validation or 'closing' the browser but none in regards to validating the data on a PDF. I don't need to compare I just need to see if a value is displayed after I create it via the application. Example: Web application allows the user to select that an Invoice is paid for Cleaning Supplies and the amount paid was $10.50. The Adobe PDF report is opened and simple displays all the Invoices that were paid and the amount paid. Cleaning Supplies 10.50 Paper Products 5.50 Meat 150.25 I want to verify that "Cleaning Supplies" and "10.50" are displayed. I have seen postings that recommend saving to a text file then check from there, but is this the only way? Thanks, Charles RE: PDF Validation - Saket - 12-23-2009 If you have Adobe Acrobat installed on your machine, you can use this to manipulate your pdf files. like the below examle using AcroExch object to get the number of pages in the pdf file Code: Set Acroapp = CreateObject("AcroExch.App") |