
How Much Effort Do You Need for User Acceptance Testing?
Key Takeaways
- Risk-based UAT must be traceable to uniquely numbered URS and the configured intended use, satisfying Annex 11 lifecycle traceability while aligning with 21 CFR 211.160(b) expectations for scientific soundness.
- A dedicated UAT plan can justify scope, environment equivalence, script sequencing, and exclusions, enabling efficient review by QA/QAU, auditors, and inspectors without duplicating the validation plan.
This "Focus on Quality" column completes a trilogy of columns starting with writing testable and verifiable user requirements and then leveraging a supplier’s software development into your validation.
Computerized System Validation (CSV) is often claimed to be focused on GMP: Great Mountains of Paper. Really? If you think that, you haven’t complied with the laboratory regulation for scientific soundness in 21 CFR 211.160(b). Bad boys and girls!
This column focuses on testing a GAMP® software category 4 spectrometer system and the documented evidence required to demonstrate that testing was performed by a regulated laboratory.1
This “Focus on Quality” column completes a trilogy of columns starting with writing testable and verifiable user requirements and then leveraging a supplier’s software development into your validation.2,3
Validation of a GAMP® category 3 software using a single Integrated Validation Document (IVD) has already been discussed in an earlier column and article.4,5 We are excluding Artificial Intelligence and Machine Learning (AI/ML) and Cloud (XaaS) computing from our discussion.
The challenge here is to find the balance between efficiency of writing and executing user acceptance testing (UAT) with adequate regulatory compliance:
- Detailed test instructions are time-consuming to write, execute, collate evidence, and review.
- Vague or incomplete testing instructions could jeopardize reproducibility, causing different test outcomes.
Given the above, one of the problems is the utterly conservative and risk-averse nature of some Quality Assurance (QA) departments.QA may not have IT expertise; however, some experienced QA may take a conservative approach. To learn from theStason and Tender warning letters, FDA required:
Provisions for oversight from Quality Assurance (QA) managers, executives, and internal auditors with appropriate information technology (IT) expertise... 6–8
The “easy way” is to overdocument instructions and print screenshots and test evidence, hoping, deep down, that the quantity would impress inspectors and auditors. However, quantity disables an inspector's ability to identify the core of the problem: “nobody will complain that there is too much documentation.” This is wrong and this column will discuss ways to satisfy audit/inspection outcomes and improve the situation at both levels:
- Test efficiency
- Test effectiveness.
The Big Picture
Figure 1 shows the overview of a laboratory CSV project within a Pharmaceutical Quality System: there is
- A quality manual.
- An SOP for analytical instrument qualification and system validation (AIQSV) based on the current and draft update of United States Pharmacopeia (USP) <1058> and the European Compliance Academy (ECA) AIQSV guide.9–11
- A suggested SOP is for qualification and maintenance of the different types of spectrometers along with the system logbook and any applicable analytical procedures.
These elements are shown in yellow.
Turning to the validation of an individual spectrometer and the application software, we have:
- The Validation Plan (VP) and Validation Summary Report (VSR) (blue).
- User requirements specification (URS) and the SOP or user manual defining the intended use (green). The same instrument can be used very differently and the user SOP is dependent on intended use and not the other way round.
- Our focus is on the UAT for an on-premises spectroscopic system, the elements of which are shown in purple:
- UAT plan defining the system, test environment, test scripts, and so on.
- The test scripts and test cases.
- When test cases are executed, the primary and secondary test evidence is created.
- The outcome of the UAT can be either contained in a UAT summary report or form part of the overall system VSR.
Scope and Purpose
Our scope in this column is UAT (also called Performance Qualification (PQ) or Requirements Testing) covering a test plan, test scripts, and documented evidence as well as test report or VSR. UAT is performed to demonstrate intended use of the system. FDA mentions UAT as:
- A phase of testing in which users test the electronic system to ensure required tasks can be performed according to specifications.
- User acceptance testing helps ensure that the program aligns with user expectations and business needs before it is officially deployed.12
Reiterating our earlier statement, we are avoiding the confusion of using PQ as the term can mean different things depending on whether we are discussing analytical instrument qualification (AIQ) or computerized system validation (CSV).
Additionally, regulations use different terms such as test protocol [EU GMP Annex 11, clause 4.1], test script [draft update of Annex 11, clause 9.7], test case [draft update of Annex 11, clause 9.5], and test scenarios [EU GMP Annex 11, clause 4.7].13,14 Test script is the term we use throughout this column.
Following Figure 1 that shows a CSV project within a regulated user’s PQS. Figure 2 provides more detail about UAT within the context of a spectroscopic system validation, along with the role of the supplier.
Good validation practice requires that the system under test is:
- Defined by uniquely numbered testable or verifiable user requirements that match the way(s) a laboratory will select and use the system to comply with EU GMP Annex 11 clause 4.4: User requirements should be traceable throughout the life-cycle.13 These are derived from the business and process(es) that the system automates.
- After installation and qualification of the system, key users are trained first to understand how the system works and afterwards play with the system to reinforce the training
- Then users should prototype the workflows to understand how the system works to meet URS and business needs
- Following this, configuration settings are documented, traceable to user requirements and are under change control.
- UAT will be undertaken on a configured system against the user requirements.
- Where appropriate, leverage supplier software development and testing to reduce in-house effort.3
In more detail, the lifecycle approach from specifications to UAT execution elements incorporating risk management is shown in Figure 3.
What Are You Validating?
All validation documents must identify the name of the application and version number under test. This is critical over the lifetime of the system and especially when handling system upgrades.
Key to any validation is the definition of intended use; it is important that the URS and Configuration Specification (CS) reflect this. Both are living documents and should be updated through UAT execution as more understanding of the software is gained.2
Who Are the Ultimate Readers of Test Documents?
Answers to this question may include system owner and process owner, laboratory Subject Matter Experts (SMEs), users, Quality Assurance (QA) or Quality Assurance Unit (QAU), Information Technology (IT), auditors, and inspectors.13 However, the most important, in our view, are auditors and inspectors. Test documentation needs to provide documented evidence that the overall UAT execution and documentation provides confidence that the system meets its intended use, but certainly not in terms of great mountains of paper.
UAT Plan
There is no FDA or EU GMP or OECD or FDA GLP regulation prescribing a UAT plan. However, we recommend writing one as it provides a complete overview of the UAT and is useful to describe and justify the risk-based approach to QA or QAU, auditors and inspectors. This document is not a rehash of the validation plan; it is an overarching document that defines the following and is based on the Institute of Electrical and Electronics Engineers (IEEE) standard 829.15
- Test System: Brief description of the spectrometer, any accessories, workstation, application software name with version number and, if implemented, network access and data storage. The system should also be installed, qualified and configured with and any interfaces to other systems included in the scope of testing.
- Test Environment: For most spectrometers, the UAT must be conducted using the production system. Ensure that the validation data are separated (for example, a separate folder or directory) from routine analytical data as you may want to reuse them for regression testing when the software is updated. However, if a training instance is to be used for the testing, the differences between the production and training system need to be documented and some testing conducted to demonstrate equivalence between the two.16
- Test Suite Overview: A diagram of the overall test script suite is an excellent way to understand the scope of testing, relationships between individual test scripts and the time sequence of execution. For example, some test scripts generate audit trail entries and must be executed before a later test script checks that appropriate entries have been created.16
- Test Scripts: Test scripts (both number and title) are listed in tables together with the corresponding user requirements under test. This helps ensure requirements traceability and compliance with Annex 11 clause 4.4.13
- Functions not to be Tested: The computer platform, operating system, database (if used), and any middleware will have been qualified earlier in the lifecycle and will only be implicitly tested during the UAT.Reference to these qualifications is part of the test report/VSR.
- Assumptions, Exclusions and Limitations: The intended use as defined in the URS and CS is tested; however, we want to optimize and focus the amount of in-house testing. This can be achieved by:
- Leveraging the supplier’s software development and testing; for example, GAMP® Software Category 3 functions that are parameterized will not be explicitly tested, and the supplier audit report will be referenced.
- Any standard functions used are implicitly tested within the scope of processes or process steps (see Figure 3).3
- Software modules not used will be excluded from testing with proper justification
- There is limited testing of access privileges per user role as this is standard functionality and is documented in the configuration specification
- If no user has deletion privileges, exclude from testing
- Calibration calculations not used are excluded. For example, if a spectrometer is used for identity testing, why validate the calibration models in the software?
Note: assumptions, exclusions and limitations are also identified and documented in each individual test script as you write test execution instructions for a specific workflow.
The UAT test plan should have QA or QAU approval. However, it is debatable if QA or QAU pre-execution approval of individual test scripts adds any value to a validation project as QA or QAU is not a business SME. In our view, rather than pre-execution approval by QA, enforce peer review by a knowledgeable business SME. Post-execution review by QA or QAU after a laboratory second-person review by an SME is mandatory.
Having defined the overall test plan, we can now look at the regulations that encompass UAT.
GXP Regulations for Testing
One of the most important requirements of the pharmaceutical industry is the necessity of documenting any regulated testing activity.
For example, a basic GXP principle requires documenting work to enable a peer to review these activities.17–19 This review requires traceability and attribution (two of the ten ALCOA++ criteria) of all activities, as well as evidence justifying their execution.20
21 CFR 211.160(b) requires that any work in a laboratory is scientifically sound:
Laboratory controls shall include the establishment of scientifically sound and appropriate specifications, standards, sampling plans, and test procedures …21
Regulations also mandate testing evidence for an application and Table 1 lists GMP and GLP regulations for UAT. Some applicable clauses from industry and regulatory guidance documents will be discussed later to provide further insight about UAT execution and documentation.
Key points to note in Table 1 are:
- The lunacy of the draft update to EU GMP Annex 11 clause 9.4 mentioning “…screen dumps” is in direct contradiction to the need for test efficiency
- Testing based on process knowledge and intended use of the system: traceability of tests to requirements and implicitly application configuration settings
- Sufficient detail to ensure correct and repeatable test execution by trained users
Understanding the 4Es of Testing
To help write good test execution instructions you should understand the 4Es of software testing.23 The 4Es are shown in Figure 4 and discussed below. Note that we have changed one E from Economical to Efficient:
- Effective: demonstrating the system tested meets the requirements defined in the URS. Comprehensive and not minimalistic. You are testing software, not chemistry. (See Figure 1)
- Efficient: tests are quick to design and quick to perform. We will focus mainly on efficiency in the rest of this column: not wasting time and resources for testing but still ensuring that the system meets the intended use requirements and regulatory requirements.
- Exemplary: test more than one user requirement in the test script, where feasible. This is important: rather than having many test scripts each testing a single requirement, group similar requirements into a single test script for a specific workflow. For example, start a test with acquisition of a spectrum, then comparison with a standard and interpretation, through to the reportable value and transmission to a LIMS via an interface. This results in a single test script with multiple requirements tested.
- Evolvable: test scripts can be updated easily and quickly to cope with changes in new versions of the software and changes in the user interface. This is especially important when you are on the validation treadmill with a Software as a Service (SaaS) instance and (unwanted) updates that can come every 3–4 months.
Quick to Write, Quick to Execute
Efficient tests stem from simply written, realistic, and testable requirements.2 BUT writing depends on the writer’s knowledge of the software. A creator of the test script needs to be a knowledgeable SME and trained in use of the system: poor application knowledge results in poor test execution instructions.1 and poor test outcomes.
Think of test scripts as an investment; they should be able to be reused or modified (Evolve) following an application upgrade, for example, for regression testing.
Trained Users Are Critical for any UAT
We have mentioned training before, and this is deliberately reiterated here:
Trained users of a system are essential for the successful design, writing and execution of any UAT.
They have knowledge of functionality of the configured software and applicable testing limits. Trained analysts and, where appropriate, IT and laboratory administrators must define test scripts, test execution instructions based on user requirements, expected results and acceptance criteria. They usually have no knowledge of the supplier’s software development and testing and can take, for example, a black box approach to define expected results.1 This process may be aided by CSV staff, external contractors, and consultants.
However, the regulated spectroscopy laboratory is accountable and owns the validation.
Role of Management
Management must allow sufficient time and resources to train key users and allow them to understand how the system works. For any new application, for example, a spectroscopic instrument data system, Laboratory Information Management System (LIMS), or Laboratory Execution System (LES), particularly where there is no previous experience, training is a mandatory requirement. Effective training of the laboratory SMEs and validation team members who will be testing the system is in scope.Additionally, laboratory and IT administrators may require different training. This is an investment in obtaining a return on the investment from the system.
Remember the FDA requirement from the Stason and Tender warning letters for management … with appropriate information technology (IT) expertise.6,7 This is critical to the success of any CSV project within a PQS. Cutting or rushing the training will result in delays as more detailed test instructions will be required and there may be multiple test errors due to user inexperience.
Training should be for a user, supervisor or reviewer and a laboratory administrator; IT administration training may also be required. Typically, training would be performed by the supplier. Don’t train the trainer to save money. Training is an investment in system success.
Playing with the Software and Prototyping Workflows
As Figure 2 depicts, immediately after installation and training, the trained SMEs should play with the software to reinforce their training effectively. This may include data acquisition, use of any instrument accessories such as probes, data processing, setting up any custom calculations and reports.
Understand the data generated, processed and stored by the system and its limitations.
- Can the system discern invalid and altered records?
- What data vulnerabilities are there?
- Can software configuration reduce them?
- How easy is it to break the system?
Then prototype configuration settings to explore new ways of efficient working while ensuring data integrity, for example, electronic (yes, please!) or hybrid (no, thank you!) system, standalone or interfaced?
Show any proposed workflows to the user community for their buy-in and QA or QAU to get their feedback and make any modifications. Ensuring data integrity and regulatory compliance are critical here! At the end of the prototyping phase there should be an application Configuration Specification of the application. No further formal documentation (i.e. configuration setting and process flows) is required during prototyping, but you would have written that in the validation plan, wouldn’t you?
It is mandatory to test the system with the agreed configuration settings and linked with any updates to the URS.2
How Much Test Effort and Data Are Enough?
Answering this question requires a risk-based approach when formalizing processes, specifying and justifying the required documented evidence.
First let’s look up the definition of evidence in reference dictionaries and then center more on spectroscopy UAT documented evidence requirements.
- The facts, signs or objects that make you believe that something is true 24
- Facts, information, documents, etc. that give reason to believe that something is true25
Nothing in these definitions specifies the format of the evidence.
We will use the following definitions:
- Test Evidence: Recorded or documented test observation
- Record or Data: Content of the recorded observation; possibly electronic records generated during test execution together with any contextual metadata. Or in the words of EU GMP Chapter 4: Records: Provide evidence of various actions taken to demonstrate compliance with instructions 17
- Document: Test document; for example, UAT Plan, Test Script, UAT Report, …
Primary and Secondary Test Evidence
To achieve efficient test instructions, we need to consider how test evidence is generated and collated. One of the added values of GAMP® 5 Second Edition is the emphasis put on the clear differentiation between primary and secondary test evidence in Section 8.5.3.1
- Primary Test Evidence: Observations recorded by the tester or electronic records generated by the system under test, for example, data and metadata
- Secondary Test Evidence: Collection and review of secondary test evidence such as printouts and screenshots which should only be considered when:
- There is no other way of recording the result
- The result is only visual
- A PDF comparison function is used to identify before and after changes in records.1
- Data Integrity can be ensured
Similarly, the FDA Computer Software Assurance (CSA) guidance supports using digital documented evidence stating:
As a least-burdensome approach, FDA recommends incorporating the use of digital records, such as system logs, audit trails, and other data generated and maintained by the software, as opposed to paper documentation, screenshots, or duplicating results already digitally retained by the software when establishing the record associated with the assurance activities.26
Note FDA emphasis in bold type.
Note, screen shots and printouts as documented evidence are required by lazy or conservative test script authors rather than regulated requirements.
As shown in Table 1, draft Annex 11 (9.4) states …screen dumps. We strongly recommend following GAMP® 5 SE and FDA CSA guidance and ONLY leveraging secondary test evidence IF it adds value.1,26
Can I Get a Witness?
Should we use a witness in CSV testing? No!
The use of witnesses during testing and tester acknowledgment of adherence to test steps are not requirements and involve a significant overhead, without added benefit. … GAMP 5 SE, Section 8.5.4 and Appendix D51
The witnessing approach is strongly discouraged, specifically when a regulated spectroscopy laboratory nominates testers who are trained and experienced in testing and generate digital test evidence such as spectra, instrument control and data processing metadata and audit trail entries. A test witness would be like the parrot on Long John Silver’s shoulder but much less entertaining.
An independent peer review and fulfillment of ALCOA++ requirements, which is a regulatory requirement, is much better than a witness. However, review is performed after execution and completion by a tester.20
The only GMP requirement for a witness in US GMP is copying the master production or control record into the batch record (21 CFR 211.188(a)), which is outside the scope of this column.21
We strongly advocate involving laboratory SMEs in UAT, thereby enabling knowledge transfer between project team or supplier and the personnel who will be involved in operating the system.
Back in the Lab: Why Do We Trust the Tester?
In any regulated laboratory, work will be performed by trained analysts who will follow approved analytical procedures.
This aspect is important for our UAT discussion.
If an analytical procedure requires the preparation of a buffer or reference standard solution, there will be an instruction that, when executed, generates records to demonstrate the instruction has been followed (see Table 2).
You may ask why this is relevant to CSV test documentation.
The answer is everything.
Look at Table 2: there is one instruction and 15 actions that result from it. You have a trained analyst plus an adequate record of the work that will suffice for second-person review, QA oversight, audit or inspection.
Therefore, why does CSV need mind-numbing and excruciatingly detailed test instructions?
The simple answer is it doesn’t.
Writing Efficient Test Instructions and Executing Them
To write efficient instructions (see Figure 4), there are several phases that need to be considered and these are:
- Writing Efficient Test Instructions
- Linking Test Instructions, Expected Results and Evidence
- Good Testing Documentation Practice
- Executing the Test Script
- Test Step Pass or Fail?
- How to Document Test Incidents, Errors, or Problems
- Acceptance Criteria
Writing Efficient Test Instructions
Table 3 shows two approaches for writing UAT test instructions. Let us first compare the columns and then discuss them:
- In the left-hand column are test instructions written by risk-averse laboratories where testers may be new to the system. If the tester is unlucky, they will be required to take a screenshot to demonstrate to the world and his brother that each test step was executed; insert crying emoji here.
- In the right-hand column is a single instruction for a trained tester with no screenshot. This achieves the same outcome as the left-hand column but meets the efficient criterion of writing efficient test instructions. Yabba-dabba do and big smiling emoji!
If you still believe in screenshots, please read the section on primary and secondary test evidence earlier in this column.
A similar approach should be taken with testing analytical workflows such as identity testing or quantitative analysis. Each will have an analytical procedure which will support the instructions in the test script and use the system itself to generate test evidence.
Some suggestions for designing and writing test instructions:
- Never test released products, only use standard solutions. You don’t want to create an Out-of-Specification (OOS) result and file a field alert, do you?
- Verifying a dilution calculation? QA doesn’t want to see your abysmal dilution skills; just enter the factor into the software to check that the multiplication works.
Test software, not chemistry: it’s quicker and simpler. - Initial and date each test step or instruction? No way! Think of CSV testing like writing up a laboratory notebook: analysts and reviewers only sign at the bottom of each page.
Why do anything differently?Otherwise, the left-hand column of Table 3 beckons.
Linking Test Instructions, Expected Results and Evidence
Figure 5 shows an example of four test instructions with the expected results of each. Figure 5 also shows the expected results without the need for copious screenshots and printouts; apart from the entry of date and time, all test evidence is electronic and captured by the system. These records either remain in the application or are archived but are available for retrieval at any time. However, a system must have adequate audit trail functionality to achieve this test approach.
To aid peer review and audit of test results, the tester records the date (for example, DD Month YYYY or YYYYMMDD) and time (for example, in 24-hour clock format) at the start and end of the testing so that all electronic records generated by this test script are within this time window. Writing the start and end times also checks the time synchronization.
Tests as in Figure 5 that generate specific audit trail entries are collated together in another test script to verify the overall audit trail functionality.16 The test suite should show this relationship in the UAT plan, ideally with a time-sequenced diagram.
Good Testing Documentation Practice
This section is collated from various publications applicable for hybrid or paper approaches such as EU GMP Chapter 417, PIC/S PI 04128, GAMP 5 (first edition)29, GAMP 5 Second Edition1, and the GAMP Good Practice Guide on Testing30:
- Handwritten entries should be made in a clear, legible, and indelible way (EU GMP Chapter 4.7).17
- Avoid shorthand notations such as tick marks.
If tick marks are used, there must be a description of exactly what is meant. - Record actual values where required
- Records must be complete; ditto marks or arrows are insufficient.
- If fields on a test record are not filled out, they must be clearly marked as not applicable (NA) with a short explanation to demonstrate that the test execution has been complete.
- Corrections must be crossed out with a single line (leaving the original content readable), initialed and dated with a brief explanation.17,18
- Don’t use correction fluid and other correction techniques that obscure the original entry, but you know that, don’t you?
- All test incidents must be recorded and be traceable throughout correction and retest into final closure.
- Incident corrections may require regression testing to verify that the corrections did not introduce new problems in other areas.
- Each test case / test sequence must be concluded with a statement of whether the test met its acceptance criteria.
Executing the Test Script
The approved test script is executed, and a completed script is shown in Figure 6. A tester has completed the instructions. Note this is a paper test execution; electronic testing is also possible using an automated test tool or a Validation Management System.
Lo and behold, not a printout or a screenshot in sight! Testing nirvana!!
Some organizations change the observed results to a question: Is the observed result the same as expected result, allowing a Y or N (substitute any local language variations). Take care with this option as testers can become lazy.
Test Step Pass or Fail?
Typically, when a test is executed, the result is either pass or fail which are easy to understand. In many validations audited it is common to fail a test step and then argue that it is OK because of extenuating circumstances. This is testing (or arguing) into compliance and is the CSV equivalent to the Barr ruling.31
Some of the reasons for a test step failing are discussed in the next section.
How to Document Test Incidents, Errors, or Problems
Whatever you call it, something will usually go wrong during testing. Any issue during test execution needs to be documented, assessed, and fixed.
Note that this section has not yet mentioned the D word: Deviation. As the system is not yet operational, it can’t deviate from a process or a procedure.
- If using a paper test script, there should be a section in the document for recording test incidents and escalating them if required.
- If using a Validation Management System, a similar approach should be taken but take care that such notes are not hidden in the depths of the application but linked to the electronic test script
Knowing some of the reasons for incidents means that you can help prevent them from occurring:
- Software does not perform the function (even though you believed it did or, worse, the salesman said it did)
- Wrongly written user requirement resulting in a test instruction to nowhere
- Wrongly written test instruction (but the requirement is right)
- Poorly formulated test prerequisites or test setup
- Poorly trained user(s) who did not read or misunderstood the instructions
- Expected results poorly described
- Wrongly set acceptance criteria
If the incident is caused by one of the problems above, it might require a test script to be rewritten and reissued. Don’t discard the original in the GMP shredder as it is still part of the overall validation evidence, but you will need to discuss the test incident in the VSR.
You will be aware that software contains errors; don’t test explicitly for them as the supplier knows about them already! However, known errors, if they impact compliance or data integrity, should have documented workarounds from the supplier and may need to be incorporated in UAT if included in the system’s intended use.
Acceptance Criteria
Defining acceptance criteria for a test script is a regulatory requirement as stated in Table 1.
Performing and completing a set of test actions and achieving the expected result for each individual step is inadequate to demonstrate whether a test script has passed or failed.
Acceptance criteria outline a formal set of expected results that need to be set prior to UAT execution.1 Within a test script, they supply more than just a statement; they provide a summary of test steps including a definitive result. Example acceptance criteria for testing security and access control are shown in Figure 7.
Reviewers including QA must check the defined acceptance criteria and verify the conclusion. Coming back to what we discussed earlier, auditors and inspectors will request the acceptance criteria to see if a test script passed or failed.
Summary
In this column, we have explained how to ensure efficient and effective test documentation and to rely on primary rather than secondary test evidence. There are three main elements to consider:
The Art of Test Script Writing
- Writing efficient test instructions and in particular acceptance criteria is a skill which must be learned and practiced. Besides the required test reproducibility, it is important to focus on clear and unambiguous expected results and subsequently observations which should be concisely reported contemporaneously by the tester.
- The way test instructions and expected results are formalized plays a significant role in how each test observation can be reported. Even a complex sequence of activities and results can be unequivocally reported with a short sentence or even a few words.
- When writing test scripts focus on generating electronic test evidence rather than printouts and screenshots. Requiring secondary test evidence requires significant time to collate and review, slowing the overall UAT.
- DO NOT write test instructions for idiots
Use the System to Document Testing
- Well-written test scripts use the software to self-document the execution.1,26
- Collate UAT electronic records within a defined location in the system and don’t forget to retain these electronic records as being part of the qualification documentation.
- Review these data on screen and DO NOT print them out.
- QA or QAU, auditors or inspectors will usually require a trained user to aid their review of electronic records
- Test data may be reanalyzed in regression testing after a system upgrade to demonstrate no significant changes in operation
- What do you mean your new spectrometer system does not have an audit trail? Silly person, you did not evaluate the software properly!32
Trust the Tester and Reviewer
- We mentioned earlier how important it is to work with knowledgeable and well-trained testers: understanding how the system and process works.
- Trusting the tester does not mean there is no effective oversight in place and applying an “effective oversight” is not related to the pile of printouts generated as secondary test evidence by the tester during test execution.
- Any reviewer must be technically competent and an experienced user of the system for meaningful review of completed test execution instructions and the electronic records.
So, now you know how to write effective and efficient test execution instructions and how to use the system to collect the evidence of testing. What are you waiting for? Get on with it!
Acknowledgments
We would like to thank in alphabetical order the following reviewers who have helped improve this column: Monika Andraos, Markus Dathe, Bob Iser and Tanja Vietinghoff.
References
(1) GAMP 5: A Risk-Based Approach to Compliant GxP Computerized Systems, 2nd ed.; International Society for Pharmaceutical Engineering: North Bethesda, MD, 2022.
(2) Andraos, M.; McDowall, R. D. We Know What We Want! Why Write Requirements? Spectroscopy Online, 2026.
(3) Lotfinia, M.; McDowall, R. D. How Do I Leverage a Supplier’s Software Development in My Spectrometer Validation? Spectroscopy 2026, 41 (4), 6–10.
(4) McDowall, R. D. Simple Spectrometer System, Simple Validation? Spectroscopy 2023, 38 (11), 16–19. DOI:
(5) McDowall, R. D. Validation of Commercial Computerised Systems Using a Single Life Cycle Document (Integrated Validation Document). Qual. Assur. J. 2009, 12, 64–78. DOI:
(6) U.S. Food and Drug Administration. Warning Letter: Tender Corporation; MARCS-CMS 599789; July 23, 2020.
(7) U.S. Food and Drug Administration. Warning Letter: Stason Pharmaceuticals, Inc.; MARCS-CMS 604889; July 8, 2020.
(8) McDowall, R. D. Do You Really Understand the Cost of Noncompliance? Spectroscopy 2020, 35 (11), 13–22.
(9) United States Pharmacopeia. General Chapter <1058> Analytical Instrument Qualification. In USP–NF; United States Pharmacopeial Convention: Rockville, MD, 2017.
(10) United States Pharmacopeia. <1058> Analytical Instrument and System Qualification (Proposed Revision). Pharmacopeial Forum 2025, 51 (2).
(11) ECA Analytical Quality Control Group. Guide for an Integrated Lifecycle Approach to Analytical Instrument Qualification and System Validation, Version 1.0; ECA Foundation, 2023.
(12) U.S. Food and Drug Administration. Electronic Systems, Electronic Records, and Electronic Signatures in Clinical Investigations: Questions and Answers; Guidance for Industry, Revision 1; Silver Spring, MD, 2024.
(13) European Commission. EudraLex, Volume 4: Good Manufacturing Practice (GMP) Guidelines, Annex 11: Computerised Systems; Brussels, 2011.
(14) European Commission. Stakeholders’ Consultation on EudraLex Volume 4 – Good Manufacturing Practice Guidelines: Chapter 4, Annex 11 and New Annex 22; Brussels, 2025.
(15) Institute of Electrical and Electronics Engineers. IEEE Standard for Software and System Test Documentation; IEEE Std 829-2008; New York, 2008. DOI:
(16) McDowall, R. D. Validation of Chromatography Data Systems: Ensuring Data Integrity, Meeting Business and Regulatory Requirements, 2nd ed.; Royal Society of Chemistry: Cambridge, U.K., 2017. DOI:
(17) European Commission. EudraLex, Volume 4: Good Manufacturing Practice (GMP) Guidelines, Chapter 4: Documentation; Brussels, 2011.
(18) U.S. Food and Drug Administration. 21 CFR Part 58, Good Laboratory Practice for Nonclinical Laboratory Studies; 1978.
(19) Organisation for Economic Co-operation and Development. OECD Principles on Good Laboratory Practice; OECD Series on Principles of Good Laboratory Practice and Compliance Monitoring, No. 1; OECD: Paris, 1998. DOI:
(20) McDowall, R. D. Is Traceability the Glue for ALCOA, ALCOA+, or ALCOA++? Spectroscopy 2022, 37 (4), 13–19. DOI:
(21) U.S. Food and Drug Administration. 21 CFR Part 211, Current Good Manufacturing Practice for Finished Pharmaceuticals; 2008.
(22) Organisation for Economic Co-operation and Development. Application of GLP Principles to Computerised Systems; OECD Series on Principles of Good Laboratory Practice and Compliance Monitoring, No. 17; OECD: Paris, 2016.
(23) Fewster, M.; Graham, D. Software Test Automation: Effective Use of Test Execution Tools; Addison-Wesley: Harlow, U.K., 1999.
(24) Evidence. Oxford Learner’s Dictionaries; Oxford University Press.
(25) Evidence. Cambridge Dictionary; Cambridge University Press.
(26) U.S. Food and Drug Administration. Computer Software Assurance for Production and Quality Management System Software; Guidance for Industry and Food and Drug Administration Staff; Silver Spring, MD, 2026.
(27) McDowall, R. D. Does CSA Mean “Complete Stupidity Assured?” Spectroscopy 2021, 36 (9), 15–22, 58. DOI:
(28) Pharmaceutical Inspection Co-operation Scheme. PIC/S Guidance: Good Practices for Data Management and Integrity in Regulated GMP/GDP Environments; PI 041-1; Geneva, 2021.
(29) GAMP 5: A Risk-Based Approach to Compliant GxP Computerized Systems; International Society for Pharmaceutical Engineering: Tampa, FL, 2008.
(30) GAMP Good Practice Guide: A Risk-Based Approach to Testing of GxP Systems, 2nd ed.; International Society for Pharmaceutical Engineering: Tampa, FL, 2012.
(31) Davis, R. J. Judge Wolin’s Interpretation of Current Good Manufacturing Practice Issues Contained in the Court’s Ruling United States v. Barr Laboratories. In Development and Validation of Analytical Methods; Riley, C. M., Rosanske, T. W., Eds.; Progress in Pharmaceutical and Biomedical Analysis, Vol. 3; Pergamon: Tarrytown, NY, 1996; p 252. DOI:
(32) Smith, P. A.; McDowall, R. D. Analysis of FDA Infrared 483 Citations: Have You a Data Integrity Problem? Spectroscopy 2019, 34 (9), 22–28.
Related to this article








