Set separate test objectives for full-text search and metadata extraction
When choosing a DMS, full-text search and metadata extraction need to be assessed separately: readable OCR text does not prove that document fields have been populated correctly. Full-text search should make documents discoverable through their content. Metadata extraction, by contrast, must recognise specific details, identify their business meaning and place them in the intended field. An invoice number may therefore appear in the search index while the DMS incorrectly captures it as a purchase order number. Conversely, correctly extracted invoice header data may conceal the fact that text on subsequent pages is not searchable.
The test objective for full-text search should therefore describe specific search tasks: do employees need to find documents using exact file references, individual technical terms or phrases? It is important to distinguish between text recognition and the search function. If a search returns no results, the cause may also lie in indexing, the handling of separators or the search rules. For metadata, specify which details are needed as document fields and, where applicable, as line-item data for each document type. This also includes deciding whether original representations should be preserved or values normalised, for example by converting a date written out in words into a standard date format.
The specification should also make clear which processing steps the proposed system actually performs. Text recognition, document classification, field mapping and format validation are different functions, even if they appear as a single operation in the interface. Format validation can, for example, establish that a date is formally valid, but not whether it is the invoice date or the delivery date. Separate test objectives prevent an impressive search demonstration from being treated as proof of reliable metadata capture – or good field recognition as proof that all content is searchable.
Build a test set covering typical documents and difficult cases
A robust test set reflects the documents actually received, not just neatly scanned standard documents. Compile documents from the relevant business departments and intake channels, such as digitally generated PDFs, scanned paper documents and image files received by email. Include different senders, layouts, languages and page counts where these occur in day-to-day work. The selection should also include seasonal or less frequent transactions if processing them is operationally important. Large numbers of almost identical documents from a single sender, by contrast, add little useful evidence.
Supplement this representative sample with a separately labelled collection of difficult cases. Examples include skewed scans, poor contrast, stamps over text, small print or tables with line breaks. Also include multi-page documents and files containing several documents if these are actually received. Keep typical and difficult cases distinguishable: a disproportionately large share of poor-quality source documents would distort the day-to-day picture just as much as a selection consisting solely of flawless documents. Preserve the input files unchanged and document the quality characteristics and variations covered by the set.
Before sharing documents, establish which may be processed in a test environment. Remove or replace confidential content only using a method that leaves no hidden original data in text layers, comments or file metadata. At the same time, check whether editing distorts the test: large areas of redaction remove precisely the text whose recognition is being assessed, while newly generated PDFs may lose the original scan defects. If meaningful testing requires original documents, access, processing location and deletion arrangements for the test environment should be agreed in advance.
Define verified expected values and weight errors by their process impact
Create an authoritative set of expected data for each document to be tested: which character string appears in the document, which value should populate the DMS field and which deviations are acceptable? Distinguish between recognition errors and permitted normalisation. A date may be converted into a standard format; leading zeros in a document number, however, must not be removed without approval from the relevant business team. Expected values should be checked against the original and, for process-critical fields, confirmed by a second person. Details that cannot be read unambiguously should be marked as unclear rather than assigned a supposedly correct value.
Assess errors by their effect on the intended process, not just by the number of incorrectly recognised characters. Incorrect payment terms can affect deadline management, while a misidentified document number can prevent correct allocation. A recognition error in a passage that is unimportant for search has different consequences. Record the applicable error class and the reason for it for each field. Report missing values, incorrectly populated fields and invented content in fields that are actually empty separately. A high overall score must not conceal critical errors; also report results by field and error class.
- Version-control expected values and justify every subsequent correction so that the assessment benchmark does not change unnoticed.
- Define comparison rules for each field, such as permitted spaces, date formats and special characters that must remain unchanged.
- Link critical errors to specific consequences, such as incorrect allocation, wrong payment amounts or missed deadlines.
- Document the denominator for every analysis: assess values actually present and empty fields separately.
Measure review routing and manual correction effort within the workflow
A practical test needs to assess not only the values OCR produces, but also which documents the DMS sends for review. Observe whether uncertain results appear in an assigned work queue and whether the reviewer can immediately see the affected value alongside its location in the source document. A confidence score alone is not an adequate routing mechanism: even apparently plausible details can be wrong. Record separately which errors pass through unnoticed, which are specifically routed for review and which correct results require unnecessary checks.
Measure manual effort from opening the review case to the confirmed handover to the next process step. This includes locating the relevant part of the source document, changing a value, searching master data where necessary, and saving and approving the document again. Alongside handling time, record queries, screen changes and repeated data entry. Waiting times in the review queue should be reported separately: they reveal organisational bottlenecks but are not active correction time. Have the intended users carry out the work themselves after documented training, rather than simply watching a prepared demonstration of the workflow.
Also check what happens after a correction. The confirmed value must actually be used in subsequent processing; a new recognition run must not overwrite it unnoticed. For delegated review cases, responsibility and processing status should remain traceable. Both the effort per review case and the total manual effort across all processed documents are relevant to the selection decision. A quick correction screen does not automatically compensate for a high number of unnecessary review cases.
- Review routing: record the trigger, responsible role and visible source location for each review case.
- User effort: record active handling time, screen changes, queries and repeated data entry.
- Waiting time: assess time spent waiting and handovers between responsible teams separately from correction time.
- Downstream processing: check that confirmed values are used and protected against unnoticed overwriting.
Test acceptance criteria with unseen documents under identical conditions
Reserve part of your own document set for acceptance testing and keep it out of circulation until the test date. These documents must not have been used for configuration, demonstrations or adjustments to recognition rules. They must correspond to the agreed use cases: unseen does not mean introducing new requirements. Before the run, fix the configuration, recognition rules and approval thresholds. This makes it possible to check whether the configured solution delivers the agreed performance beyond the examples used to set it up.
All candidates receive the same source files and the same tasks. Also record the product version, subscribed recognition components, processing settings and available resources. Image enhancements included in the proposed scope may be used, but must be documented. A standard import for one candidate would not be comparable with undisclosed manual preparation for another. Repeat attempts also need a consistent rule: the run agreed in advance is the one that counts, not whichever of several runs later produces the best result.
The acceptance decision follows the criteria established in advance for each use case; a good overall average must not compensate for failure to meet a mandatory requirement. The results record separately identifies criteria that were met, missed or could not be tested. If rules are subsequently improved, the original result does not retrospectively become a pass. Acceptance testing is repeated with another, previously unused document set under the same agreed conditions. If limitations remain, they must be explicitly documented as accepted limits of use before selection.
- Keep the acceptance test set separate from configuration, training and rule optimisation until the test date.
- Formally document the configuration and permitted processing steps before the run.
- Use identical input files, tasks and repeat-run rules for all candidates.
- Confirm improvements only through a new acceptance run using further unseen documents.
Reuse the test set for quality checks after updates
After selection, retain the validated test set as a version-controlled reference for ongoing DMS operation. This includes unchanged original files, approved expected values and the most recently accepted processing results. Also document the version of the OCR component, extraction rules and relevant settings. This allows later deviations to be linked to a change rather than confused with variations in test data. If the set contains personal or confidential information, this reference repository also needs controlled access and a defined retention period.
Repeat the reference run before releasing changes into production that could affect recognition, such as an OCR update, a change of extraction model or adjustments to image pre-processing. Compare the results with the approved baseline and investigate in particular documents that were previously processed correctly but now show errors. For hosted services, establish how changes are announced and what testing options are available. If model versions cannot be fixed, regular reference runs help detect shifts in quality even without a visible DMS update.
Add new document layouts and error cases discovered during operation to the set in a controlled way; they should not silently replace the existing reference. Maintain a stable core alongside separately versioned additions. Changes to expected values require a business justification and approval so that declining quality is not concealed by adjusted expectations. Each test run should lead to a documented decision: approve the change, make targeted improvements or temporarily suspend the affected automation.