© PureTesting 2008Testing Thought Leadership Extension to Noun and Verb Technique for writing better test cases.

Slides:



Advertisements
Similar presentations
© PureTesting 2007Testing Thought Leadership Creating Real-World Test Cases using Extension to Noun and Verb technique.
Advertisements

Foundational Objects. Areas of coverage Technical objects Foundational objects Lessons learned from review of Use Case content Simple Study Simple Questionnaire.
BI Web Intelligence 4.0. Business Challenges Incorrect decisions based on inadequate data Lack of Ad hoc reporting and analysis Delayed decisions.
Creating Forms in Microsoft Word Lunch and Learn: April 2, 2008.
Password Cracking Lesson 10. Why crack passwords?
Tutorial 6 Creating a Web Form
Software Testing Fundamentals
A Quick Review of Unit 2 – Using Windows 7 Computing Fundamentals © CCI Learning Solutions.
1 Chapter 11: File-System Interface  File Concept  Access Methods  Directory Structure  File System Mounting  File Sharing  Protection  Chapter.
Financial Data Calculator© Produced by: Mathematical Investment Decisions, Inc. 95 West Gate Drive – 2 nd Floor Cherry Hill, NJ Web site:
Database Management: Getting Data Together Chapter 14.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
Chapter 12 File Management Systems
XML Schema Describing the structure of XML documents. A very brief introduction 1XML Schema.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
Chapter 4 System Software.
Project Analysis Course ( ) Final Project Report Overview Prepared by: Sijali Petro Korojelo (Course Assistant)
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Verify your data entry You could use data types and field properties for adding any validation on your date: EX: Data type: number : allow the user to.
Silberschatz, Galvin and Gagne  Operating System Concepts File Concept Contiguous logical address space Smallest user allocation Non-volatile.
Computer Security and Penetration Testing
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring, Managing, and Troubleshooting Resource Access.
Automated GUI testing How to test an interactive application automatically?
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Guide to Computer Forensics and Investigations Fourth Edition
Using Spreadsheets In Analytical Chemistry Chap 3. Using Spreadsheets in Analytical Chemistry (1) Getting started : Excel (2) The basic usage  basic usage.
ITCS373: Internet Technology Lecture 5: More HTML.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Lesson 12: Using the Recycle Bin deleting files or folders what the Recycle Bin is restoring files from the Recycle Bin emptying the Recycle Bin identifying.
What it is and how it works
Lesson 9: Windows Management Ms. Tracy Digital Literacy.
Quick guide to ASIMON configuration For version 3.0 or greater SAFETY AT WORK Date: 3/18/2009.
Oracle Forms Oracle Forms Builder provides various tools, which have powerful Graphical User Interfaces (GUI's) to design such forms. All objects, properties,
General Concerns on WWW Security Name: Huaying Chen ID# Instructor: Dr Mort Anvari.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Chapter 8 File Systems FAT 12/16/32. Defragmentation Defrag a hard drive – Control Panel  System and Security  Administration tools  Defrag hard drive.
Thanapoom Boondee M.2/2 No.22. Pattawan Tangpattananon M.2/2No.5 Tuchatham Tosakul M.2/2No.13 Thanapoom Boondee M.2/2No.22 Suvit Pathomthanasarn M.2/2No.30.
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
File Systems May 12, 2000 Instructor: Gary Kimura.
1 Lesson 9 Windows Management Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
( ) 1 Chapter # 8 How Data is stored DATABASE.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
YEAR 12 COMPUTER SCIENCE.
Prerequisites Essentials of Windows® 2000 By Robert T. Grauer
System Design Ashima Wadhwa.
BIF713 Managing Disk Space.
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
CS5123 Software Validation and Quality Assurance
Introduction to Computers
Lecture 13 RPM and its advantages.
To the ETS – Password Reset Online Training Course
Nouns Nouns not noun noun noun not not
File Transfer Olivia Irving and Cameron Foss
Lesson 9 Windows Management
A test technique is a recipe these tasks that will reveal something
Securing & Sharing a Presentation
Data Model.
PREPOSITIONAL PHRASES
To the ETS – Password Reset Online Training Course
Partitioning & Formatting
Mouse Skills Moving a mouse on flat surface makes the pointer on the screen to move in the same direction as the mouse itself. To make the selection, the.
Zip file is also known as “Archive File ”. Transportation and storage are the purpose to use the Zip file. It compress the data. It saves the file With.
Presentation transcript:

© PureTesting 2008Testing Thought Leadership Extension to Noun and Verb Technique for writing better test cases

© PureTesting 2008Testing Thought Leadership Noun and Verb Technique

© PureTesting 2008Testing Thought Leadership ***Nouns and Verbs, Adjectives and Adverbs Some software systems exist to manipulate specific kinds of data The kinds of data sets are the nouns The manipulations are the verbs Adjectives and adverbs affect the manipulation Identify these items Write test in sentences Even trace coverage For example, an ATM system should Accept deposits Process withdrawals Answer inquiries Kinds of deposits, withdrawals, inquiries? Quickly? Securely? This test design technique comes from Elisabeth Hendrickson. ***Rex Black: Effective and Efficient Testing Course

© PureTesting 2008Testing Thought Leadership Extending Noun and Verb Technique Challenges in using the technique Often Requirements are not sufficiently detailed Extracting enough Noun and Verbs is difficult Writing complex scenario based tests from this technique is difficult The technique has been extended at PureTesting and used successfully Next few slides will present the extension with the help of an example…

© PureTesting 2008Testing Thought Leadership Extension Extract the nouns and verbs Use 5W1H to extract adjectives, adverbs and more information Use pre and post conditions to extract more nouns and verbs Enumerate properties of every noun Break down these properties to base elements Use boundary values, equivalence classes on the base elements Write tests for individual properties Combine operations (verbs) to write scenario based test cases of arbitrary complexity

© PureTesting 2008Testing Thought Leadership Applying the Extended Technique

© PureTesting 2008Testing Thought Leadership Example: File Open Requirement fragment: The application allows users to open supported files. With the given requirement fragment Very few meaningful test cases can be written using any test design technique Using out extension to noun & verb technique we plan to write extensive test cases

© PureTesting 2008Testing Thought Leadership Extracting the Nouns and Verbs The application allows users to open supported files Extracting Nouns Extracting Verbs Extracting Adjectives and Adverbs

© PureTesting 2008Testing Thought Leadership File open… Noun Look for properties of this noun Also ask What, Why, When, Where, Who, Which, How, How much/many Verb Look for properties of this verb Also ask What, Why, When, Where, Who, Which, How, How much/many

© PureTesting 2008Testing Thought Leadership File: Properties Enumerate all the properties of FILE File has Name Size Location Extension Metadata Creation date Accessing date Modification date State

© PureTesting 2008Testing Thought Leadership File: Properties Type Access Control Password protection Attributes Compression Support Encryption Support Creating application version

© PureTesting 2008Testing Thought Leadership Breaking Down the Properties: Name Name - is a string String - is a SEQUENCE of Characters Sequence = Length of string Characters are elements of some valid character set (THUS) Name Has a length Has a set of allowed characters And some characters are not allowed (/ or \ in file name on windows, spaces on Linux/Unix platforms)

© PureTesting 2008Testing Thought Leadership Applying Boundary Values Name/String Has a length (maximum and minimum) Has a set of allowed characters (valid equivalence class) And some characters are not allowed (invalid equivalence class)

© PureTesting 2008Testing Thought Leadership Dealing with the Verb(s)… Open how? Open in various ways double click drag and drop command line application menu open with … Open how many? Open one (minimum number of) file Many files Max. number of files that can be opened simultaneously… How fast How much time does it take to open the file?

© PureTesting 2008Testing Thought Leadership Some Simple Positive Test Cases Open a (supported) file Minimum size Maximum size Minimum name length Maximum name length Located on a network drive/web With and without appropriate extension Created using older/newer version of creating application Password protected Read-only …

© PureTesting 2008Testing Thought Leadership Some Simple Negative Tests Open file(s) of Unsupported type Changed extensions Corrupt file Invalid/non-existent name …