How would you test an audit trail for electronic records and signatures?
Answer
Verify that creation, change, deletion and signature events capture who did what, when, to which record and, where required, why. Records must be secure, time-consistent, attributable and linked to the original value without ordinary users altering history. Test access, search, export, retention, clock handling, failed actions and review workflows.
Strong answer includes
- captures actor, action, time, object and reason
- protects original records and history
- covers access, retention and review
Practical example
Testing an e-signature workflow for lab results, the QA engineer changes a result value and confirms the audit trail logs the old value, new value, user ID, timestamp and a mandatory reason-for-change comment — then tries editing the record directly in the database to confirm the application layer, not just the UI, blocks unauthorized history tampering. They also set the server clock back an hour and verify the system rejects the invalid timestamp instead of silently logging an out-of-order event.