Page 1 of 1

Validating Reports and OCR

Posted: Tue Oct 02, 2018 2:47 pm
by sheafox
In our software, we can generate reports for every financial transaction. All transactions are displayed with a date and timestamp. Most of the reports are generated with something called ReportBuilder. Is there a method in Ranorex for doing OCR? Or are there other methods for reading entries from reports?

Re: Validating Reports and OCR

Posted: Tue Oct 02, 2018 3:04 pm
by odklizec
Hi,

Could you please post an example of report in question? Basically, there is no built-in OCR method in Ranorex. But since Ranorex is a fully capable .NET dev. environment, you can write your own OCR method. But I personally would first examine the report and check if there is really no other way to read the data from it.

Re: Validating Reports and OCR

Posted: Tue Oct 02, 2018 9:52 pm
by sheafox
I can print the reports to a PDF with a PDF printer . Some reports also have the option of exporting the data to CSV or etc.

Re: Validating Reports and OCR

Posted: Wed Oct 03, 2018 7:33 am
by odklizec
Hi,

CSV is a great option! PDF not so much, because I suspect the saved file will be just picture in PDF format. You should be able to read and validate whatever you want from CSV file.