0% found this document useful (0 votes)
16 views5 pages

test case

The document outlines a series of test cases for an application, detailing steps to perform, expected results, and actual results for various functionalities such as login, user sign-up, ticket booking, and food ordering. Each test case includes a unique ID and indicates whether the test passed or failed. Overall, the tests confirm that the application behaves as expected in different scenarios.

Uploaded by

k232015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

test case

The document outlines a series of test cases for an application, detailing steps to perform, expected results, and actual results for various functionalities such as login, user sign-up, ticket booking, and food ordering. Each test case includes a unique ID and indicates whether the test passed or failed. Overall, the tests confirm that the application behaves as expected in different scenarios.

Uploaded by

k232015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Test

Steps to Expected Stat


Case Test Title Actual Result
Test Result us
ID

1. Open
application
2. Click
Admin is Admin is
"Admin
Admin logged in logged in
Mode"
TC00 Login - successfully successfully
3. Enter True
1 Correct and directed to and directed
username:
Credentials the main to the main
"admin"
menu. menu.
4. Enter
password:
"admin"

1. Open
application
2. Click
"Admin
Admin Error message Error message
Mode"
TC00 Login - displayed: displayed:
3. Enter True
2 Incorrect "Invalid "Invalid
username:
Credentials Password!" Password!"
"admin"
4. Enter
password:
"wrong"

1. Open
application
2. Click
"User Mode" Account Account
3. Click created created
User Sign
TC00 "Create New successfully successfully
Up - New True
3 Account" with with
User
4. Enter confirmation confirmation
unique message. message.
username
and
password

TC00 User Sign 1. Open Error message Error message True


4 Up - application displayed: displayed:
Existing 2. Click "Username "Username
User "User Mode" already already
3. Click exists!" exists!"
Test
Steps to Expected Stat
Case Test Title Actual Result
Test Result us
ID

"Create New
Account"
4. Enter
existing
username

1. Open
application
2. Click
"User Mode" User is logged User is logged
User Login 3. Click in successfully in successfully
TC00
- Correct "Login" and directed to and directed True
5
Credentials 4. Enter the main to the main
valid menu. menu.
username
and
password

1. Open
application
2. Click
"User Mode" Error message Error message
User Login
TC00 3. Click displayed: displayed:
- Incorrect True
6 "Login" "Invalid "Invalid
Credentials
4. Enter credentials!" credentials!"
invalid
username or
password

1. Log in as
Admin/User
2. Click
"Book
Ticket booked Ticket booked
Ticket"
Book successfully successfully
TC00 3. Enter
Ticket - with PNR and with PNR and True
7 passenger
Valid Input total cost total cost
count and
displayed. displayed.
details
4. Select
train and
class
Test
Steps to Expected Stat
Case Test Title Actual Result
Test Result us
ID

1. Log in as
Admin/User
Error message Error message
Book 2. Click
displayed: displayed:
Ticket - "Book
TC00 "Please enter a "Please enter a
Invalid Ticket" True
8 valid number valid number
Passenger 3. Enter
between 1 and between 1 and
Count passenger
6!" 6!"
count as 0
or >6

1. Log in as
Admin Ticket is Ticket is
2. Click cancelled cancelled
Cancel
TC00 "Cancel successfully successfully
Ticket - True
9 Ticket" with with
Valid PNR
3. Enter confirmation confirmation
valid PNR message. message.
number

1. Log in as
Admin
2. Click Message Message
Cancel
TC01 "Cancel displayed: "No displayed: "No
Ticket - True
0 Ticket" record found record found
Invalid PNR
3. Enter with that PNR." with that PNR."
invalid PNR
number

1. Log in as
Admin/User
Message Message
Check PNR 2. Click
TC01 displayed: displayed:
Status - "Check PNR True
1 "Ticket [PNR] "Ticket [PNR]
Valid PNR Status"
is confirmed!" is confirmed!"
3. Enter
valid PNR

TC01 Check PNR 1. Log in as Message Message True


2 Status - Admin/User displayed: displayed:
Invalid PNR 2. Click "Ticket [PNR] "Ticket [PNR]
"Check PNR not found or not found or
Status" cancelled!" cancelled!"
3. Enter
Test
Steps to Expected Stat
Case Test Title Actual Result
Test Result us
ID

invalid PNR

1. Log in as
User
Food order Food order
2. Click
placed placed
"Order
TC01 Order Food successfully successfully
Food" True
3 - Valid PNR with total with total
3. Enter
charges charges
valid PNR
displayed. displayed.
4. Select
food items

1. Log in as
User Error message Error message
Order Food 2. Click displayed: displayed:
TC01
- Invalid "Order "PNR does not "PNR does not True
4
PNR Food" match with our match with our
3. Enter record!" record!"
invalid PNR

1. Log in as
Receipt Receipt
User
displayed with displayed with
View Food 2. Place a
TC01 passenger passenger
Receipt - food order True
5 details and details and
After Order 3. Click
ordered food ordered food
"Print
items. items.
Receipt"

1. Log in as
User Message Message
2. Click displayed: displayed:
View Food
TC01 "Print "Please order "Please order
Receipt - True
6 Receipt" food first to food first to
No Order
without generate generate
placing an receipt." receipt."
order

1. Log in as Database Database


Display Admin records records
TC01
Database - 2. Click displayed in a displayed in a True
7
Admin "Display scrollable text scrollable text
Database" area. area.
Test
Steps to Expected Stat
Case Test Title Actual Result
Test Result us
ID

1. Log in as
Food orders Food orders
Display Admin
database database
TC01 Food 2. Click
displayed in a displayed in a True
8 Database - "View E-
scrollable text scrollable text
Admin Catering
area. area.
Database"

1. Log in as User is logged User is logged


User out and out and
TC01 Logout -
2. Click returned to the returned to the True
9 User
"Exit" or welcome welcome
"Logout" screen. screen.

1. Log in as
Admin is Admin is
Admin
logged out and logged out and
TC02 Logout - 2. Click
returned to the returned to the True
0 Admin "Exit" or
welcome welcome
navigate
screen. screen.
back

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy