Micro Focus QTP (UFT) Forums

Full Version: Automation of PDF Forms with Adobe Reader
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am facing some issues with the automation of Pdf forms. the issue is the Adobe reader hangs while setting values to objects( Mostly on List Object). QTP is able to identify the Objects and execute the scripts but Reader hangs at random object while setting the value.
I have below setUp.
QTP -11
APTT AcroQTP Addin - 10.1.2.45
Adobe Reader - 10.1.4

Code:
PDFDoc("xx").AcroXFAForm("xx").AcroXFAForm("xx").AcroXFAListBox("Obj1").Select
If PDFDoc("xx").AcroXFAFormx("xx").AcroXFAForm("xx").AcroXFAListBox("Obj1").Exist(3) Then
    PDFDoc("xx").AcroXFAForm("xx").AcroXFAForm("xx").AcroXFAListBox("Obj1").Setvalue "ajayW"
End If

Note: -I can't use any more older version of Adobe Reader

Please guide me to resolve this issue.
Just for info :- Exists() statement always return True for AcroQTP Object. So we can't use this for sync/Existance purpose.
The alternative option is to use GetRoProperty("afpid") and check , If it returns 0 means the Object does not Exist.
I am facing some issues with the automation of Pdf forms. I have installed Adobe 11 and qtp 10, but qtp is not identifying the pdf objects it is identifying as winobject. can you please help me .
QTP -10
APTT AcroQTP Addin - 10.1.2
Adobe Reader - 11

Sreekanth Peetla
8008919992
I have used below combination and it was working fine.

QTP Version - 11
AcroQTP Version - 10.2.1.45
Adobe Version - 10.1.4

Sometimes your system firewall/Configuration/policy can restrict identification of objects.