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
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
What is the difference between qtp and selenium?
Explain the use of action split in qtp?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
Difference between action & Reusable action?
hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com
what is the difference between built-i function and In-built function?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
What is the syntax to call one action in another?
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?
Get the count of files of similar types from a folder.
What is meant by Output Value in UFT?
How can get count of list box?
How to use transactions in qtp?
Hoe can we do retesting using functions please give the code for it using login page