Copyright (c) 1994-2001 Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.

Slides:



Advertisements
Similar presentations
Lecture 10 Sharing Resources. Basics of File Sharing The core component of any server is its ability to share files. In fact, the Server service in all.
Advertisements

 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Classroom Policies Mr. E Wyse. All classroom expectations are based on one very simple ideal – “This class, wherever it is held, is a place of faith,
Introduction to a Programming Environment
Introduction to Array The fundamental unit of data in any MATLAB program is the array. 1. An array is a collection of data values organized into rows and.
Program Input and the Software Design Process ROBERT REAVES.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9 Processing the Data.
ET Workshop v Opening©2002 Amland Consulting0-1 Exploratory Testing v Workshop in Risk-Based Agile Testing Parts of this class have been.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Academic Course – Fall 2001) Cem Kaner, J.D., Ph.D. Professor of.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
MagicInfo Pro Scheduler Now that a template has been created from content imported into the Library, the user is ready to begin scheduling content to.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 2 Input, Processing, and Output.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Testing E001 Access to Computing: Programming. 2 Introduction This presentation is designed to show you the importance of testing, and how it is used.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course -Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
CE Operating Systems Lecture 21 Operating Systems Protection with examples from Linux & Windows.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
1 Lesson 18 Getting Started with Excel Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 4 th Edition Morrison / Wells.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
IPEmotion License Management PM (V1.2).
Template Package  Presented by G.Nagaraju.  What is Template Package?  Why we use Template Package?  Where we use Template Package?  How we create.
FILE I/O: Low-level 1. The Big Picture 2 Low-Level, cont. Some files are mixed format that are not readable by high- level functions such as xlsread()
Third Grade Home Directory/H-Drive The location on the server where individual users can save their work. This directory is named the same as the username.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
Computers and Programming
Black Box Software Testing (Professional Seminar)
To the ETS – Accounts Setup and Preferences Online Training Course
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Other Kinds of Arrays Chapter 11
Shelly Cashman: Microsoft Excel 2016
CE Operating Systems Lecture 21
Lesson 18 Getting Started with Excel Essentials
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Stata Basic Course Lab 2.
To the ETS – Accounts Setup and Preferences Online Training Course
Black Box Software Testing (Professional Seminar)
Shelly Cashman: Microsoft Excel 2016
Black Box Software Testing (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Presentation transcript:

Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer Sciences Florida Institute of Technology Section:12 Reusable Test Matrices (and Domain Testing) Summer, 2002 Contact Information: (testing website) (legal website) I grant permission to make digital or hard copies of this work for personal or classroom use, with or without fee, provided that (a) copies are not made or distributed for profit or commercial advantage, (b) copies bear this notice and full citation on the first page, and if you distribute the work in portions, the notice and citation must appear on the first page of each portion, (c) each page bear the notice "Copyright (c) Cem Kaner" or if you changed the page, "Adapted from Notes Provided by Cem Kaner". Abstracting with credit is permitted. The proper citation for this work is Cem Kaner, A Course in Black Box Software Testing (Professional Version), Summer-2002, To copy otherwise, to republish or post on servers, or to distribute to lists requires prior specific permission and a fee. Request permission to republish from

Copyright (c) Cem Kaner. All Rights Reserved. 2 Using Test Matrices for Routine Issues After testing a simple numeric input field a few times, you’ve learned the drill. The boundary chart is reasonably easy to fill out for this, but it wastes your time. Use a test matrix to show/track a series of test cases that are essentially the same. For example, for most input fields, you’ll do a series of the same tests, checking how the field handles boundaries, unexpected characters, function keys, etc. As another example, for most files, you’ll run essentially the same tests on file handling. The matrix is a concise way of showing the repeating tests. Put the objects that you’re testing on the rows. Show the tests on the columns. Check off the tests that you actually completed in the cells.

Copyright (c) Cem Kaner. All Rights Reserved. 3 Typical Uses of Test Matrices You can often re-use a matrix like this across products and projects. You can create matrices like this for a wide range of problems. Whenever you can specify multiple tests to be done on one class of object, and you expect to test several such objects, you can put the multiple tests on the matrix. Mark a cell green if you ran the test and the program passed it. Mark the cell red if the program failed and write the bug number of the bug report for this bug. Write (in the cell) the automation number or identifier or file name if the test case has been automated.

Copyright (c) Cem Kaner. All Rights Reserved. 4 Matrices Problems? What if your thinking gets out of date? (What if this program poses new issues, not covered by the standard tests?) Do you need to execute every test every time? (or ever?) What if the automation ID number changes? -- We still have a maintenance problem but it is not as obscure.

Copyright (c) Cem Kaner. All Rights Reserved. 5 Reusable Test Matrix This includes only the first few columns of a matrix that I’ve used commercially, but it gets across the idea.

Copyright (c) Cem Kaner. All Rights Reserved. 6 Examples of integer-input tests Nothing Valid value At LB of value At UB of value At LB of value - 1 At UB of value + 1 Outside of LB of value Outside of UB of value 0 Negative At LB number of digits or chars At UB number of digits or chars Empty field (clear the default value) Outside of UB number of digits or chars Non-digits Wrong data type (e.g. decimal into integer) Expressions Space Non-printing char (e.g., Ctrl+char) DOS filename reserved chars (e.g., "\ *. :") Upper ASCII ( ) Upper case chars Lower case chars Modifiers (e.g., Ctrl, Alt, Shift-Ctrl, etc.) Function key (F2, F3, F4, etc.)

Copyright (c) Cem Kaner. All Rights Reserved. 7 Error Handling when Writing a File full local disk almost full local disk write protected local disk damaged (I/O error) local disk unformatted local disk remove local disk from drive after opening file timeout waiting for local disk to come back online keyboard and mouse I/O during save to local disk other interrupt during save to local drive power out during save to local drive full network disk almost full network disk write protected network disk damaged (I/O error) network disk remove network disk after opening file timeout waiting for network disk keyboard / mouse I/O during save to network disk other interrupt during save to network drive local power out during save to network network power during save to network

Copyright (c) Cem Kaner. All Rights Reserved. 8 Homework: File Name Matrix Tomorrow, we’ll illustrate the process of creating test matrices by brainstorming a specific one. File name field Windows 95 / 98 / NT / 2000 Treat the path as a separate issue Please spend 15 minutes at home writing a list of file name tests. Bring your notes with you

Copyright (c) Cem Kaner. All Rights Reserved. 9 Homework: File Name Matrix You could do this for almost any type of variable. For example, imagine listing all of the hardware (including connection, power, etc.) error conditions that could cause failure of a file save operation. At this point, though, it is interesting to look at variables that have values that can be treated as equivalent. Simpler examples are: string fields, numeric (rational numbers), percentages date fields, time fields

Copyright (c) Cem Kaner. All Rights Reserved. 10 Matrix Construction Brainstorm Take up the assignment with a brainstorming session. Expect to spend hours if the students are prepared and 2-3 hours if they are not. Brainstorming Rules: Don’t criticize others’ contributions Jokes are OK, and are often valuable Goal is to get lots of ideas, filter later. Recorder and facilitator keep their opinions to themselves.

Copyright (c) Cem Kaner. All Rights Reserved. 11 Matrix Construction Brainstorm Facilitating and Recording Rules: Exercise patience: Goal is to get lots of ideas. Encourage non-speakers to speak. Use multiple colors when recording Echo the speaker’s words. Record the speaker’s words The rule of three 10’s. Silence is OK. Switch levels of analysis. Some references: » S. Kaner, Lind, Toldi, Fisk & Berger, Facilitator’s Guide to Participatory Decision-Making » Freedman & Weinberg, Handbook of Walkthroughs, Inspections & Technical Reviews » Doyle & Straus, How to Make Meetings Work.

Copyright (c) Cem Kaner. All Rights Reserved. 12 Notes ___________________________________________________________ ___________________________________________________________ ___________________________________________________________ ___________________________________________________________