Test Automation – Tools and Frameworks

Wipro confidential © Copyright 2007 Wipro Ltd

1
Topics Covered
 Test
 Test
 Test
 Test
 Test
 Test
 Test

Automation
Automation
Automation
Automation
Automation
Au...
Test Automation: Introduction
 Automation: Facts







Manual scripts needed
Ideal for regression testing
Benefits...
Maturity of Automation Testing

4
Test Automation Tools – Market Trends

Wipro confidential © Copyright 2007 Wipro Ltd

5
Vendor Based Tools

Source

:
6
Freeware Tools
FEATURES/Tools

Selenium

Sahi

Watij/r/n

Open Source

Yes

Yes

Yes

OS Supported

Windows, Linux or
Mac
...
Building a Test Automation Framework

Wipro confidential © Copyright 2007 Wipro Ltd

8
Basics for a successful framework
 Environment independent
 Modularized scripts/test data to increase robustness
 Reusa...
Test Automation Framework: Approach

10
Automation Test Strategy Guidelines
 In order to make the most of our test strategy, we need to make
it reusable and mana...
Test Automation Framework: Components

12
A Sample Framework Model

13
Test Automation

14
Successful Automation framework Pointers
 Environment independent – implemented through global data
table
 Modularized s...
Automation Framework Types
 Test automation framework is a set of assumptions,
concepts, and practices that provide suppo...
Test Script Modularity Framework
 The test script modularity framework requires the
creation of small, independent script...
Test Library Architecture Framework
 The Test Library Architecture framework is very similar to
the test script modularit...
Keyword-Driven Testing Framework

 Keyword-driven tests look very similar to manual test cases. In a
keyword-driven test,...
Data-Driven Testing Framework

 Data-Driven Testing is a framework where test input and output
values are read from data ...
Hybrid Test Automation Framework
 In this framework all types of framework is used. Following is the
standard of Hybrid T...
Hybrid Test Automation Framework

22
Summary: Critical factors for Automation success
 Treated as a critical process and supported by senior
management
 Robu...
Automation Testing Risks
 Frequent changes in the Application and Regression
test suite.
 Major technology changes impac...
Question?

25
Thank You

URL: www.wipro.com/testing
Contact us at: testing.services@wipro.com
26
Upcoming SlideShare
Loading in …5
×

Test automation wipro

2,237 views

Published on

Test automation process in project management

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,237
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
162
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Test automation wipro

  1. 1. Test Automation – Tools and Frameworks Wipro confidential © Copyright 2007 Wipro Ltd 1
  2. 2. Topics Covered  Test  Test  Test  Test  Test  Test  Test Automation Automation Automation Automation Automation Automation Automation Introduction – Learning Opportunities Practice - Overview – An understanding Framework Framework Types Strategy Guideline 2
  3. 3. Test Automation: Introduction  Automation: Facts       Manual scripts needed Ideal for regression testing Benefits come from discipline in analysis and planning Causes significant schedule impact at introduction Require more programming and design skills from testers Require continuous maintenance  Automation: Myths      High immediate ROI from automation One tool that fits perfectly Need to substitute skilled manual testers Preclude manual testing 100% Automation of all existing manual tests 3
  4. 4. Maturity of Automation Testing 4
  5. 5. Test Automation Tools – Market Trends Wipro confidential © Copyright 2007 Wipro Ltd 5
  6. 6. Vendor Based Tools Source : 6
  7. 7. Freeware Tools FEATURES/Tools Selenium Sahi Watij/r/n Open Source Yes Yes Yes OS Supported Windows, Linux or Mac OS Independent. Needs Java 1.4+ windows Ease of Use Good Good Very good Scripting language Java/.net/Ruby Java Java/.net/Ruby Documentation Average Average Average Support User Group User Group User Group 7
  8. 8. Building a Test Automation Framework Wipro confidential © Copyright 2007 Wipro Ltd 8
  9. 9. Basics for a successful framework  Environment independent  Modularized scripts/test data to increase robustness  Reusable generic functions and applications specific functions libraries.  Defined folder structure  Scripting guidelines and review checklists  Error handling and recovery techniques  Defined maintenance process  Collection and analysis of the metrics 9
  10. 10. Test Automation Framework: Approach 10
  11. 11. Automation Test Strategy Guidelines  In order to make the most of our test strategy, we need to make it reusable and manageable. To that end, there are some essential guiding principles we should follow when developing our overall test strategy:  Test automation is a fulltime effort, not a sideline.  The test design and the test framework are totally separate entities.  The test framework should be application-independent.  The test framework must be easy to expand, maintain, and perpetuate.  The test strategy/design vocabulary should be framework independent.  The test strategy/design should remove most testers from the complexities of the test framework. 11
  12. 12. Test Automation Framework: Components 12
  13. 13. A Sample Framework Model 13
  14. 14. Test Automation 14
  15. 15. Successful Automation framework Pointers  Environment independent – implemented through global data table  Modularized scripts/test data to increase robustness  Reusable generic functions and applications specific functions libraries.  Defined folder structure  Scripting guidelines and review checklists  Error handling and recovery techniques  Defined maintenance process  Collection and analysis of the metrics  Test Result Report Generation Criteria  Naming Convention and Standard 15
  16. 16. Automation Framework Types  Test automation framework is a set of assumptions, concepts, and practices that provide support for Automated Software Testing.  Basic Test automation frameworks specifically are following:  Test Script Modularity  Test Library Architecture  keyword-Driven/Table-Driven Testing  Data-Driven Testing  Hybrid Test Automation. 16
  17. 17. Test Script Modularity Framework  The test script modularity framework requires the creation of small, independent scripts that represent  Modules  Sections  Functions 17
  18. 18. Test Library Architecture Framework  The Test Library Architecture framework is very similar to the test script modularity framework and offers the same advantages, but it divides the application-under-test into two part  Procedures  Functions  These library function from the library files are then called directly to the test case script. 18
  19. 19. Keyword-Driven Testing Framework  Keyword-driven tests look very similar to manual test cases. In a keyword-driven test, the functionality of the application-undertest is documented in a table as well as in step-by-step instructions for each test.  In Keyword driven testing user input data entered by Keyboard to execute the number of test. 19
  20. 20. Data-Driven Testing Framework  Data-Driven Testing is a framework where test input and output values are read from data files (Data pools, ODBC sources, CVS files, Excel files, DAO objects, ADO objects, and such) and are loaded into variables in captured or manually coded scripts.  In this framework, variables are used for both input values and output verification values. 20
  21. 21. Hybrid Test Automation Framework  In this framework all types of framework is used. Following is the standard of Hybrid Test Automation Framework.        Test library Data driven Library function GUI library/Object Repository Test script management Configuration management (Test script modification records) Naming convention 21
  22. 22. Hybrid Test Automation Framework 22
  23. 23. Summary: Critical factors for Automation success  Treated as a critical process and supported by senior management  Robust and extendable automation framework  Clear ownership and integration of test technology and process  Rigorous measurement program to capture progress  Skilled test engineering professionals deployed with the right tools 23
  24. 24. Automation Testing Risks  Frequent changes in the Application and Regression test suite.  Major technology changes impacting the scripts  Absence of process/implementation/continuous improvement.  Resource knowledge on applications  Lack of Knowledge of Automation Programming  Implementation of the Framework 24
  25. 25. Question? 25
  26. 26. Thank You URL: www.wipro.com/testing Contact us at: testing.services@wipro.com 26

×