How to recognize and read data from pdf file using
Descriptive Programming in QTP?
Answer Posted / satya
Using third party API:
If you have Acrobat Writer installed you use ArcoExch object
to manipulate pdf files.
Function GetPDFPageCount(filename)
Dim pdfFile,Acroapp,pdf
'PDF File preparations
Set Acroapp = CreateObject("AcroExch.App")
Set pdf = CreateObject("AcroExch.PDDoc")
pdf.Open filename,"temp"
Set pdfFile = pdf.GetPDDoc
GetPDFPageCount = pdfFile.GetNumPages
Set pdffile = nothing
Acroapp.Exit
End Function
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
What is the difference between per-action and shared?
How to Test the mainframe application?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
How you can find length of array in qtp?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What is meant by Output Value in UFT?
What is quick test pro? What is a quick test professional?
How to define array in qtp?
What is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
What is the difference between run time object and test object in QTP?
Hi ,Can any one pleas explain how to test splash objects using QTP?
What are the ways you can synchronize?
Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan