Showing posts with label Test Cases Examples. Show all posts
Showing posts with label Test Cases Examples. Show all posts

Thursday 8 October 2015

Test cases Elevator

Test cases Elevator

Some of the use cases would be:
1) Elevator is capable of moving up and down.
2) It is stopping at each floor.
3) It moves exactly to that floor when corresponding floor no is pressed.
4) It moves up when called from upward and down when called from downward.
5) It waits until ‘close’ button is pressed.
6) If anyone steps in between the door at the time of closing, door should open.
7) No break points exists
8) More use cases for the load that the elevator can carry (if required)

Test cases for 2 way switch

Test cases for 2 way switch

1. Check whether two switches are present.
2. Check whether both switches are connected properly.
3. Check power supplies for both switches.
4. Check on/off conditions are working properly.
5. Check whether any electronic appliance connected to the 2-way switches should not get power supply when both switches are either in on state or off state.
6. Check whether any electronic appliance connected to the 2-way switches should get power supply when one switch is in on state and other is in off state or vice versa.

Test cases for Traffic Signal

Test cases for Traffic Signal

1.verify if the traffic lights are having three lights(green, yellow, red)
2.verify that the lights turn on in a sequence
3.verify that lights turn on in a sequence based on time specified(greenlight 1 min, yellowlight 10 sec , redlight 1 min)
5.verify that only one light glows at a time
6.verify if the speed of the Traffic light can be accelerated as time specified based on the traffic
7.verify if the traffic lights in some spots are sensor activated.

Test cases for sending a message through mobile phone

Test cases for sending a message through mobile phone (assuming all the scenarios)

1.Check for the availability of the Mobile
2.Check the buttons on the mobile
3.Check the mobile is locked or unlocked
4.Check for the unlock of the mobile
5.Select the menu.
6.Check for the messages in menu
7.Select the messages.
8.Check for the write message in messages menu
9.Select the write message.
10.Check the buttons writing alphabets.
11.Check for the chars how many u can send.
12.Write the message on the write message menu.
13.Select the options.
14.Select the send.
15.Check whether asking for the phone number of the receiver.
16.Select the Search for the receiver Phone Number if Exits.
17.Enter the Phone Number of the receiver.
18.Select OK.

19.Check for the request send.

Test cases for Mobile Phone

Test cases for Mobile Phone

Test Cases for Mobile Phone:

1)Check whether Battery is inserted into mobile properly
2)Check Switch on/Switch off of the Mobile
3)Insert the sim into the phone n check
4)Add one user with name and phone number in Address book
5)Check the Incoming call
6)Check the outgoing call
7)send/receive messages for that mobile
8)Check all the numbers/Characters on the phone working fine by clicking on them.
9)Remove the user from phone book n check removed properly with name and phone number
10)Check whether Network working fine.
11)If its GPRS enabled check for the connectivity.

Test Cases for ATM

Test Cases for ATM

TC 1 :- successful card insertion.
TC 2 :- unsuccessful operation due to wrong angle card insertion.
TC 3:- unsuccessful operation due to invalid account card.
TC 4:- successful entry of pin number.
TC 5:- unsuccessful operation due to wrong pin number entered 3 times.
TC 6:- successful selection of language.
TC 7:- successful selection of account type.
TC 8:- unsuccessful operation due to wrong account type selected w/r to that inserted card.
TC 9:- successful selection of withdrawal option.
TC 10:- successful selection of amount.
TC 11:- unsuccessful operation due to wrong denominations.
TC 12:- successful withdrawal operation.
TC 13:- unsuccessful withdrawal operation due to amount greater than possible balance.
TC 14:- unsuccessful due to lack of amount in ATM.
TC 15:- unsuccessful due to amount greater than the day limit.
TC 16:- unsuccessful due to server down.
TC 17:- unsuccessful due to click cancel after insert card.
TC 18:- unsuccessful due to click cancel after insert card and pin no.
TC 19:- unsuccessful due to click cancel after language selection, account type selection, withdrawl selection, enter amount

Test Cases Example