Quality Testing

Quality is delighting customers

Can we read/retrieve data from PDF web using QTP

Views: 2206

Reply to This

Replies to This Discussion

Hi Arun,

Yes for example, From PDF file retrieving the text to write text in  text file?

dim pdfo,fso,fo

set pdfobj=createobject("learnquicktest.manipulatepdf")

set fsobj=createobject("scripting.filesystemobject")

set fobj=fso.opentextfile("Path of file",2,true)

fobj.writeline(pdfobj.Getpdftext("path of pdf file.pdf",1))

fobj.close

Thanks,
Mahender.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service