Micro Focus QTP (UFT) Forums

Full Version: Issue to use GetVisibleText to retrieve number from a PDF page in QTP11
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I'm facing a problem in QTP11 using GetVisibleText to extract number 0, 6 and 9 from a PDF page:

1. In some situations, these three numbers can be retrieved successfully without any issue, but
2. In most of the situations, these three numbers are extracted with errors as follows:
1). 0 is identified as o or S
2). 6 or 9 is identified as 9 or 6 or 0 or something else

No issue to retrieve other numbers.

Has anyone else encountered this issue? Any other alternative?

Thanks
Eventually, the problem is resolved. Here is the solution:
1) Save a copy of the pdf file
2) Convert pdf file to text file
3) Retrieve the data from the texts

Jenny