Test cases for Co
Test Case ID Test Objective
Verify that a user can add a new contact with all required
1
fields filled (name, phone number, email).
Verify that a user receives an error message when trying to
2
add a contact without a name.
Verify that a user can add a contact with optional fields
3
(address, birthday,notes).
Verify that the newly added contact appears in the contact
4
list immediately.
5 Verify that a user can edit an existing contact's details.
7 Verify that a user can save changes to an edited contact.
Verify that changes to a contact are reflected immediately in
8
the contact list.
9 Verify that a user can delete a contact from the contact list.
Verify that a confirmation prompt appears before deleting a
10
contact.
Verify that the deleted contact no longer appears in the
11
contact list.
Verify that the application does not crash when deleting a
12
contact.
Verify that a user can search for a contact using the
13
contact's name
Verify that a user can search for a contact using the
14
contact's phone number.
Verify that the search results are accurate and reflect the
15
current contact list.
Verify that searching with no matching contacts shows a "no
16
results found" message.
17 Verify that duplicate contact names are not allowed.
Verify that contact details are displayed correctly when a
18
contact is selected.
Verify the application performance when loading a large
19
number of contacts.
Verify that the contact list displays correctly on various
20
screen sizes.
21 Verify that icons and buttons are responsive and accessible.
22 Verify that the "Favourites" functinality is accessible or not.
23 Verify that a contact can be added to "Favourites".
Verify that the application displays a list of "Favourites"
24
contact list.
25 Verify that a contact can be removed from "Favourites".
Test cases for Contacts Mobile Application
Input Data
Enter details. For example, Name= Rahul, Phone
No=1234567890, email= abc@[Link].
Enter all details except mobile number and click on
"Save" button.
Fill optional fields. For example, Address=Satara,
Birthday= 12/03/22, Notes= xyz. Click on "Save"
button.
Search for the contact in the contact list.
Edit the existing details. For example ,change
name=Rohit.
Edit the existing details. For example ,change
name=Rohit and click on "Save" button.
Search for the contact in the contact list.
Search for the contact in the contact list for example
"Rahul" and click on "Delete ".
Click on "Delete" button.
Go through the contact list.
None.
Search for a contact using name. For example; "Sita".
Search for a contact using phone number. For
example; "1234567890".
Search for a contact. For example "Ram".
Search for a name that does not exist in your contact
list. For example "abc".
Enter details. For example, Name= Rahul, Phone
No=1234567890, email= abc@[Link].
Select any contact. For example; "Sita".
Number of contacts: 1000
Open the applications on different devices.
Click on diferent buttons.
Select a contact for example "Aditi" and click on the
"*" (star) icon.
Select a contact for example "Aditi" and click on the
"*" (star) icon.
Check if Favourites list is displayed.
Select a contact for example "Aditi" and deselect the *
(star) icon.
Expected Result Actual Result
After entering details user should be able to Contact can be saved with correct
save the contact. details
Error message appers "Please enter
Error messgae should appear.
phone number".
Optional fields can be added and
Contact should be saved.
contact can be saved.
Contact should appear in the contact list
Contact appears in the contact list.
immediately.
Details should be editable. Details are editable.
Changes made should be saved. Changes are saved.
Changes should be reflected. Changes are reflected.
Contact should be deleted. Contact is deleted.
Confirmation prompt appearss "Are
Confirmation prompt should appear before
you sure you want to delete ths
deleting.
contact?"
Deleted contact should not appear in the Deleted contact does not appear in
contact list. the contact list.
The application should not crash while deleting The applicatio does not crash while
a contact. deleting a contact.
The application should display contacts having The application displays contacts
name that is searched(Sita). having name that is searched (Sita).
The application should display contact that The application displays contacts that
have the number. the same number.
The search results should be accurate and The search results are accurate and
reflect the current contact list. reflect the current contact list.
The application should display "No results The appication displays a message
found". "No results found".
The application displays an error
The application should display an error
message "A contact with this name
message.
already exists".
The contact details (name, phone number, The contact details (name, phone
email, address) should be displayed correctly number, email, address) are displayed
on the contact's detail page. correctly on the contact's detail page.
The contact list loads within 3-5 seconds. The contact list loads in 3-5 seconds.
The contact application shouldwork correctly The contact application shouldwork
on all devices. correctly on all devices.
The icons and buttons should be responsive The icons and buttons are responsive
and accessible. and accessible.
The star icon should be clickable. The star icon is clickable.
The contact should be added to favourites. The contact is added to favourites.
The application should display list of contacts The application displays a list of
added to "Favourites". contacts added to "Favourites".
The contact should be removed from The contact is removed from
Favourites. Favourites.
Status
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass
Pass