.pdf file automation - 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: .pdf file automation (/Thread-pdf-file-automation) |
.pdf file automation - umeshganti - 04-18-2008 Hii all..... I am just a beginner in qtp....I need your help...... I have a .pdf file which has different fields like a radio button, check box and text fields etc..I need to automate such a .pdf doc....I am trying to send the data through an excel data sheet.........has any one done this before........can you please tell me how do I go about it.... RE: .pdf file automation - niranjan - 04-18-2008 I didnt get you. Do you want to know how to work with Excel or PDF? 1) To work with PDF: Adobe provides methods to make the content of a PDF file available to assistive technology such as screen readers. On The Microsoft Windows operating system, Adobe Acrobat and Adobe Reader export PDF content as COM objects. applications can interface with Acrobat or Adobe Reader in two Ways : 1. Through Microsoft's Active Accessibility( MSAA ) interface, using MSAA objects that Acrobat or Adobe Reader exorts. 2. Directly through exported COM objects that allow access to the PDF document's internal structure, called the Document Object Model( DOM ). The Acrobat SDK is a set of tools that help you develop software that interacts with Acrobat technology. The SDK contains header files, type libraries, simple utilities, sample code, and documentation. Using the Acrobat SDK, you can develop software that integrates with Acrobat and Adobe Reader You need to have Both Adobe and Acrobat SDK to work with pdf files. Example: Code: Dim gApp, gPDDoc, jso 2) To Work with Excel: check this out.. https://www.learnqtp.com/ RE: .pdf file automation - umeshganti - 04-23-2008 Hii I didnt mean that i need to work with excel files..... I meant that I need to parametrize the values to the pdf file through an excel sheet........ |