Last post May 18, 2017 02:16 AM by Zhi Lv - MSFT
May 16, 2017 08:08 PM|steppinthrax|LINK
OK here's the deal, we have a report generation system that is based in VB.NET and uses a Crystal Reports Backend. We have a QA team, the one issue we have is every time we have a change that occurs onto our system the QA team wants to regression test each
and every single report. That is regression test around 400 or so reports. So my question is I want to develop a system that could compare the resulting report to a "baseline" report. The reports that we generate are all text based (no lines/graphs/charts).
The biggest issues we have and we need to test for the following.
1. Truncation (text that runs off the page).
2. Character misprint, characters (ABCDEFGHIJK....) that are garbled etc.
3. Reports that don't look identical from the baseline
My thinking is to generate the report and to create some sort of HASH that represent the report. Then to generate that has for the new report. If those hashes match then the report passes and no change within the system caused a report change. However,
Some reports will have data change and we only want to check for truncation etc. So I need to be able to OCR and check for "valid characters". Does anyone have any suggestions for C#.NET with OCR or image validation with C#.NET or any ideas?
May 18, 2017 02:16 AM|Zhi Lv - MSFT|LINK
So I need to be able to OCR and check for "valid characters". Does anyone have any suggestions for C#.NET with OCR or image validation with C#.NET or any ideas?
From your description, it seems that you want to use OCR with C#, if that is the case, I suggest you could refer to the following articles to use Office 2007 OCR Using C#