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
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Differences between text and test area checkpoints?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
what you mean by artifact,milestone...
What are advantages of test automation?
hi nani my doubt is how does qtp process metrix related to software process.
Why do we use breakpoints in QTP?
How you will rate urself in QTP in the range of 0 to 5
What is the XML file architecture ?
Explain how qtp identifies object?
What are the types of environment variables in qtp?
What is the difference between a Function and Action in QTP?
how interviews will be on QTP?
What is the difference in testing a client-server application and a web application?
How to creating an output value using quicktest professional (qtp)?