Automation n Scrum
-
Upload
feartheoneonly -
Category
Documents
-
view
218 -
download
0
Transcript of Automation n Scrum
-
7/28/2019 Automation n Scrum
1/16
2007 IBM Corporation
Test Automation Process
Santhi Krishna Gogineni
Sriharirao Kuchi
-
7/28/2019 Automation n Scrum
2/16
IBM Global Business Services
2003 IBM Corporation2
Agenda
Test Process
Pre-requisites for Automation
When to Automate
When not to Automate
Automation Process
Challenges
Benefits of Automation Framework
Framework Design
Framework Features
Pros and Cons
Metrics
Test Automation Process in Agile Environment
-
7/28/2019 Automation n Scrum
3/16
IBM Global Business Services
2003 IBM Corporation3
Test Process
Functional Requirements
Test Plan
Test Case Design
Test Case Review
Test Script Design
Test Script Review
QA/Regression Testing
Defect Logging
-
7/28/2019 Automation n Scrum
4/16
IBM Global Business Services
2003 IBM Corporation4
Pre-requisites for Automation
Need skilled people with programming skills.
Requires ample time to design proper framework.
Allocate sufficient time to create reusable functions and procedures.
-
7/28/2019 Automation n Scrum
5/16
IBM Global Business Services
2003 IBM Corporation5
When to Automate
Spending a lot of time by testing manually.
Regression test is essential.
Check the functionality with huge set of data.
Verify database which contains additional data.
Test application with in less time.
Code coverage is vast.
Life span of the product is long.
-
7/28/2019 Automation n Scrum
6/16
IBM Global Business Services
2003 IBM Corporation6
When not to Automate
Application is not stable.
Regression test is not necessary.
Main Application has lot of interdependency with other Applications which in turn
cannot be automated. Time and resources are a constraint.
Complexity of Application.
Customized applications with short life span.
-
7/28/2019 Automation n Scrum
7/16
IBM Global Business Services
2003 IBM Corporation7
Automation Process
Decide and Design the framework.
Test Cases / Business flows should be in place.
Based on the number of flows and their size, effort estimation is prepared.
Testers are involved in effort estimation process.
Start automation when Test cases / business flows are in place and AUT is ready
with required functionality.
Implement the framework by developing user defined functions / procedures andreusable actions required by the framework.
Begin automating the scripts by means of the framework.
Review the completed scripts.
Upload the scripts to repository.
Use the repository to check the sanity of the script against the AUT.
By following the above process, hidden bugs can be exposed and scripts will be upto date.
-
7/28/2019 Automation n Scrum
8/16
IBM Global Business Services
2003 IBM Corporation8
Automation Process Contd
Defect found during regression should be logged in defect tracking tool.
Test execution reporting should be submitted to the stakeholders.
Metrics analysis should be done.
Defect trend analysis helps the team to understand the stability of the product.
Enhancements or GUI changes should be handled with proper documentation.
Based on the enhancement / change, scripts must be tweaked.
As and when need arises required set of scripts can be executed.
Regression testing is run in a batch in unattended mode.
Results can be emailed to the specified mail id.
-
7/28/2019 Automation n Scrum
9/16
IBM Global Business Services
2003 IBM Corporation9
Challenges Evolving application
Choose an appropriate framework which helps in minor modifications to the scripts.
Repository crash
Design the framework in such a way that there is less dependency on the object
repository. Object identification
Framework design should support run time object identification.
Team is inexperienced
Train the team on required skill set and mentor them with the help of seniorresources.
Team is new to framework
Involve the team from design phase of the framework.
Brain drain
Create back up resources.
-
7/28/2019 Automation n Scrum
10/16
IBM Global Business Services
2003 IBM Corporation10
Benefits of Automation Framework
Easy maintenance and enhancement.
High degree of reuse.
Change in application GUI or business flow requires minimal changes to the
specific Business function script. Reduces duplication of effort in creating test scripts.
Minimizes script maintenance.
Manual entry of data is substituted with parameterization.
-
7/28/2019 Automation n Scrum
11/16
IBM Global Business Services
2003 IBM Corporation11
Framework Design
Batch Script
Driver Scripts
Actions
Functions
Object Repository
Constants File
Language Files
Reusable Actions
Datasheet
-
7/28/2019 Automation n Scrum
12/16
IBM Global Business Services
2003 IBM Corporation12
Framework Features Set of scripts that execute regression testing.
Covers functionality and business scenarios.
Supports testing the application in Multiple languages. Contains library of reusable functions, which is easy to expand and maintain.
Test suite also gives the flexibility to run specific tests.
Test scripts within the tests can be reused across other tests without or fewmodifications.
Object Properties can be changed without changing the script.
Flow can be changed without affecting the Object Properties.
New Languages can be added with minimal changes to the script.
-
7/28/2019 Automation n Scrum
13/16
IBM Global Business Services
2003 IBM Corporation13
Pros :
High degree of reuse and scalable.
Additions, deletions, and updates to the functions are minimal.
Fastest mode of execution.
Same set of scripts can be run on Multiple languages and configurations.
Coverage is more than 98%.
With framework in place, script automation made faster.
Not dependent on existing data.
Cons:
Difficult to debug.
Pros and Cons
-
7/28/2019 Automation n Scrum
14/16
IBM Global Business Services
2003 IBM Corporation14
Metrics
Number of Test cases automated for one language 1731.
Time taken before automation 40 person days.
Time taken after automation 1 person day.
-
7/28/2019 Automation n Scrum
15/16
IBM Global Business Services
2003 IBM Corporation
QA Backlog
Cycle Start
Iteration
Cycle End
Iteration Planning
Process Iteration Start
Test Case Design
Test Case Review
Test Script Review
QA/Regression Testing
Test Script Design
Iteration End
Update Defect Backlog
Test Automation Process in Agile environment
-
7/28/2019 Automation n Scrum
16/16
IBM Global Business Services
2003 IBM Corporation16
Q & A