Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automation of PDF Forms with Adobe Reader
#1
Solved: 10 Years, 1 Month ago
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.
Reply
#2
Solved: 10 Years, 1 Month ago
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.
Reply
#3
Solved: 10 Years, 1 Month ago
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
Reply
#4
Solved: 10 Years, 1 Month ago
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP takes long time to click on asp.net forms arpan 0 1,825 10-16-2013, 09:30 PM
Last Post: arpan
  How to automate Adobe Live Cycle Document PrabhatN 1 2,643 08-12-2010, 03:54 PM
Last Post: QTPLearn
  QTP with InfoPath Forms sushma.testing 1 2,442 07-21-2010, 05:03 PM
Last Post: sasmitakumari
  How to write in Word DOC Forms rohit553 0 2,307 06-07-2009, 08:33 PM
Last Post: rohit553
  how to capture the properties for Oracle forms navitha123 1 2,154 08-22-2008, 01:13 PM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)