Validating Reports and OCR

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
sheafox
Posts: 33
Joined: Mon Jul 09, 2018 3:54 am

Validating Reports and OCR

Post by sheafox » Tue Oct 02, 2018 2:47 pm

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?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Validating Reports and OCR

Post by odklizec » Tue Oct 02, 2018 3:04 pm

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.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

sheafox
Posts: 33
Joined: Mon Jul 09, 2018 3:54 am

Re: Validating Reports and OCR

Post by sheafox » Tue Oct 02, 2018 9:52 pm

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Validating Reports and OCR

Post by odklizec » Wed Oct 03, 2018 7:33 am

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.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration