Create Test Cases based on Software Testing Principles

Write the Test Cases to validate Command Line utility -
‘MAX’.
The utility displays the maximum of the 2 specified
Integers. Please note down any assumptions that you make.
e.g. MAX 2 3



Create Test Cases based on Software Testing Principles Write the Test Cases to validate Command L..

Answer / dhayanithi

step no steps data expected result actual result
1 enter a numbers and calculate max 2 or 3 should
display "please enter two numbers"
2 enter two numbers and calculate max 2,3 should display 3

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More Test Cases Interview Questions

What are the test cases, we can write for Data Grid. Anybody can help me..Thanks in advance.

5 Answers   Siemens,


Explain the format of a requirement traceability

0 Answers  


How should I maintain the test cases and Test Log for different versions/builds of the application.

0 Answers  


If I have written test cases for any application:there are 70-80 test cases and steps for writing test cases are common in some TCases.then May I have to write the repeated steps or May I write Repeat the steps of TC id so and so

3 Answers  


what is scenario? how to write scenario?

3 Answers   Alliance One,






Which of the following defines the expected results of a test? Test case specification or test design specification.

0 Answers  


You are Only tester for Onsite client team, this team is on holiday for two day from monday & SIT is started with plan end date is friday in this case if all server,application is crashed then as a tester what will be your approach

0 Answers   Cognizant, Tieto,


how to write test case for check box like check boxes in gmail and yahoo inbox

1 Answers  


Can any one please help me with this? I have application, for this no KT session or FS are provided, So now i have taken bottom-top approach, by writing the system testcase using the application. But my TL told me to write regression testcase. What i understood about regression testcase is that-For one scenrio or testcase multiple data, So testing the same scanario with different multiple data. Is this right or Wrong?

2 Answers   ABC,


Using the same code example as question 17,how many tests are required to achieve 100% branch/decision coverage? A. 1 B. 2 C. 3 D. 4

1 Answers   ISTQB,


What is test cases for mobile phone ?

0 Answers  


If I have written the 10 Positive test cases first and Negative test cases 11 to 25 .I Execute +ve first & then - ve as per test cases were written .Now if I got the next build & if I write again +ve Test Cases 26-30 first & then - ve 31-35 but I have to execute all test cases 1 to 35.But here the sequence of execution is +ve,-ve,+ve & -ve .How should I maintain the test cases .Please tell me It's Urgent .Thanks In Advance.....Tester

2 Answers   IBM,


Categories