Decision Table Based Testing

Slides:



Advertisements
Similar presentations
Formal Methods and Testing Goal: software reliability Use software engineering methodologies to develop the code. Use formal methods during code development.
Advertisements

Chapter 4: Requirements Engineering
Decision Table Based Testing
Annoucements  Next labs 9 and 10 are paired for everyone. So don’t miss the lab.  There is a review session for the quiz on Monday, November 4, at 8:00.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 7 – More on use cases and activity diagrams.
Sequence Diagrams. Introduction A Sequence diagram depicts the sequence of actions that occur in a system. The invocation of methods in each object, and.
® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Tutorial 7: Using Advanced Functions and Conditional Formatting
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Testing an individual module
Lynda Spencelayh11 UNIT 16 DATABASE SYSTEMS. Lynda Spencelayh2 2 Principles of database systems zDatabases are everywhere colleges, dentists, supermarkets,
Equivalence Class Testing
Testing techniques, example
CS 325: Software Engineering March 31, 2015 Software Testing Black-Box Testing White-Box Testing Regression Testing.
Dynamic Black-Box Testing Part 2
Introduction Telerik Software Academy Software Quality Assurance.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Analyzing Data For Effective Decision Making Chapter 3.
Describing Process Specifications and Structured Decisions Systems Analysis and Design, 7e Kendall & Kendall 9 © 2008 Pearson Prentice Hall.
A General Discussion on Functional (Black-box) Testing What are some of the concerns of testers ? –Have we got enough time to test (effort & schedule)?
Office Management Tools II Ms Saima Gul.  When you create your tables, you should assign each table a primary key—one or more fields whose contents are.
COMP106 Assignment 2 Proposal 1. Interface Tasks My new interface design for the University library catalogue will incorporate all of the existing features,
Sample Problems for Testing
1 © 2005 course technology University Of Palestine Chapter 6 (cont.) Storyboarding the User’s Experience.
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
BLACK BOX TESTING K.KARTHIKEYAN. Black box testing technique Random testing Equivalence and partitioning testing Boundary value analysis State transition.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
Software Testing Input Space Partition Testing. 2 Input Space Coverage Four Structures for Modeling Software Graphs Logic Input Space Syntax Use cases.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
© The McGraw-Hill Companies, 2006 Chapter 2 Selection.
Decision table testing
What is Testing? Testing is the process of finding errors in the system implementation. –The intent of testing is to find problems with the system.
1 Graph Coverage (6). Reading Assignment P. Ammann and J. Offutt “Introduction to Software Testing” ◦ Section
1 Using Conditional Formatting & Data Validation Applications of Spreadsheets.
GUI testing There are two major sets of GUI testing 1.“Usability” of the GUI Looks (aesthetic, visual appeal) artistic characteristic –Color –Shapes.
Creating Advanced Queries and Enhancing Table Design.
Copyright © 2011 Pearson Education Process Specifications and Structured Decisions Systems Analysis and Design, 8e Kendall & Kendall Global Edition 9.
Dynamic White-Box Testing What is code coverage? What are the different types of code coverage? How to derive test cases from control flows?
Auburn University COMP 2710 Software Construction Use Case Analysis – Examples and Exercises Dr. Xiao Qin Auburn University.
Future Value of a Single Sum with Non-Annual Compounding
Lesson 5.2 Banking Services and Fees
Small Business Capital and Credit
Tutorial 3 Working with Formulas and Functions
PREPARED BY G.VIJAYA KUMAR ASST.PROFESSOR
MS Access Forms, Queries, Reports Matt Martin
Testing Techniques.
Credit, Debit, and ATM Cards
Chapter 5: Control Structure
Types of Testing Visit to more Learning Resources.
Checking Account & Debit Card Simulation
Discover the Boom in Electronic Banking!
Making a Savings Decision
DBM 380 HELP Lessons in Excellence-- dbm380help.com.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
LESSON TWO: PERSONAL SPENDING
Dealing with Debt and Credit
Introduction to Access 2003
Chapter 2: Working with Formulas and Functions
Chapter 10 – Software Testing
Test Case Test case Describes an input Description and an expected output Description. Test case ID Section 1: Before execution Section 2: After execution.
Chapter 2 :Types Of Testing
Long Term Loans CANADA is there for every credit…. Instant Online Loans up to C$1,500 Apply for a LongTermPaydayLoansNow personal line of credit at home,
Testing techniques and methods
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Creating Additional Input Items
Test Design Techniques Software Testing: IN3240 / IN4240
Tutorial 5 Advanced Queries and Enhanced Table Design
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Lesson 4.2 Banking Services and Fees
Presentation transcript:

Decision Table Based Testing Vishv Talwar Navdeep Kunwar Deepjal Chhetri Aarushi Garg Aakash Sachdeva

Why Decision Table is important? Decision table testing is black box test design technique to determine the test scenarios for complex business logic. We can apply Equivalence Partitioning and Boundary Value Analysis techniques to only specific conditions or inputs. Decision tables are very much helpful in test design technique – it helps testers to search the effects of combinations of different inputs. 

Steps to create a decision table with an example Let’s take an example of a finance application, where users pay money – monthly Repayment or year wise (the term of loan). If user chooses both options, the system will create a negotiation between two. So, there are two conditions of the loan amount, mention in the given below table,

Next, recognize all of the combinations in “Yes” and “No” (In Table 2) Next, recognize all of the combinations in “Yes” and “No” (In Table 2). In each column of two conditions mention “Yes” or “No”, user will get here four combinations (two to the power of the number of things to be combined).

In the next step, recognize the exact outcome for each combination (In Table 3). In this example, user can enter one or both of the two fields. Each combination is sometimes referred to as a step.

Advantage of decision table technique: Any complex business flow can be easily converted into the test scenarios & test cases using this technique. Such type of table are work iteratively, means the table created at the first iteration is used as input table for next tables. Such iteration can be carried out only if the initial table is unsatisfactory. These tables guarantee that we consider every possible combination of condition values. This is known as its “completeness property”.

What is Decision Table Testing? Decision Table Testing is a good way to deal with a combination of inputs, which produce different results. It helps reduce test effort in verifying each and every combinations of test data, at the same time ensuring complete coverage Example: To understand the importance of Decision Table Making we will see an example, let's consider the behavior of Flight Button for different combinations of Fly From & Fly To. Rule 1:When destination for both Fly From & Fly To are not set the Flight Icon is disabled. In the decision table, we register values False for Fly From & Fly To and the outcome would be False, which is Flights Button will be disabled. Likewise, you can decide different outcome for different situation

Rule 2: When Fly From destination is set but Fly to is not set, Flight button is disabled. Correspondingly, you register True for Fly from destination in the decision table, and the rest of the entries are false. Rule 3: When Fly from destination is not set but Fly to destination is set, Flight button is disabled and you make entries in the decision table. Rule 4: only when Fly to and Fly from destinations are set, Flights button is enabled and you make the corresponding entry in the decision table.

Decision Table testing for purchasing chemical

Decision table testing A supermarket has a loyalty scheme that is offered to all customers. Loyalty card holders enjoy the benefits of either additional discounts on all purchases or the acquisition of loyalty points, which can be converted into vouchers for the supermarket or to equivalent points in schemes run by partners. Customer without a loyalty card receive an additional discount only if they spend more than $100 on any one visit to the store, otherwise only the special offers offered to all customers apply

Decision table testing Rule 1 Rule 2 Rule 3 Rule 4 Conditions Customer without loyalty card T F Customer with loyalty card Extra discount selected - Spend > $100 Actions No discount Y N Extra discount Loyalty points

Decision table testing 3rd Example (ATM Decision table Rule 1 Rule 2 Rule 3 Rule 4 Rule 5 Conditions User Inserts Valid Card F T User Enters Valid PIN - Three Invalid PINs attempted Sufficient balance for the request Actions Reject Card Y N Prompt to Reenter PIN Eat the Card Dispense Requested Cash