0% found this document useful (0 votes)
89 views26 pages

Pankaj - Wipro

sdd

Uploaded by

Abhishek Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views26 pages

Pankaj - Wipro

sdd

Uploaded by

Abhishek Gupta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

Test Automation Tools and Frameworks

Wipro confidential Copyright 2007 Wipro Ltd

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

Test Automation: Introduction


Automation: Facts

Automation: Myths

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 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

Maturity of Automation Testing

Test Automation Tools Market Trends

Wipro confidential Copyright 2007 Wipro Ltd

Vendor Based Tools

Source

:
6

Freeware Tools
FEATURES/Tools Open Source OS Supported Ease of Use Scripting language Documentation Support Selenium Yes Windows, Linux or Mac Good Java/.net/Ruby Average User Group Sahi Yes OS Independent. Needs Java 1.4+ Good Java Average User Group Watij/r/n Yes windows Very good Java/.net/Ruby Average User Group

Building a Test Automation Framework

Wipro confidential Copyright 2007 Wipro Ltd

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

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 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

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 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

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

Test Script Modularity Framework


The test script modularity framework requires the creation of small, independent scripts that represent Modules Sections Functions

17

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

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

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

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

Hybrid Test Automation Framework

22

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

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

Question?

25

Thank You

URL: www.wipro.com/testing Contact us at: [email protected]


26

You might also like