Six Myths about Ontologies: The Basics of Formal Ontology
Test cases for testing mobile phone
1. Assignment:1
Project Name: Testing a mobile phone.
--------------------------------------------------------------------------------------------------
1.Objective: This project aims to test different functionalities of mobile phone (having keypad ).
Different testing methods and levels of testing are used to test a mobile phone. The testing will be
conducted on both hardware and software.
Test Case Template
Test Case ID: 1 Test Designed by: Ashwini Kambale
Test Priority (Low/Medium/High): Medium Test Designed date: 7th Jan.2015
Test Executed by: Ashwini Kambale
Test Execution date: 7th Jan.2015
Test Title: To test whether mobile phone functions properly or not.
Description: Test different functionalities of mobile phone such as calling, messaging, charging and so on.
2. Testing Methods:
1.Black box testing
Pre-conditions:
• Tester should know how to handle mobile phone and functioning of it.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• SRS document
• Mobile phone manual
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check whether battery
is placed in phone or
not.
Mobile
Phone,
Battery
Battery should be placed in
phone correctly.
Battery is inserted and
Working.
Pass
2 Check whether SIM
card is placed in phone
or not.
Mobile
Phone, SIM
card
SIM card should be placed in
phone correctly.
SIM card placed correctly
and working.
Pass
3 Check whether mobile
phone is staring or
not.
Mobile
Phone
After inserting battery and
SIM card, mobile phone
should start and display
welcome screen.
Phone started successfully
with welcome screen.
Pass
4. Check whether mobile
phone is able to
connect the network or
not.
Mobile
Phone,
Required
Network
signal
Mobile phone should accept
the network signal and show
network status.
Mobile phone connected
to mobile network and
receiving signals.
Pass
3. 5. Check that when
phone is working then
inserting and removing
charger do not cause
any problem and
proper message is
displayed when
charger is inserted in
device.
Mobile
phone,
Charger and
power
supply.
Mobile phone should charge
its battery and appropriate
message should be displayed.
Phone charged
Successfully.
Pass
6. Check that mobile
does not consume
battery excessively.
Mobile
phone
The mobile phone should not
consume battery excessively.
battery consumption
Status checked.
Pass
7. Check that user can
establish (dial) a call.
Mobile
phone
Contact no.,
Network
signal,
balance
amount
User should be able to dial
contact no. by dialing
different nos.(0 to 9) and
make a call by pressing caller
button(usually green
coloured)
Contact no. dialed and
call established.
Pass
8. Check that user can
accept call .
Mobile
phone,
available
network
signal
Mobile phone should be able
to play a ringtone and vibrate.
User should be able to accept
call by pressing call
acceptance (green button).
Mobile phone ringed and
vibrated.
User accepted call
successfully.
Pass
9. Check that user can
reject the call.
Mobile
Phone,
available
network
signal
Mobile phone should be able
to play a ringtone and vibrate.
User should be able to reject
call by pressing call rejection
(red button).
Mobile phone ringed and
vibrated.
User rejected call
successfully
Pass
10. Check that user can
type a message
Mobile
phone
User should be able to press
all alpha-numeric keys.
All alpha-numeric keys, enter
and delete key should work
All keys functioning
properly.
User can type message.
4. properly.
11 Check that user can
send a message
Mobile
phone,
available
network
signal,
balance
amount
After typing a message user
should be able to send it by
pressing send button.
Message sent
successfully.
Pass
12 Check that user can
receive a message
Mobile
phone,
available
network
signal
User should be able to
receive a message and saved
it to inbox.
Message received
successfully.
Pass
13. Check whether balance
amount available or
not.
Mobile
phone
User should be able to check
balance amount from mobile
service provider.
Balance amount checked
successfully.
Pass
14. Check whether
speakers and
microphone working
or not.
Mobile
Phone
Speakers should function
well so that user can listen to
ringtone and songs.
Microphone should be able to
capture audio signals for
proper communication.
Speakers and microphone
working properly.
Pass
15 Check whether images
and songs saved to
memory (either RAM
or memory card) .
Mobile
Phone.
Memory
Card(if
necessary)
Images and songs should get
saved into memory (i.e
gallery) so that user can use,
send and delete it.
Images and songs saved
in memory.
Pass
Post-Condition:
Mobile phone operates correctly.
5. 2.White Box Testing
Pre-conditions: Tester should have knowledge of the –
• internal coding about the software (e.g. programming language used.,etc)
• operating system used in phone
• how to handle mobile phone and functioning of it.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• SRS document
• Mobile phone manual
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check whether
operating system in
phone installed
properly or not.
Mobile
Phone,
emulator
Operating system (Android,
windows, etc) should be
installed correctly.
Operating system
installed successfully.
Pass
2 Check the IMEI
(International Mobile
station Equipment
Identity ) no.
Mobile
Phone,
network
signal
(*In case user lost the phone,
IMEI no. is used to block the
usage of phone by notifying
mobile company.)
IMEI no. checked by dialing
“*#06#” and notified to user.
IMEI no. checked and
notified to user
successfully.
Pass
3 Check whether
security firewall or
antivirus installed in
mobile phone .
Mobile
Phone, anti
virus
software
Tester should check whether
security measures and
antivirus software
installation.
Mobile phone should be free
from viruses, malware, and
worms.
Mobile phone tested to
remove viruses, scanned
and bugs are fixed.
Antivirus software
installed.
Pass
6. 4. Check whether mobile
phone is able to
connect the network or
not.
Mobile
Phone,
Required
Network
signal
Mobile phone should accept
the network signal and show
network status.
Mobile phone connected
to mobile network and
receiving signals.
Pass
5. Check that call should
be made to valid
contact no.
(contact no. must be
equal to 10 digits.)
Mobile
Phone,
Required
Network
signal
User should be able to make
call to valid mobile no. only
Call made successfully to
valid contact no.
pass
Post-Condition:
Mobile phone functioning properly.
7. LEVELS OF TESTING
1. Functional Testing
2. Non-Functional Testing
1.Functional Testing
1. Unit testing
In unit testing, developer should have to test different units of mobile phone. Mobile phone consists of following
units-
1) Keypad 2) Messages 3)Contacts 4)Gallery
5) Play Music 6) Alarm 7) Settings
Test cases required for testing each unit are as follows:
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Unit-Keypad
Check that whether
All keys
(alphabets A to Z ,a to
z, 0 to 9, special
symbols)
Functional keys like
space, enter(next line)
Mobile
Phone
All keys
(alphabets A to Z ,a to z, 0 to 9,
special symbols)
Functional keys like space, enter(next
line) key, delete key, calling
button(Green), call rejection
button(red) should
Work correctly.
All keys
functioning
properly.
Pass
Pre-conditions: Developer performs unit testing.
• Developer should know the source code of each unit.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Source code of each unit
• Mobile phone manual
8. key, delete key, calling
button(Green), call
rejection button(red)
Working correctly or
not.
2
2.1
Unit-Messaging-
Check that user can
type a message.
Mobile
phone
User should be able to press all alpha-
numeric keys.
All alpha-numeric keys, enter and
delete key should work properly.
All keys
functioning
properly.
User can type
message.
Pass
2.2 Check that user can
send a message.
Mobile
phone,
available
network
signal,
balance
amount
After typing a message user should be
able to send it by pressing send
button.
Message sent
successfully.
pass
2.3 Check that user can
receive a message.
Mobile
phone,
available
network
signal
User should be able to receive a
message and saved it to inbox.
Message received
successfully.
pass
3
3.1
Unit- Contacts And
Calling
Check that user can
establish (dial) a call.
Mobile
phone
Contact no.,
Network
signal,
balance
amount
User should be able to dial contact no.
by dialing different nos.(0 to 9) and
make a call by pressing caller
button(usually green coloured)
Contact no. dialed
and call
established.
Pass
3.2 Check that user can
accept call .
Mobile
phone,
available
network
Mobile phone should be able to play a
ringtone and vibrate.
User should be able to accept call by
pressing call acceptance (green
Mobile phone
ringed and
vibrated.
User accepted call
Pass
9. signal button). successfully.
3.3 Check that user can
reject the call.
Mobile
Phone,
available
network
signal
Mobile phone should be able to play a
ringtone and vibrate.
User should be able to reject call by
pressing call rejection (red button).
Mobile phone
ringed and
vibrated.
User rejected call
successfully
Pass
3.4 Check that user can
Save a contact no.
Mobile
phone
Contact
no.,name
Memory.
User can enter contact no. by using
keypad and should get saved into
memory.
Contact saved
successfully.
Pass
3.5 Check that user can
modify a contact no.
Mobile
phone
Contact
no.,name
Memory.
User can enter new contact no. by
using keypad and should get saved
into memory.
Contact saved
successfully.
Pass
3.6 Check that user can
delete a contact no.
Mobile
phone
Contact
no.,name
Memory.
User can enter contact name. by using
keypad and should get deleted from
memory.
Contact deleted
successfully.
Pass
3.7 Check that user should
not create duplicate
contact.
Mobile
phone
Contact
no.,name
Memory.
User should enter contact name by
using keypad and if he enters
duplicate name mobile should notify
user and save that no. with alternate
name.
Duplicate contact
should not be
made.
Alternate contact
name should be
created.
Pass
10. 3.8 Check whether
speakers and
microphone working
or not.
Mobile
Phone
Speakers should function well so that
user can listen to ringtone ,callers
voice and songs.
Microphone should be able to
capture audio signals (i.e.receivers
voice) for proper communication.
Speakers and
microphone
working properly.
Pass
4
4.1
Unit-Gallery
Check whether images
and songs saved to
memory (either RAM
or memory card) .
Mobile
Phone.
Memory
Card(if
necessary)
Images and songs should get saved
into memory (i.e gallery) so that user
can use, send and delete it.
Images and songs
saved in memory.
Pass
5.
5.1
Unit- Playing Music
Check whether
speakers working or
not.
Mobile
Phone
Speakers should function well so that
user can listen songs.
Speakers working
properly.
Pass
5.2 Check that user can
select a desired song
from mobile and play
it.
Mobile
Phone,
Songs
playlist
User should be able to select song
from play list which is stored in
memory and play that song.
Song played
successfully.
Pass
5.3 Check that user can
increase or decrease
speaker volume.
Mobile
phone.
User should be able to increase or
decrese volume of speaker.
Volume increased
and decreased
successfully.
Pass
6
6.1
Unit- Alarm
Check that user can set
alarm on required time
or not.
Mobile
phone.
User should be able to set alarm on
required time,date with alarm
notification tone and volume level
User can set alarm
successfully.
Pass
6.2
Check that user can
cancel alarm.
Mobile
phone.
User should be able to cancel alarm. User can cancel
alarm
successfully.
Pass
11. 7
7.1
Unit- Settings
Check that user can set
date and time.
Mobile
phone.
User should be able to set requied
time according to time zone and date
User can set datre
and time
successfully.
Pass
7.2 Check that user can set
different profile
Such as –
Silent – ringtone
volume set to zero
Vibrate- phone will
vibrate having low
volume.
General- phone will
ring and vibrate .
Mobile
phone.
User should be able to set needed
profile.
User can change
profile
successfully.
Pass
Post-Condition: All units of mobile phone are tested.
2.Integration testing
Pre-conditions:
• All units must be tested before integration testing.
• Developer should integrate all the units into a single system.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Integrated system
• Mobile phone manual
12. Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check that keypad
works while typing a
message
Mobile Phone User should be able to type a
message by using different keys on
keypad.
Message typed
successfully.
Pass
2 Check that user can
type a message while
listening to song
Mobile Phone User should be able to type a
message by using different keys on
keypad while listening to songs.
Message typed
successfully
Pass
3 Check that user use a
keypad while he is
talking on call.
Mobile Phone User should be able to type while he
is on call.
Call made
successfully.
Pass
4 Check whether
speakers and
microphone working or
not while calling.
Mobile Phone Speakers should function well so that
user can listen to receivers voice.
Microphone should be able to
capture audio signals(dialers voice )
for proper communication.
During calling
speakers and
microphone
working properly.
Pass
5 Check that while
charging a phone user
should be able to
perform all phone
functions(contacting,
Messaging,playing
songs,etc)
Mobile
Phone,charger,
Power supply
User should be able to access
different functions of phone while
charging it.
User can access
phone while
charging it.
Pass
6 Check that user can
send images,
audio,videos as
MMS(Multi Media
Message Service).
Mobile Phone User should be able to send songs
and images.
User can send
Images and songs
successfully
Pass
7. Check that alarm and
phone timing working
in synchronisation.
Mobile Phone Phone and alarm timing shoud work
synchronise way.
Phone and alarm
timing
synchronised.
Pass
13. Post condition:
All parts of system itegrated and tested.
3.System Testing.
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check the mobile
phone as entire system
Mobile
phone,network
signal
Diffrerent functions of mobile phone
tested.
Phone functions
successfully.
Pass
2 Check that user can
dial and receive a call.
Mobile phone,
network signal
user should be able to dial and
receive a call.
Call made
successfully.
Pass
3 Check that user can
type ,send and receive
a message.
Mobile phone,
network signal
user should be able to type ,send and
receive a message.
Message sent
successfully.
Pass
4 Check that user can
access images, play
songs.
Mobile phone user should be able to access images,
play songs.
user can access
images, play
songs
Pass
Pre-conditions:
• Integration testing.
• All units should be integrated as one entire system.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
14. successfully.
5 Check that user can set
and cancel alarm on
required time or not.
Mobile phone user should be able to set and cancel
alarm on required time or not.
Alarm set or
cancelled
successfully.
Pass
Post condition:
Mobile phone as a entire system is tested.
4.Regression Testing
Pre-conditions:
• System testing.
• Changes like bug fixation or new version of software should be installed succesully.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
15. Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1. Check that if operating
system in phone is
updated then it should
be installed and work
correctly.
Mobile
phone
Updation successful and does not
affect the working of other functions
of phone.
Operating system
installed
successfully.
Pass
2. Check that if new
feature (such as
bluetooth, file sharing
options, network
accessibilty )added
then it should not affect
the working of other
functions of phone.
Mobile
phone
New feature added successfully and it
does not affect the working of other
functions of phone.
New feature added
successfully
Pass
3 Check that if bug in
phone is fixed, then it
should not affect the
working of other
functions of phone.
Mobile
phone
Bug fixed. Bug fixed. Pass
Post Condition: Changes like bug fixation or new version of software installed succesully and it is not
affecting the functioning of mobile phone.
16. 5.Acceptance Testing
Acceptance testing consists of 2 stages:
1.Alpha Testing: It will be performed amongst the teams (developer and QA teams). Unit testing, integration
testing and system testing when combined are known as alpha testing
Pre-conditions:
• Regression testing has been performed.
• Implemented system should be developed as per user requrements and tested.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1. Check the spellings of
words used in GUI of
phone.
Mobile
phone
Mobile phone should not cantain
spelling mistakes.
Pass
2. Check the response
time required to access
different phone
functions.
Mobile
phone
Response time of different functions
of phone should be minimum.
Pass
17. 2.Beta Testing:This test is performed after Alpha testing has been successfully performed.In beta testing a sample
of the intended audience (users)tests the application.
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Users will install, run
the application and
send their feedback to
the project team
Mobile
phone
User should be able to use mobile
phone and give feedback.
Pass
2. Check for system crash Mobile
phone
Different conditions in which system
can crash should be checked.
Pass
3 Check for
implemented system
meeting users
requirement or not.
Mobile
phone
User requiements shold be fulfilled. Pass
4 User satisfaction and
feed back.
Mobile
phone
User should be satisfied with system Pass
Post condition :
Alpha and beta testing has been performed.
18. NON-Functional Testing
1. Performance Testing
a. Load Testing
b. Stress Testing
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check network signals Mobile phone,
Network
signal
Phone should receive network signal. Pass
2 Check the accesibility
of phone when
memory is fully loaded
with contacts,images
and songs.
Mobile phone Phone should not get slow and
fuctions well if memory get fulled.
Pass
3. Check that how quality
of call get affected
with low network
signals.
Mobile
phone,network
signal
Phone calling quality get affected by
low netwrok signal.
Pass
4 Check the effect of
noise in calling
Mobile phone
network signal
Noise causes disturbunce in call. Pass
Pre-conditions:
• All requirements given by user should be implemented and tested.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
19. process.
5 Check that person can
receive 1 call at a time
and put others in
waiting condition.
Mobile phone
network signal
User should receive 1 call at a time
and others in waiting condition
Pass
Post condition-
Load and stress testing has been performed.
2. Usability Testing
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check that a good and
user friendly GUI of
phone is designed
Mobile phone User friendly GUI should be
designed.
Pass
2 Check that user able to
understand and use
different functions of
mobile phone.
Mobile
phone,network
signal
user should be able to understand and
use different functions of mobile
phone.
Pass
3 Check that user can
dial and receive a call.
Mobile
phone,network
signal
user should be able to dial and
receive a call.
Pass
4. Check that user can
type ,send and receive
a message.
Mobile
phone,network
signal
user should be able to type ,send and
receive a message.
Pass
5. Check that user can
access images, play
songs.
Mobile phone user should be able to access images,
play songs.
Pass
Pre-conditions:
• All requirements given by user should be implemented and tested.
• Mobile phone should be in working condition. i. e fully charged and SIM card should be inserted in it.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
20. Post condition-
Usability test has been performed.
3. Security Testing
Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1 Check whether security
firewall or antivirus
installed in mobile
phone .
Mobile
Phone, anti
virus
software
Tester should check whether security
measures and antivirus software
installation.
Mobile phone should be free from
viruses, malware, and worms.
Mobile phone
tested to remove
viruses, scanned
and bugs are
fixed.
Antivirus software
installed.
Pass
2 Check that Software is
secure against known
and unknown
vulnerabilities.
Mobile
phone
Software should be secure against
known and unknown vulnerabilities.
Pass
Pre-conditions:
• Software should be designed and coded, keeping in mind security measures.
• System testing has been performed.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual
21. 3 Check that Software
data (such as
contacts,messages,
images and songs) is
secure.
Mobile
phone
Software data (such as
contacts,messages, images and songs)
should be kept secure.
Pass
4 Check that Software is
according to all
security regulations.
Mobile
phone
Software should be developed
according to all security regulations.
Pass
Post condition-
Security test has been performed
4.Portability Testing
22. Step
No.
Test Cases Test data Expected result Actual result Status
(pass/fail)
1. Chack that if new
version or any new
operating system
installed in mobile
phone then phone is
working or not.
Mobile
phone
Phone should support the new version
of OS
Pass
2 Check that whether
phone accessories
(such as
charger,headphones)
Working or not.
Mobile
phone
Phone should support all kind of
accessories (such as
charger,headphones).
Pass
3 Check that whether
phone works in varying
network signals.
Mobile
phone
Phone should be able to work in
varying network signals.
Pass
Pre-conditions:
• Software should be designed and coded, keeping in mind Portability Requirements.
• Unit testing has been performed on the associated components.
• Integration testing has been performed.
• Test environment has been established.
Dependencies:
• Entire system
• SRS document
• Mobile phone manual