Tuesday 2 July 2013

Good Test Case Design

A Good Test Case Satisfies the Following Criteria
1.Effectively Find faults (Verify object)
2.Easy to maintain
3.Economically cheap to use  "Minimum Number of Test Cases To cover Maximum Functionality"
4.Represent to Others Easy to Understand
5.Doesn't Do unnecessary things
Test Cases for Telephone
1. Check whether the phone is working or not.
2. check whether the connection to receiver is proper or not.
3. Press numbers from 0 to 9 to check whether they are 
Responding or not.
4. Check for the dial tone when receiver is being lifted.
5. Enter valid phone numbers and check.
6. Enter invalid numbers and check whether the line is 
Connected or not.
7. Check the functionality of redial button.
8. Check whether it is connecting to corresponding no.s when 
Valid no’s are dialed.
9. Check whether ringtone is heard by dialing valid no's.
10. Check whether the phone system is according to the 
Requirements given.
  Test Cases for PEN:
1) Check whether the pen can write continuously
2) Check for Color of ink
3) Check for pen grip
4) Check for pen length
5) Check for refill length
6) Check for Refill point diameter
7) Check for pen weight
8) Check for pen material
9) Check for pen cap remove/close easily
10) Check for stress while writing
Test Cases for  ATM machine...
1. To verify ATM card Insertion
2. To verify ATM card Insertion in wrong angle
3. To verify invalid ATM card Insertion 
4. To verify Language selection
5. To verify Pin entry
6. To verify invalid  Pin entry
7. To verify invalid  Pin entry 3 times
8.To verify Account Type selection
9. To verify Invalid Account Type selection with respective
to inserted card
10. Verify withdrawal option selection
11. Verify Amount entry 
12. Verify Amount entry with wrong denominations(fr eg:999Rs)
13. Verify withdrawal success operation
14. Verify operation when our entered amount is grater than
Possible balance
15. Verify operation when our entered amount is grater than
Day limit
16. Verify when our ATM have lack of Amount
17. Verify when our ATM have network problem
18. Verify Current transaction No. exceeded than day limit
19. Verify operation with exceeded delay in between
Operations in ATM
20. Verify Cancel after insert card
21. Verify Cancel after Language selection
22. Verify Cancel after Pin entry
23. Verify Cancel after Amount type selection
24. Verify Cancel after withdrawal operation
25. Verify Cancel after Amount entry
26. Verify correction of Amount during entry

27. Verify after successful transaction If customer doesn't
Take the money
Usability Test Cases for Note Pad
1 - Change The color of word & Character
2 - Try to Open File other then .txt file Like .Pdf ,.doc  
3 - try to paste Picture ,Graphics & Image
4 - try to draw any diagram , like :- line , circle , 

Functional Test Cases: 

1) new page should be blank and cursor on beginning of first line.

2 To test Notepad Application :) the application allows typing

3) the application allows saving

4) the application allows opening a saved instance

5) validate menus and submenus

6) type of data that can be saved (numeric, alphanumeric, special chars)

7) editing the saved data(changing the font size, type, deleting, adding) and saving the changes.

8) saving a blank file.

9) validate file name : renaming file/keeping the default name/duplicate file name/sp chars in filename

Non-functional Test Cases : 

1) do performance testing by opening, say, 100 instances of notepad (possibly by using an automated tool)
 and determining the response time.

2) Check max length of data.
 
 

No comments:

Post a Comment