You are on page 1of 10

Test case calculator

TC Title TC ID

Verify GUI of memory functions M01

1. Test Objective Verify GUI of memory functions 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure From Calculator window, verify all functions of calculating are existed and in the left order as designed 4. Expected Results There are four buttons about MC, MR, MS, M+ and they are in order from top to bottom of the Calculator window

TC Title TC ID

Verify the function of the MS, MR buttons M02

1. Test Objective Verify that a digit is stored in to memory and can be recalled 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input some digits into edit box - Click on MS button - Click on Clear button - Click on MR button 4. Expected Results

- These digits are inputted successfully into edit box

- The value 0 exists in the edit box - The first values (stored in memory) is displayed in the edit box

TC Title TC ID

Verify the function of MC button M03

1. Test Objective Verify that a digit is clear out of memory when using the MC button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input some digits into edit box - Click on MS button - Click on Clear button - Click on MC button - Click on MR button 4. Expected Results

- These digits are inputted successfully into edit box - The value 0 exists in the edit box - The value 0 is displayed in the edit box

TC Title TC ID

Verify the function of M+ button M04

1. Test Objective Verify that a stored value in memory is increased when using the M+ button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input value 4 into edit box - Click on MS button - Click on M+ button - Click on MR button 4. Expected Results

- The value are inputted successfully into edit box - The value 8 is displayed in the edit box

TC Title TC ID

Verify GUI of Backspace, CE, C buttons CLR01

1. Test Objective Verify GUI of Backspace, CE, C buttons (Clear button) 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure 4. From Calculator window, verify all functions of Clear are existed and in the top order as designed 5. Expected Results There are three buttons about Backspace, CE, C and they are in order from left to right of the Calculator window

TC Title TC ID

Verify the function of Backspace button B01

1. Test Objective Verify that a digit is deleted when using the Backspace button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input some digits into the edit box - Click on Backspace button - Continue to delete the other digits by pressing the Backspace button 4. Expected Results

- These digits are inputted successfully into edit box - The first digit in the edit box is deleted successfully - The digits are deleted successfully

TC Title TC ID

Verify the function of CE, C button C01

1. Test Objective Verify that a digit is cleared out of memory when using the CE, C button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input some digits into the edit box - Click on CE or C button

4. Expected Results

- The value are inputted successfully into edit box - The value 0 is displayed in the edit box

TC Title TC ID

Verify GUI of sqrt, %, 1/x, = buttons G01

1. Test Objective Verify GUI of sqrt, %, 1/x, = buttons 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure From Calculator window, verify all functions of sqrt, %, 1/x, = buttons are existed and in the left order as designed 4. Expected Results There are four buttons about sqrt, %, 1/x, = and they are in order from top to bottom of the Calculator window

TC Title TC ID

Verify the function of sqrt (square root) button S01

1. Test Objective Verify that a digit is squared root using the sqrt button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Form Calculator window, input value 9 into edit box - Click the sqrt button 4. Expected Results

- Value 9 is inputted successfully - The value 3 is displayed in the edit box

TC Title TC ID

Verify the function of the % button P01

1. Test Objective To verify that a digit is percent when using the MS button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From Calculator window, input value 8 into edit box - Click on % button 4. Expected Results

- Value 8 is inputted successfully - The value 0.08 is displayed in the edit box

TC Title TC ID

Verify the function of 1/x button P02

1. Test Objective To verify function of the 1/x button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From Calculator window, input value 2 into edit box - Click on 1/x button 4. Expected Results

- Value 2 is inputted successfully - The value 0.5 is displayed in the edit box

TC Title TC ID

Verify the function of = button P03

1. Test Objective To verify function of the = button (show result when pressed) 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input value 3 into edit box - Click on + button - Input value 2 into edit box 4. Expected Results

- Value 3 is inputted successfully - Value 2 is inputted successfully

- The value 5 is displayed in the edit box

TC Title TC ID

Verify the GUI of Calculator functions Cal01

1. Test Objective Verify GUI of Calculator functions 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure From Calculator window, verify all functions of calculating are existed and in the right order as designed 4. Expected Results

Therere four buttons about /, *, -, + and they are in order from top to bottom of the Calculator window

TC Title TC ID

Verify that user can plus 2 digits by using "+" function Cal02

1. Test Objective Verify the function of + button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From calculator window, input a digit into edit box - Click on the button + - Input another digit into edit box - Click on the = button 4. Expected Results - The digit is inputted successfully into edit box - The digit is inputted successfully - The correct result of adding 2 digits is displayed successfully into edit box

TC Title TC ID

Verify that user can minus 2 digits by using "+" function Cal03

1. Test Objective Verify the function of - button 2. Test Configuration

A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From calculator window, input a digit into edit box - Click on the button - - Input another digit into edit box - Click on the = button 4. Expected Results - The digit is inputted successfully into edit box - The digit is inputted successfully - The correct result of minus 2 digits is displayed successfully into edit box

TC Title TC ID

Verify that user can multiply 2 digits by using "*" function Cal04

1. Test Objective Verify the function of * button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From calculator window, input a digit into edit box - Click on the button * - Input another digit into edit box - Click on the = button 4. Expected Results - The digit is inputted successfully into edit box - The digit is inputted successfully - The correct result of multiply 2 digits is displayed successfully into edit box

TC Title TC ID

Verify that user can divide 2 digits by using "/" function Cal05

1. Test Objective Verify the function of / button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - From calculator window, input a digit into edit box - Click on the button / - Input another digit into edit box - Click on the = button 4. Expected Results

- The digit is inputted successfully into edit box - The digit is inputted successfully - The correct result of divided 2 digits is displayed successfully into edit box

TC Title TC ID

Verify the GUI of Values number N01

1. Test Objective To verify GUI of values number 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure From calculator window, verify all function of values number are existed and in the center order as designed 4. Expected Results

Therere 9 buttons from 1 to 9, they are in order from left to right and bottom to top of the Calculator window

TC Title TC ID

Verify the function of Values number N02

1. Test Objective To verify the function of values number 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Click from 0 to 9 4. Expected Results

Therere 10 numbers from 0 to 9 are displayed in order into the edit box

TC Title TC ID

Verify the GUI of 0, +/- and . button B01

1. Test Objective Verify GUI of 0, +/- and . button 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure From calculator window, verify all buttons are existed and in the bottom order as designed 4. Expected Results

Therere 3 buttons and they are in order center from left to right of the Calculator window

TC Title TC ID

Verify the function of +/- button F01

1. Test Objective Verify that a digit is negative or positive 2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input some digits into the edit box - Click on +/- button - Click on +/- button again 4. Expected Results

- These digits are inputted successfully into edit box - These digits are showed negative - These digits are showed positive

TC Title TC ID

Verify the function of . button F02

1. Test Objective Verify the function of decimal button

2. Test Configuration A PC with OS installed and Calculator application is available and launched 3. Test Procedure - Input value 2 into the edit box - Click on decimal button . - Input value 5 into the edit box 4. Expected Results

- Value 2 is displayed into the edit box - The value decimal . is displayed into the edit box - Value 5 is displayed into the edit box

You might also like