9. TestingApproach:
Unit Testing:
Sl. No. Testcase Input Expectedresult Output Testresult
1
Entering name in text
input
Characters and
numbers
It should accept the
name and start
searching
Started searching Successful
2
Entering name in text
input
No input
It should show a toast
message “Please type
your name”
Please type yourname Successful
3
Clicking on “Click To
Start” button
Clicked on “Click
To Start” button
Should start searching
and show the
available list if not
found should stop
searching after 30
second.
Provided the list. Successful
Stopped searching after
30 second
Successful
4
Clicking on any available
users
Clicked on an
available user.
Should open a popup
request to join in the
other user app.
A popup is opened in the
other user app either to
accept orreject the
request.
Successful
Device discovery Test
10. Sl.
No
.
Test case Input
Expected
result
Output Test result
1 SendingText abcd@1
Input text will
be sent as it is.
abcd@1 Successful
2 Receiving text
Text will be
received from
connected user
Text received Successful
3 Blank text test Empty
Sending button
disabled
BlankText
sent
Failed
Data Transfer Test:
11. Integrated testing:
Sl.
No.
Test case Input
Expected
result
Output Test result
1
Opening the app by
clicking on the app
icon
Clicked on the
app icon
The app should
launched without
any error.
App opened
without any
error.
Successful
2
Trying to search for
available devices
Clicked on
“Click to
Start” button
Should show all
the available
devices
Available
devices are
shown
Successful
3
Trying to connect to
other devices
Selected an
available device
Should transfer
to Chat menu
ones request is
accepted
Chat menu
opened
Successful
4
Trying to send and
receive message
Abc@1/aBc@
2
Should display
both users
messages
aBc@2/Abc@
1
successful