How to recognize and read data from pdf file using
Descriptive Programming in QTP?
Answer / 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 |
How to capture the Check point Value into a variable?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
I have multiple radio buttons i need to select a radio buton and i dont want to hard code i have a generic function for it there i have used select#0 so it selects first radio button but for other script i want to select the 4th radio button how i can make it still more generic
4 Answers Accenture, Acentia, LM,
What are the Features & Benefits of Quick Test Pro (QTP)..?
How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting
w is configaration management
when u script reveiwing in which area u more concentrates?
give me the code for check point for validating application
what is throw object ?
Hi Samrat, Thank u very much, what u said it is right.
How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.
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")