Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.

Slides:



Advertisements
Similar presentations
PREDICT Model for Test Automation. Does it sound familiar to you? Organization has procured test automation tools Management expectations are high Multiple.
Advertisements

Test Automation Success: Choosing the Right People & Process
Trnsport Test Suite Project Tony Compton, Texas DOT Charles Engelke, Info Tech.
HP Quality Center Overview.
Software Testing Workshop Regression Automation 11-Jul-08 COPYRIGHT NOTICE Copyright © 2008 Polaris Software Lab Limited All rights reserved. These materials.
Prashant Lambat Sr. Manager SQA Engineering Symantec Corporation, Pune Date: 29 th January 2011.
Lecture # 2 : Process Models
Test Automation An Approach to Automated Software Regression Testing Presented by Adnet, Inc Feb 2015.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Appendix.
Roadmap to Continuous Integration Testing and Benefits Gowri Selka, Walgreens Natalie Koltun, Walgreens May 20th, 2014 ©2013 Walgreen Co. All rights reserved.
© Prentice Hall CHAPTER 9 Application Development by Information Systems Professionals.
Chapter 1 Assuming the Role of the Systems Analyst
Information Systems Development and Acquisition Chapter 8 Jessup & Valacich Instructor: Ramesh Sankaranarayanan.
Chapter 1 Assuming the Role of the Systems Analyst
Cognizant Reusable Automation Framework for Testing C.R.A.F.T.
Understanding of Automation Framework A Storehouse of Vast Knowledge on Software Testing and Quality Assurance.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
© 2006, Cognizant Technology Solutions. All Rights Reserved. The information contained herein is subject to change without notice. Automation – How to.
September 2009 QTP Automation Framework. Objective  Introduction to Automation  Benefits of Automated Testing  Automated Testing Process  Introduction.
Cognizant Reusable Automation Framework for Testing C.R.A.F.T.
NYC Technology Forum Introduction to Test Automation 11/2/07 All rights reserved Not to be reproduced without permission Bill Rinko-Gay Solutions Director,
Who am I? ● Catalin Comanici ● QA for 10 years, doing test automation for about 6 years ● fun guy and rock star wannabe.
The chapter will address the following questions:
UNIT-V The MVC architecture and Struts Framework.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 1.1.
MDC Open Information Model West Virginia University CS486 Presentation Feb 18, 2000 Lijian Liu (OIM:
Business Flow Modeller (BFM) Simplify and standardize your business processes across the project lifecycle.
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Automation Fundamental Concepts &
Overview of the Database Development Process
Software Reuse Course: # The Johns-Hopkins University Montgomery County Campus Fall 2004 Session 6 Lecture # 5 – October 12, 2004.
Ihr Logo Data Explorer - A data profiling tool. Your Logo Agenda  Introduction  Existing System  Limitations of Existing System  Proposed Solution.
Model Bank Testing Accelerators “Ready-to-use” test scenarios to reduce effort, time and money.
Pertemuan 5 Pengembangan Teknologi Informasi Matakuliah: H0402/PENGELOLAAN SISTEM KOMPUTER Tahun: 2005 Versi: 1/0.
1 BTEC HNC Systems Support Castle College 2007/8 Systems Analysis Lecture 9 Introduction to Design.
What is QTP ► QTP stands QuickTest Professional ► It is an automated testing tool provided by HP/Mercury Interactive ► QTP integrates with other Mercury.
Winrunner Usage - Best Practices S.A.Christopher.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
Systems Design Approaches The Waterfall vs. Iterative Methodologies.
Exploring an Open Source Automation Framework Implementation.
MERCURY BUSINESS PROCESS TESTING. AGENDA  Objective  What is Business Process Testing  Business Components  Defining Requirements  Creation of Business.
1 Performance Optimization In QTP Execution Over Video Automation Testing Speaker : Krishnesh Sasiyuthaman Nair Date : 10/05/2012.
SE: CHAPTER 7 Writing The Program
| ©2009, Cognizant Technology SolutionsConfidential All rights reserved. The information contained herein is subject to change without notice. ©2009, Cognizant.
Framework for MDO Studies Amitay Isaacs Center for Aerospace System Design and Engineering IIT Bombay.
A – TEAM Automation Framework A-TEAM. LOGIN CREATE INDEMNITY CLAIM SET RESERVE UPDATE INDEMNITY CLAIM MAKE PAYMENT Demonstration.
1 CMPT 275 High Level Design Phase Modularization.
Chapter 6 CASE Tools Software Engineering Chapter 6-- CASE TOOLS
Software Prototyping Rapid software development to validate requirements.
CASE (Computer-Aided Software Engineering) Tools Software that is used to support software process activities. Provides software process support by:- –
Chapter 4 Automated Tools for Systems Development Modern Systems Analysis and Design Third Edition 4.1.
Design and Planning Or: What’s the next thing we should do for our project?
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Chapter 1 Assuming the Role of the Systems Analyst.
C_ITIP211 LECTURER: E.DONDO. Unit 1 : The Systems Development Environment.
Modern Systems Analysis and Design Third Edition
CASE Tools and Joint and Rapid Application Development
Understanding of Automation Framework
Computer Aided Software Engineering (CASE)
Modern Systems Analysis and Design Third Edition
Software Design and Architecture
Course Name: QTP Trainer: Laxmi Duration: 25 Hrs Session: Daily 1 Hr.
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
Tools of Software Development
Modern Systems Analysis and Design Third Edition
Modern Systems Analysis and Design Third Edition
Introduction to Systems Analysis and Design Stefano Moshi Memorial University College System Analysis & Design BIT
HP Quality Center 10.0 The Test Plan Module
Modern Systems Analysis and Design Third Edition
Presentation transcript:

Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007

2 Topics Covered Introduction to Test Automation Overview of Key-word Driven Approach Key-word Driven Approach Framework Components of Key-word Driven Approach Traditional Approach vs. Key-word Driven Approach Advantages of Key-word Driven Approach Limitations of Key-word Driven Approach Conclusion Q & A

3 Introduction to Test Automation Reduction in project cycle time generally correlates to a reduction of effort/cost for testing. Hence test automation has become an increasingly critical and strategic necessity in IT industry The traditional record and play framework fails to provide automation benefits in the long run The only solution is to come up with a well defined framework design for test automation to reduce effort/cost

4 Overview of Key-word driven approach Key-word driven definition: Key-word driven test automation also commonly known as Table Driven test automation is typically an application-independent automation framework Salient Features: In key-word driven testing, key-words are actions or tasks that are to be executed in a test Key-words, test data and any necessary GUI interface information are stored in separate spreadsheets, where they can be referenced by the main test module This keyword vocabulary would also be suitable for manual testing

5 Overview of Key-word driven approach The control table (or the main sheet of the excel file) records the key- words that describe the actions to perform Focus on automating actions as individual building-blocks that can be combined in any order to design a test Non-technical test engineers and business analysts can then define their tests as a series of these automated key-words, concentrating on the test rather than the scripting language

6 Key-word Driven Approach Framework Diagram

7 Components of Key-word Driven Approach COMPONENTSDESCRIPTION Test Management Tool  This tool stores all the test cases both manual and automated and perform the batch execution of the test scripts  Results reporting Test Execution Tool  Acts as the execution agent for the automated test cases Test Sets/Labs  Manual test cases and Automated test scripts stored in QC Object Repository  Stores data required for the tool to identify every object on the application  Object names act as the logical references for the end user when creating the test cases  Multiple test scripts share the same object repository when acting on the same screen Driver Script  This constitutes the first level of script that initiates the test execution.  This forms the link between the Test Management tool and the actual test cases stored in the test case repository Control Script  Control script reads through Control table line by line and matches on "Key-words" contained in it  Based on the key-words, it retrieves the required data from the data table and performs specific tasks Library Files  These are shared library files which can be called in different test scripts. They usually contain common functionalities used across multiple scripts. Library files are uploaded and stored in QC

8 Traditional Approach vs. Key-word Driven Approach ParametersTraditional ApproachKey-word Driven Approach Modularity During change management, updating the Scripts & Test documents is cumbersome. We can group common function together to form a separate component and can integrate the same at run time. Maintainability Maintaining the Automated Tests is difficult and Costly. Maintenance is cost and effort saving as components of the framework are loosely coupled. Parameterization Most of the times Data is hard-coded in the scripts Parameterization can be used optimally. Robustness Scripts created through traditional approach are notoriously unstable, non-reusable and often end up being abandoned. Scripts are robust & stable. Cost Initial cost is less but maintenance cost is more. Initial cost high but maintenance cost is less. Reusability Only some of the common functions can be reused. Highly reusable

9 Advantages of Key-word Driven Approach Ability to create automation test scripts even as the application development is still in progress. This helps in quick automation development. Easy maintenance of input and output data Facilitates modular design approach Ease of test execution, as the tester needs to create the control sheet only once in a spread sheet format High degree of reusability Ease of maintenance of test scripts

10 Limitations of key-word driven approach Prior knowledge of tool specific scripting language is needed for creating keyword functions, Control scripts etc Constructing scripts for complex scenarios could be time consuming like scripts to access database and validate the same Stringent naming conventions has to be followed in order to avoid object repository related errors

11 Conclusion Key-word driven automation is arguably the easiest of the frameworks to implement and maintain, provided the initial setup is thorough Once the initial investment to develop the automation framework is made, it makes a highly scalable and reusable architecture In order to optimize and utilize the key-word approach for our testing, we may have to enhance a few component functions already provided by the automation tool Apart from the time spent on the initial setup, Key-word approach is an efficient automation technique and provides a great potential for long term success in test automation

Questions?

Thank You