Ready to fix validation chaos? Book Review
Testing and Evidence

GxP Software Test Scripts: Positive, Negative, and Boundary Cases

\1.

It challenges normal use, invalid input, boundary conditions, permissions, and failure handling in proportion to the risk.

Start from an acceptance criterion

Each test should have a reason. State the requirement or risk, the objective, the preconditions, and the expected result before execution. This lets the reviewer see what the test is meant to establish.

A test that says 'verify functionality' is not an acceptance criterion. Define the state before the action, the action itself, and the observable result after it.

Cover the normal path

The positive case proves that an authorised user can complete the intended workflow with valid data. Include the record created, status transition, calculation, notification, or signature manifestation that matters to the process.

Do not confuse a screen appearing with a process working. Follow the output to the next controlled step when the risk crosses an interface or approval boundary.

Challenge rejection and permissions

Negative cases test what the system must refuse or flag. Examples include missing mandatory fields, invalid formats, duplicate identifiers, an expired session, an unauthorised role, or an attempt to approve a record outside the user's scope.

A rejection test should verify both the user-facing response and the underlying record or audit event where relevant. A polite error message is not enough if the system has already saved the bad transaction.

Test boundaries and recovery

Boundary cases use the smallest, largest, earliest, latest, empty, and just-outside-valid values defined by the requirement. Recovery cases cover interruption, retry, interface delay, and restoration when those conditions could affect a GxP record.

Choose boundaries from the process and specification. Do not invent extreme values that have no relationship to intended use simply to make a longer script.

Make evidence reviewable

Capture the environment, user role, test data, date, actual result, evidence reference, and tester identity. Record failures as they occur. If a test is repeated after a correction, preserve the original result and link the retest.

CaseQuestion answeredExample
PositiveCan the intended action work?Authorised reviewer approves a complete record.
NegativeDoes the system prevent a prohibited action?Unapproved user cannot release the record.
BoundaryDoes the rule hold at its limit?Value at and just beyond the allowed range.
RecoveryCan the process remain controlled after interruption?Retry does not duplicate or lose a transaction.

FAQ

Should testers use production data?

Use controlled test data unless a documented, approved reason requires otherwise. Protect personal and confidential information.

Can exploratory testing be validation evidence?

It can produce useful evidence when the approach, tester, scope, observations, and conclusions are recorded. Formality should match risk.

What makes a test objective?

Another qualified reviewer can understand what was done, what was expected, what happened, and which record proves it.

Do all tests need screenshots?

Not necessarily. Retain the evidence needed to prove the result, which may be a system record, report, log, or screenshot.

Decision rule: choose evidence from the consequence of failure, the control being relied on, and the ability to detect a problem. A larger document set is not automatically stronger. Clear scope, reproducible evidence, and an approved conclusion are what make the decision defensible.

Keep the rationale with the controlled record. Future reviewers should be able to see what was considered, what was tested or reviewed, what remains uncertain, and who accepted the residual risk.

During review, compare the approved requirement with observed use, current configuration, and retained evidence. That simple comparison often finds drift before an auditor does.

For related work, read our validation traceability matrix guide.

Bring validation work under control

VLMS Software helps healthcare teams organise validation, evidence, and audit readiness around the work that matters.

Talk to VLMS Software