2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005.

Slides:



Advertisements
Similar presentations
Delta Confidential 1 5/29 – 6/6, 2001 SAP R/3 V4.6c PP Module Order Change Management(OCM)
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Chapter 1 The Study of Body Function Image PowerPoint
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Cultural Heritage in REGional NETworks REGNET Project Meeting Content Group Part 2: Functional Testing.
By Rick Clements Software Testing 101 By Rick Clements
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
Determine Eligibility Chapter 4. Determine Eligibility 4-2 Objectives Search for Customer on database Enter application signed date and eligibility determination.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions
Making the System Operational
IAEA Training in Emergency Preparedness and Response Module L-051 General Concepts of Exercises to Test Preparedness Lecture.
Software Engineering COMP 201
LECTURE 8: Software Testing
EMS Checklist (ISO model)
Text 1 July, 2010 DCMS: Training Manual Campaign Management.
Chapter 6 Computer Assisted Audit Tools and Techniques
Chapter 14 Software Testing Techniques - Testing fundamentals - White-box testing - Black-box testing - Object-oriented testing methods (Source: Pressman,
AS9102 First Article Inspection Report
Software Testing Strategies
Defect testing Objectives
Testing Workflow Purpose
Chapter 11, Testing, Part 2: Integration and System Testing
1 Software Unit Test Coverage And Test Adequacy Hong Zhu, Patrick A. V. Hall, John H.R. May Presented By: Arpita Gandhi.
ABC Technology Project
Access Lesson 13 Programming in Access Microsoft Office 2010 Advanced Cable / Morrison 1.
Creating Tables, Setting Constraints, and Datatypes What is a constraint and why do we use it? What is a datatype? What does CHAR mean? Page 97 in Course.
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
ECATS RCCA CAMP PROCESS ENHANCEMENTS
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 24.1 Test-Driving the Ticket Information Application.
การทดสอบโปรแกรม กระบวนการในการทดสอบ
Benchmark Series Microsoft Excel 2013 Level 2
Squares and Square Root WALK. Solve each problem REVIEW:
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
Lecture 8: Testing, Verification and Validation
Chapter 10 Software Testing
Chapter 5 Test Review Sections 5-1 through 5-4.
Control Structures Selections Repetitions/iterations
1 How Do I Order From.decimal? Rev 05/04/09 This instructional training document may be updated at anytime. Please visit and check the.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Week 1.
We will resume in: 25 Minutes.
A SMALL TRUTH TO MAKE LIFE 100%
Page 1 of 34 The Search Agreements functionality in Transfers enables you to find existing agreements pertaining to registered interests. Using the search.
Step 1: Enter your “21 Character Employee Id Or Alternate User Id” Step 2: Enter Personal Password & Click Login NOTE : (First use password is “21 Character.
Chapter 8 Improving the User Interface
0 WPI First Experience Teaching Software Testing Lessons Learned Gary Pollice Worcester Polytechnic Institute and Rational Software Corp.
DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
1 Software Engineering Lecture 11 Software Testing.
CMSC 345, Version 11/07 SD Vick from S. Mitchell Software Testing.
Testing an individual module
CMSC 345 Fall 2000 Unit Testing. The testing process.
Software Testing and Quality Assurance 1. What is the objectives of Software Testing?
Software Testing Reference: Software Engineering, Ian Sommerville, 6 th edition, Chapter 20.
Functional testing, Equivalence class testing
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Static Testing Static testing refers to testing that takes place without Execution - examining and reviewing it. Dynamic Testing Dynamic testing is what.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005

Purpose: Writing Test Case Attendees: Testers Duration: 2 hours 2017/3/25 Introduction Purpose: Writing Test Case Attendees: Testers Duration: 2 hours FPT-Software Training Materials

After the course, student will be able to: 2017/3/25 Objectives After the course, student will be able to: Understanding the way to create a Test Case Using Test Case checklist to review a Test Case FPT-Software Training Materials

Agenda Design test case Write test case Test case checklist FPT-Software Training Materials

Test Case Detail design Test case SRS Test script Test Plan Test data 2017/3/25 Test Case Test Preparation Detail design SRS Test Plan Test case Test script Test data This slide used to show the input and output of create testing plan FPT-Software Training Materials

Test Script: scripts that use for testing or check the output 2017/3/25 Concepts Test Case: A set of test inputs, execution conditions, and expected results developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement. Test Script: scripts that use for testing or check the output Test Data: data is using for testing FPT-Software Training Materials

Why Test Case? Design scenario (test conditions) before test execution 2017/3/25 Why Test Case? Design scenario (test conditions) before test execution Predict expected result Help new testers familiar with existing application/system without reading requirement Design test case before execution FPT-Software Training Materials

Good Test Case Has a high probability of finding errors 2017/3/25 Good Test Case Has a high probability of finding errors Clear of purpose Well organized Reviewable Maintainable Useful to other testers Ex: A person visit a doctor because of an overall felling of malaise. If the doctor runs some laboratory tests but do not detect the problem, we do not call the laboratory tests “successful”. They were unsuccessful tests because the patient is still ill, and the patient may question the doctor’s ability as a diagnostician. However, if a laboratory test determines that the patient has a peptic ulcer (loet da da`y), the test is successful because the doctor can now begin the these words in the proper sense. => Similar, of course, is that we should think of the program, as we begin testing it, as the sick patient Questions: What is bad test case? FPT-Software Training Materials

Design Test Case White Box Testing: Uses specific knowledge of programming code to examine outputs FPT-Software Training Materials

White Box Testing - Example 2017/3/25 White Box Testing - Example Instruction coverage Decision coverage Condition coverage Decision/Condition coverage Multi condition coverage Give trainee material to show the example in White_Black_Box_Test_Example.doc FPT-Software Training Materials

Design Test Case Black Box Testing: Assess how well a program meets its requirements Focusing on testing functional requirements I/P O/P FPT-Software Training Materials

Black Box Testing - Example A large IT company is in the process of revising salary structure for its employees. The salary will be revised on the check point for all employees with at least one year seniority The rule for salary revision are provided below: Check point: 90 -> 100: Increase existing salary by 20% Check point: 80 -> 89: Increase existing salary by 15% Check point: 75 -> 79: Increase existing salary by 10% Check point: < 75: No increase FPT-Software Training Materials

Black Box Testing - Technique 2017/3/25 Black Box Testing - Technique Expand Conditions into Test Cases using Boundary Value Analysis: a minimum or maximum input, internal, or output value specified for a system or component Equivalence Partitioning: one or a few cases are chosen to represent an entire equivalence class Decision Tables Case study Give trainee material to show the example in White_Black_Box_Test_Example.doc FPT-Software Training Materials

Fsoft - Test Case Structure 2017/3/25 Fsoft - Test Case Structure Test case specifications Test procedures Pass/ Fail criteria: List all results that decide test case is passed or failed Dependencies: List all test cases that must be done before performing this case FPT-Software Training Materials

Test Case Specifications 2017/3/25 Test Case Specifications List cases/scenario that will be tested Interface Test with valid data Test with invalid data: Mandatory field Min, Max length Incorrect type, format Boundary, etc FPT-Software Training Materials

Test Procedure Test actions taken by the actor when executing a test case Test input: the actual values input by the actor at each step/action Expected result: the expected response from the application for a given step/action FPT-Software Training Materials

Pass/Fail criteria - Inter-case dependencies 2017/3/25 Pass/Fail criteria - Inter-case dependencies Pass/Fail criteria: List all results that decide test case is passed or failed Inter-case dependencies: List all test cases that must be done before performing this case Inter-case dependencies: login done before execute a function FPT-Software Training Materials

Recorded automatically 2017/3/25 Test Script Recorded automatically Coded manually: using test tools or standard programming languages like VB, C/C++, Java or SQL Test stub: temporary implementation of part of a program for unit test purposes Test driver: program which sets up an environment to call a module (or function) for testing Test scripts may be recorded automatically or coded manually using test tools or standard programming languages like VB, C/C++, Java or SQL FPT-Software Training Materials

Prepare data test for scenarios 2017/3/25 Test Data Prepare data test for scenarios Tools Manual Tool: Data Advance Generator FPT-Software Training Materials

Navigation conditions Validate text fields Validate number fields 2017/3/25 GUI Test Case Aesthetic conditions Navigation conditions Validate text fields Validate number fields Validate date fields Aesthetic Conditions: Screen background, Screen font, location of fields Navigation Conditions: main menu, sub menu, toolbar, tab order, cursor, combo box, radio box, check box Combo box: check LOV (list of values) and the order of LOV FPT-Software Training Materials

GUI Test Case - Validate text fields Check mandatory fields Max length Special characters/htlm tags (name, email, address, password) Space at the beginning and the end of string Full-size, haft-size characters (Japanese) Case-sensitive or not Unicode FPT-Software Training Materials

GUI Test Case - Validate number fields Check mandatory fields Max/Min values Integer/Decimal numbers Positive/Negative numbers Check conversion of format (decimal symbol, digit grouping symbol, display leading zero) Display decimal symbol, digit grouping symbol, leading zero FPT-Software Training Materials

GUI Test Case - Validate date fields 2017/3/25 GUI Test Case - Validate date fields Check mandatory fields Check date format (inputted date, conversion of inputted date) Compare inputted date to current date (if required) Compare dates based on business rules Compare “From Date” to “To Date” Check format date with regional setting FPT-Software Training Materials

Reference: http://www.fsoft.com.vn/FQMS/FSOFT/Template Test case templates Word Excel Reference: http://www.fsoft.com.vn/FQMS/FSOFT/Template FPT-Software Training Materials

Test Case Review Checklist Who will use TC checklist? Why do have to use TC checklist? Check template of test plan Check required information in TC Template FPT-Software Training Materials

Q & A 2017/3/25