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
How to give a call to another action from one action?
How can you identify the browser and its information using QTP script?
How is the Bitmap checkpoint different from Image checkpoint?
What is the difference between analog and low level recording?
i can done the project with QTP in that time i can say how many members in my team size?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
what is Property......End Property loop? how to write sript for it in QTP
What are the different ways to invoke an application using QTP?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
What is the purpose of loading qtp add-ins?
What is regular expression?
how to disable the pop ups through QTP using a script
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
What is an object repository?