380 likes | 1.07k Views
Automation Life Cycle. Automation Life Cycle. Phases of Automation Test Automation Assessment Test Automation Strategy Formulation Automation Implementation Life Cycle Requirement/Enhancement Analyse Candidates for Automation Automation Framework Implementation/ Use Common Functions DLL
E N D
Automation Life Cycle • Phases of Automation • Test Automation Assessment • Test Automation Strategy Formulation • Automation Implementation Life Cycle • Requirement/Enhancement Analyse Candidates for Automation • Automation Framework Implementation/ Use Common Functions DLL • Automation Test Data and Script Creation • Automation Script Review and validation • Automation Script Integration and Testing • Automation Suite Execution and Analysis of Result • Automation Suite Maintenance
Phases of Automation • Our test automation life cycle follows the processes as shown below:
Test Automation Assessment • Analyzing the application for automation feasibility • Identifying the tools
Test Automation Strategy Formulation • Setting up Automation Scope • Setting up Automation TestPlan • Setting up Automation Approach to be followed • Estimating the time, effort and capacity needed for Automation
Requirement/Enhancement Analyse Candidates for Automation • Selecting the right test cases to automate is very critical to effective implementation. The following criteria can be considered for selecting the right test automation candidates
Automation Framework Implementation/ Use Common Functions DLL • Functional decomposition and Data driven concepts are used to build the Automation suite. • Exceptional handling and Error Logging mechanisms incorporated • Uniform Reporting for Step, Log and Error Information provide easier debugging and customized reporting. • Modular and Reusable scripts created for easy maintainability. • Test Data segregation, empowers the functional user to create scenarios based on business needs.
Automation Test Data/Script Creation • The following activities are performed: • Test Data Creation • Application Object Repository is built • Application Base State function is coded • Application dependent Reusable functions created • Script is coded using VB Script Contd…
Contd… • Document standards in areas such as comment and indentation are followed: Naming Conventions Script naming Conventions Variable naming Conventions Code Standards Comments Indentation Code Organization and Style Use standard header templates Automation Engineer Scripting Standards Script Readability Script Modularity Exception handling Error Logging
Automation Script Review and validation • Automation Scripts need to be reviewed for adherence to standards • Internal Peer Reviews/ External Reviews are conducted • The owner of the script will modify the script according to review comments
Automation Script Integration and Testing • Test Scripts are checked for stability • Test data and common functions are Integrated and tested • Scripts are integrated in MQC under respective test suites • Integrated suite is tested.
Automation Suite Execution and Analysis of Result • When executing test procedures, the test team needs to comply with a test procedure execution schedule. • Test cases are executed and the test results are logged along with the Pass/Fail status. • Following test execution, test outcome evaluations are performed and test result documentation is prepared. • Test Results are delivered using HTML Report Delivery Format Contd…
Automation Suite Execution and Result Analysis Test Result Log Manual Test Engineer Manual Test Engineer Automation Engineer Automation Engineer Automation Engineer Automation Engineer Automation Engineer Updates the Test data and scripts are Re executed 1. Executes the Test scripts Failure due to Test Data Updates the Manual/Functional QA Test Log is generated having Pass/Fail status Failure due to script error Updates the script and Tests are Re executed 2. Analyses the results Failure due to Application defect Verifies the failure and in case it is verified logs the Defect in MQC Discusses the defect with the Manual Functional QA* * Functional QA will consult with SME
Automation Suite Maintenance • Steps followed in Maintenance: • Recieve information on enhancement • Analyze feasibility study of the enhancement • Impact of enhancement implementation • Incorporate enhancement in Automation suite with steps performed above • Automation Framework Implementation/ Use Common Functions DLL • Automation Test Data and Script Creation • Automation Script Review and validation • Automation Script Integration and Testing • Automation Suite Execution and Analysis of Result • Automation release notes and User Guide Contd…
Automation Suite Maintenance When does the automation team get informed of the new enhancements? As soon as manual test cases are updated* When does the automation suite enhanced? After manual test cases are documented. *Manual test suite will also be updated Contd…
Automation Suite Maintenance Automation Engineer Automation Engineer Updates Enhancements in a release Functional Test Lead • 1. Analyze and feasibility study of the enhancement • 2. Impact of enhancement implementation Not Feasible Communicates to the stakeholders Feasible Create Plan, Approach for enhancing suite Incorporate enhancement in Automation suite Execute regression suite with Enhanced Scripts
Questions Thank you!