ActiveX error on PDF script
Question ID: 106785
0
0

I am trying to read content from PDF file using UFT 12.02 using below code:

Set AcroApp = CreateObject("AcroExch.App")
AcroApp.Show
Set AcroAVDoc = CreateObject("AcroExch.AVDoc")
AcroAVDoc.Open sPDFpath,""
Set AcroAVDoc = AcroApp.GetActiveDoc
Set AcroPDDoc = AcroAVDoc.GetPDDoc

I am getting ActiveX component can’t create object: ‘AcroExch.App’

How I can fix this issue?

Marked as spam
Posted by (Questions: 89, Answers: 4)
Asked on April 22, 2016 4:24 pm
315 views
Answers (1)
0
Private answer

You probably have Adobe Reader installed. To use the AcroExch.App object, you need to have Acrobat standard (not reader) installed.

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 22, 2016 4:25 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top