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

Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

0 Answers  


write the test case flipart.com

2 Answers   Satyam,


What are the possible test cases for a palindrome.It must be starting with alphabet and its length is 100 .It should accept alphanumerics only.It should take only 100 numerics to the textbox

0 Answers  


How to write test scenarios for a Web application, with an example?

3 Answers   Deloitte, LiveTech, TCS,


Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print "Large" ENDIF If P > 50 THEN Print "P Large" ENDIF A. 1 test for statement coverage, 3 for branch coverage B. 1 test for statement coverage, 2 for branch coverage C. 1 test for statement coverage, 1 for branch coverage D. 2 tests for statement coverage, 3 for branch coverage E. 2 tests for statement coverage, 2 for branch coverage

1 Answers   ISTQB,






how to write the test case for time and date like TIME : 09:34:32AM DATE : 12 MAY 1987

8 Answers   AmSol,


can u tell me how do we writetestcases for perfomance,load,And stress?

2 Answers   IBM, Wipro,


can u say me how many test cases i can get for a user to login and enter password ..please specify in testcase desing template for that

7 Answers   Wipro,


How to test Webservices and how can we write test cases for that

0 Answers  


Hi, I am doing project related to Online order Booking. In this project different products will be there. The user can order the product to different location by giving different shipping Addresses. By selection of Address shipping price will be calculate. My Question: Now the shipping related part they are integrating with UPS(www.ups.com) Depending on the From Zip code, To Zip cobe and Quantity weight the shipping price will be calculated. I want test scenarios to test the shipping part. I think ASAP u will help me. My mail id srinivasukona@gmail.com

1 Answers  


give an example of how to write functional test case.in this test case can we write all +ve and -ve conditions?

7 Answers  


Explain the functional testing?

0 Answers  


Categories