automation life cycle
DESCRIPTION
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 - PowerPoint PPT PresentationTRANSCRIPT
April 19, 2023
Automation Life Cycle
© Copyright 2010 InterGlobe Technologies 2
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
© Copyright 2010 InterGlobe Technologies 3
Phases of Automation
Our test automation life cycle follows the processes as shown below:
© Copyright 2010 InterGlobe Technologies 4
Test Automation Assessment
► Analyzing the application for automation feasibility
► Identifying the tools
© Copyright 2010 InterGlobe Technologies 5
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
© Copyright 2010 InterGlobe Technologies 6
Automation Implementation Life Cycle
© Copyright 2010 InterGlobe Technologies 7
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
© Copyright 2010 InterGlobe Technologies 8
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.
© Copyright 2010 InterGlobe Technologies 9
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…
© Copyright 2010 InterGlobe Technologies 10
Contd…
► Document standards in areas such as comment and indentation
are followed:Naming ConventionsScript naming ConventionsVariable naming Conventions
Scripting StandardsScript ReadabilityScript ModularityException handlingError Logging
Code StandardsCommentsIndentationCode Organization and StyleUse standard header templates
Automation Engineer
© Copyright 2010 InterGlobe Technologies 11
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
© Copyright 2010 InterGlobe Technologies 12
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.
© Copyright 2010 InterGlobe Technologies 13
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…
© Copyright 2010 InterGlobe Technologies 14
Automation Suite Execution and Result Analysis
Automation
Engineer
Manual
Test Engineer
Test Result Log
1. Executes the Test scripts
2. Analyses the results
Updates the Test data and scripts are Re executed
Failure due to Test Data
Failure due to script error
Failure due to Application defect
Updates the script and Tests are Re executed
Automation
Engineer
Automation
Engineer
Manual
Test Engineer
Automation
Engineer
Discusses the defect with the Manual Functional QA*
Verifies the failure and in case it is verified logs the Defect in MQC
Updates the Manual/Functional QA
Test Log is generated having Pass/Fail status
Automation
Engineer
* Functional QA will consult with SME
© Copyright 2010 InterGlobe Technologies 15
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 GuideContd…
© Copyright 2010 InterGlobe Technologies 16
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.
Contd…*Manual test suite will also be updated
© Copyright 2010 InterGlobe Technologies 17
Automation Suite Maintenance
Automation
Engineer
Updates Enhancements in a release
Functional Test Lead1. Analyze and feasibility study of the enhancement2. Impact of enhancement implementation
Incorporate enhancement in Automation suite
Create Plan, Approach for enhancing suite
Automation
Engineer
Not Feasible
Feasible
Communicates to the stakeholders
Execute regression suite with Enhanced Scripts
© Copyright 2010 InterGlobe Technologies 18
Thank you!