I have QTP 10.0 and Adobe reader 9.3 installed on my machine. The machine I am using is a VMware device.
I have downloaded and installed the PDF Test Toolkit and the Adobe SDK.
For QTP I have the ActiveX, Web and Adobe add ins loaded.
I do not have Acrobat loaded.
For my first script all I wanted to do was open an existing PDF. I used the code displayed below.
'### Create objects required for the test
Set gApp = CreateObject("AcroExch.App")
Set gPDDoc = CreateObject("AcroExch.PDDoc")
'### Open a PDF Document
'### Kill all created objects
Set gPDDoc = Nothing
Set gApp = Nothing
For both Set statements (in italics) I am getting the following message
"ActiveX Component Can't Create Object "AcroExch.App"
Also, as to the instructions. I read the instructions to mean that you need the Adobe Reader OR Adobe Acrobat. However in some of the research I have been doing on other boards many of the solutions indicate that Acrobat is required. Can some one take a moment and clarify what I will need installed on each machine in order to create and execute scripts.
Any thoughts would be helpful
Please see the document 'Interapplication Communication API Reference' in the Acrobat SDK. Reader doesn't support the AcroExch methods. You can use the DDE methods. For more quesitions, please visit the SDK forum:
You should still be able to record and playback UI events in Reader.
Thanks - John Briere
Engineering Manager, Acrobat Production Engineering
Did u get the answer?
Even i am also facing the same problem.
I have one pdf file saved on my desktop.
I have to open that pdf file through qtp script. I have installed QTP10, Adobe APTT(Acro QTP) plug in.
how can i do this.
Plz help me.
Sorry for the late reply. I was on vacation.
Thank you very much for your reply.
My prob got solved by using Systemutil.run
Consultant | HSBC CML Testing Team
Financial Services Global Business Unit
Phone: +91 020 27601000 / Extn: 2032335/
Mobile: +91 88888 04393
B-1, Cerebrum IT Park, Kalyani Nagar, Pune – 411014 INDIA
Europe, Middle East and Africa