Syllabus

Course Code: MTCE-117    Course Name: Software Quality Models & Testing Lab

MODULE NO / UNIT COURSE SYLLABUS CONTENTS OF MODULE NOTES
1 CASE STUDY 1
Write the test cases for the largest of three number based on:
 Boundary value analysis test
 Robustness based testing
 Equivalence class partitioning test
 Decision table based test
2 CASE STUDY 2
Cause Effect Graph Testing for a Triangle Program

Perform cause effect graph testing to find a set of test cases for the following program specification: Write a program that takes three positive integers as input and determine if they represent three sides of a triangle, and if they do, indicate what type of triangle it is. To be more specific, it should read three integers and set a flag as follows:
If they represent a scalene triangle, set it to 1.
If they represent an isosceles triangle, set it to 2.
If they represent an equilateral triangle, set it to 3.
If they do not represent a triangle, set it to 4.
3 CASE STUDY 3
Boundary Value Analysis for a Software Unit
The following is a specification for a software unit. The unit computes the average of 25 floating point numbers that lie on or between bounding values which are positive values from 1.0 (lowest allowed boundary value) to 5000.0 (highest allowed boundary value). The bounding values and the numbers to average are inputs to the unit. The upper bound must be greater than the lower bound. If an invalid set of values is input for the boundaries an error message appears and the user is reported. If the boundary values are valid the unit computes the sum and the average of the numbers on and within the bounds. The average and sum are output by the unit, as well as the total number of inputs that lie within the boundaries. Derive a set of equivalence classes for the averaging unit using the specification, and complement the classes using boundary value analysis. Be sure to identify valid and invalid classes.
Design a set of test cases for the unit using your equivalence classes and boundary values. For each test case, specify the equivalence classes covered, input values, expected outputs, and test case identifier. Show in tabular form that you have covered all the classes and boundaries. Implement this module in the programming language of your choice. Run the module with your test cases and record the actual outputs. Save an uncorrected version of the program for future use.
4 Case Study 4:
Write the test cases for any known application (e.g. banking application) using
I) Basis path testing
II) Component testing
III) Data flow analysis test
5 Case Study 5:
Create a test plan document for any application (e.g. Library Management System)
6 CASE STUDY 6
Model Based Testing

Design and develop a scientific calculator program using various GUI components and events. Build the test model for the same. Determine the inputs that can be given to the model.
Calculate expected output for the model. Run the test cases. Compare the actual output with the expected output. Any model-based technique can be used for building the test model.
7 CASE STUDY 7
Study and implementation of

 Mutation test
 Slice based test
8  CASE STUDY 8
Introduction to any two open source testing tool:

 Study of any testing tool (e.g. Win runner)
 Study of any web testing tool (e.g. Selenium)
 Study of any bug tracking tool (e.g. Bugzilla, bugbit)
 Study of any test management tool (e.g. Test Director)
 Study of any open source-testing tool (e.g. Test Link)
9 CASE STUDY 9
Web Application Testing for Student Grade System

With educational organizations under increasing pressure to improve their performance to secure funding for future provision of programmes, it is vital that they have accurate, up-to-date information. For this reason, they have MIS systems to record and track student enrolment and results on completion of a learning programme. In this way they can monitor achievement statistics. All student assignment work is marked and recorded by individual module tutors using a spreadsheet, or similar, of their own design. In the computing department these results are input into a master spreadsheet to track a student’s overall progress throughout their programme of study. This is then made available to students through the web portal used in college. Perform web application testing for this scenario.
Copyright © 2020 Kurukshetra University, Kurukshetra. All Rights Reserved.