0% found this document useful (0 votes)
14 views5 pages

Book 2

Book microproject

Uploaded by

samykasurde78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views5 pages

Book 2

Book microproject

Uploaded by

samykasurde78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 5

PKTC

SOFTWARE TESTING
PRACTICAL NO
Project Name:Design Test cases for following(For loop, Switch Cases, Do While, If else)
Created By: Supriya Sandeep Thorat
Creation Date: 19/9/2024
Review By: Priyanka Ghenand Mam
Review Date:

(1) For loop:-

Test Cases:-
TC_ID TC_Name Status

Check the syntax of code


1 Pass
for(int i=1;i<1;i++)

Check the syntax of code


2 Pass
for the loop

Check the variable


3 Pass
Declaration

Check the looping


4 Pass
Condition

5 Check the Braces Pass

6 Check/Verify the Output Pass

TC_ID TC_Name Steps Input Data Expected Result

It Should go to
1 IF Enter even number 6
the If Part

It Should go to
2 ELSE Enter odd number 7
the Else Part
It Should go to
3 IF Enter even number 3
the If Part

It Should go to
4 ELSE Enter odd number 4
the Else Part

It Should Display
5 FOR Enter number as 10 10
1 to 10 Number

Enter number less It Should go to


6 Switch 4
than 5 Case 4

Enter number less It Should go to


7 Switch 6
than 5 Default Part
PKTC
SOFTWARE TESTING (SEM 5TH)
PRACTICAL NO:7

Actual Result Status

Going to IF Part and Displaying


Pass
"Number is EVEN"

Going to ELSE Part and Displaying


Pass
"Number is ODD"
Going to ELSE Part and Displaying
Fail
"Number is ODD"

Going to IF Part and Displaying


Fail
"Number is EVEN"

Going to FOR Loop and Displaying


Pass
1 to 10 Numbers

Going to Case 4 and Displaying


Pass
FOUR

Going to Default Part Pass

You might also like