Академический Документы
Профессиональный Документы
Культура Документы
TEST CASES FOR THE SOFTWARE FOR ADDITION OF TWO NUMBERS (Each number should be an integer between 1 and 11 (inclusive) )
ASSUMPTION : IT IS ASSUMED THAT THE NAVIGATION IS WITH THE HELP OF 'TAB' BUTTON.
OBJECTIVE
PRE-REQUISITES
1 Entire screen To check the status of objects on the screen when the software is invoked.
The icon for the software should be present on the desk-top of the computer
TEXT BOX 1 2 Text Box 1 To check whether Software for addition of software allows two numbers is invoked alphabets to be entered into Text Box 1
3 Text Box 1
To check whether Software for addition of software allows special two numbers is invoked characters to be entered into Text Box 1
4 Text Box 1
To check whether Software for addition of software allows spaces two numbers is invoked to be entered into Text Box 1
5 Text Box 1
To check whether software allows null values to be entered into Text Box 1
6 Text Box 1
To check whether Software for addition of software allows 0 (value two numbers is invoked just beyond lower boundary) to be entered into Text Box 1
7 Text Box 1
To check whether Software for addition of software allows 12 two numbers is invoked (value just beyond upper boundary) to be entered into Text Box 1
TEXT BOX 2
8 Text Box 2
1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2. 1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2. 1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2. 1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2.
9 Text Box 2
To check whether software allows special characters to be entered into Text Box 2
10 Text Box 2
11 Text Box 2
To check whether software allows null values to be entered into Text Box 2
12 Text Box 2
To check whether software allows 0 (value just beyond lower boundary) to be entered into Text Box 2
1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2.
13 Text Box 2
To check whether software allows 12 (value just beyond upper boundary) to be entered into Text Box2
1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1. 3. Cursor is blinking in Text Box 2.
14 Text Box 1
To check whether Software for addition of software allows integer two numbers is invoked values between 1 to 11 to be entered into Text Box 1
15 Text Box 2
To check whether software allows integer values between 1 to 11 to be entered into Text Box 2
1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1
16 ''Calculate To check the behaviour Sum'' button of the software when the 'Calculate Sum' button is clicked.
1. Software for addition of two numbers is invoked 2. Valid value is filled in Text Box 1 3. Valid value is filled in Text Box 2 4. Cursor is on the 'Calculate Sum' button.
STEPS
EXPECTED RESULT
1. Click on the icon of the software 2. Observe the status of objects on the screen
1. Text Box 1 should be empty and enabled. 2. The cursor should be blinking in Text Box 1. 3. Text Box 2 should be empty and disabled. 4. Text Box 3 should be empty and disabled. 5. The 'Calculate Sum' button should be disabled.
1. The software should display error message. 2. The alphabets should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. Click inside Text Box 1 . 2. Type any special character 3. Press Tab
1. The software should display error message. 2. The special characters should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. Spaces should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. Null values should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. 0 should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. 12 should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. The alphabets should not be accepted in Text Box 2. 3. The control should remain in Text Box 2.
1. Click inside Text Box 2 . 2. Type any special character 3. Press Tab
1. The software should display error message. 2. The special characters should not be accepted in Text Box 2. 3. The control should remain in Text Box 2.
1. The software should display error message. 2. Spaces should not be accepted in Text Box 1. 3. The control should remain in Text Box 2.
1. The software should display error message. 2. Null values should not be accepted in Text Box 1. 3. The control should remain in Text Box 2.
1. The software should display error message. 2. 0 should not be accepted in Text Box 2. 3. The control should remain in Text Box 2.
1. The software should display error message. 2. 12 should not be accepted in Text Box 2. 3. The control should remain in Text Box 2.
1. Click inside Text Box 1 . 1. The software should accept the value. 2. Type any integer between 1 to 11 (both inclusive) 2. The Text Box 2 should become enabled 3. Press Tab 3. Control should shift to Text Box 2
1. Click inside Text Box 2 . 1. The software should accept the value. 2. Type any integer between 1 to 11 (both 2. The 'Calculate Sum' button should become inclusive) enabled. 3. Press Tab 3. Control should shift to the 'Calculate Sum' button.
1. The correct sum of the integers entered into Text Box 1 and Text Box 2 should be displayed in Text Box 3 2. Text Box 3 should remain disabled. 3. The 'Calculate Sum' button should remain enabled.
ACTUAL RESULT
SUCCESS / FAILED
SEVERITY OF DEFECT
1.Text Box 1 is empty and enabled 2.Cursor is blinking in textbox1 3.Text Box 2 is empty and enabled 4.Text Box 3 is empty and disabled 5.'Calcultae Sum' button is dispalyed and enabled
FAIL
HIGH
1.Software is not displaying any error message 2.Alphabet is accepted in Text box1 3.Control remains in textbox1
FAIL
HIGH
Ideally, to test the behaviour for the entire range of alphabets , 26+26 separate test cases should be written and tested separately
1.Software is not displaying any error message 2.Special Characters are accepted in Text box1 3.Control remains in textbox1 1.Software is not displaying any error messsage . 2.spaces are accepted in textbox1. 3.control remain in textbox1
FAIL
HIGH
Ideally, to test the behaviour for the entire range of special characters, separate test cases should be written and tested separately
FAIL
HIGH
1.software is not displaying any error message. 2.null values are accepted in textbox1. 3.Control remain in textbox1.
FAIL
HIGH
1.Software is not displaying any error message. 2.Values beyond the lower boundary are accepted in textbox1. 3.Control remain in textbox1. 1.Software is displaying error message. 2.Values beyond the upper boundary are not accepted. 3.Control remain in textbox1.
FAIL
HIGH
PASS
1.software is not displaying error message. 2.Alphabets is accepted . 3.Control remain in textbox2.
FAIL
HIGH
1.Software is not displaying error message. 2.special characters is accepted . 3.Control remain in textbox2.
FAIL
HIGH
1.Software in not displaying the error message. 2.Space is accepted in textbox2. 3. The control remain in Text Box 2. 1.Software in not displaying the error message. 2.Null value is accepted in textbox2. 3. The control remain in Text Box 2.
FAIL
HIGH
FAIL
HIGH
1.Software in not displaying the error message. 2.Value beyond lower boundary is accepted in textbox2. 3. The control remain in Text Box 2.
FAIL
HIGH
1.Software in not displaying the error message. 2.Value beyond upper boundary is accepted in textbox2. 3. The control remain in Text Box 2.
FAIL
HIGH
1.Software accepts integer value between 0 and 11 2. Text box 2 remains enabled 3. Control Shifts to text box2 1.Software accepts integer value between 0 and 11. 2. 'Calculate Sum' button. remains enabled. 3. Control Shifts to'Calculate Sum' button.
PASS
PASS
Ideally, to test the behaviour for the entire range of valid values, 11 separate test cases should be written for valuse between 1 to 11 (inclusive) and tested Ideally, to test the behaviour for the entire range of valid values, 11 separate test cases should be written for valuse between 1 to 11 (inclusive) and tested separately
1.Software accepts integer value both textbox1 and textbox2 and result display in textbox3. 2.Text Box 3 remain disabled. 3. The 'Calculate Sum' button should remain enabled.
PASS
DATE OF EXECUTION
TEST NO.
When the programe is invoked text box2 should be disabled but it is enabled and the 'Calculate Sum' button should be disabled but it is enabled
when an alphabet is entered in text box1 the Software is not displaying any error message.Control Shifts to textbox2 on pressing Tab
when a special charcter is entered in text box1 the Software is not displaying any error message.Control Shifts to textbox2 on pressing Tab
when space is entered in text box1 the Software is not displaying any error message.Control Shifts to textbox2 on pressing Tab
when null values is entered in text box1 the Software is not displaying any error message.Control Shifts to textbox2 on pressing Tab
5
when alphabet is entered in text box2 the Software is not displaying any error message.Control Shifts to 'Calculate Sum on pressing Tab
6
when special characters is entered in text box2 the Software is not displaying any error message.Control Shifts to 'Calculate Sum on pressing Tab
7
when spaces is entered in text box2 the Software is not displaying any error message.Control Shifts to 'Calculate Sum on pressing Tab
8
Null value entered in text box2 the Software is not displaying any error message.Control Shifts to 'Calculate Sum on pressing Tab
9
when value below the lower boundary (-1) is entered in the textbox2 the software should not display any error message.Control shift to 'Calculate Sum on pressing Tab
10
when value above the Upper boundary (13) is entered in the textbox2 the software does not display any error message.Control shift to 'Calculate Sum' on pressing Tab
11
PRE-REQUISITES
EXPECTED RESULT
The icon for the software 1. Click on the icon of the should be present on the desk- software top of the computer 2. Observe the status of objects on the screen
1. Text Box 1 should be empty and enabled. 2. The cursor should be blinking in Text Box 1. 3. Text Box 2 should be empty and disabled. 4. Text Box 3 should be empty and disabled. 5. The 'Calculate Sum' button should be disabled. 1. The software should display error message. 2. The alphabets should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. Click inside Text Box 2. Type any special character 3. Press Tab
1. The software should display error message. 2. The special characters should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. Space should not be accepted in Text Box 1. 3. The control should remain in Text Box 1.
1. The software should display error message. 2. Null Value should not be accepted in Text Box 1. 3. The control should remain in Text Box 1. 1. The software should display error message. 2. Alphabet should not be accepted in Text Box2.. 3. The control should remain in Textbox2. 1. The software should display error message. 2. Special characters should not be accepted in Text Box2.. 3. The control should remain in Textbox2. 1. The software should display error message. 2. Spaces should not be accepted in Text Box2.. 3. The control should remain in Textbox2. 1. The software should display error message. 2. Null values should not be accepted in Text Box2.. 3. The control should remain in Textbox2. 1. The software should display error message. 2.lower boundary value should not be accepted in Text Box2.. 3. The control should remain in Textbox2.
1. The software should display error message. 2Upper boundary value should not be accepted in Text Box2.. 3. The control should remain in Textbox2.
SEVERITY OF DEFECT
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH
HIGH