Software Twsting Open
Software Twsting Open
KUNNAMKULAM
KIZHOOR(P.O), THRISSUR, KERALA
PIN- 680523
OPEN ENDED
PROJECT
PRESENTED BY
RIMNA
ALEEN ANTU
DHIJIN KRISHNA K B
1
CONTENTS
1 Introduction 6
2 SRS of ‘ Online bus booking system website’ 7-10
3 Test scenario 11-12
4 Test case 13-23
5 Test case execution 24-32
6 Bug reporting using Jira 33-34
7 Traceability matrix 35-36
8 Automate the login test case of the website 37
5
CHAPTER 1
INTRODUCTION
What is Software Testing
6
CHAPTER 2
SRS OF “ONLINE BUS BOOKING SYSTEM WEBSITE”
CONTENTS PAGE NO
About the document 7
● Purpose
● scope
● definition
Overall description 7
● product perspective
● features
7-8
System features
Registration
Route search
Seat selection
Reservation management
payment
Other 8
Legal and compliance requirments
Documentation
7
1. About The document:
1.1 Purpose
The purpose of this Software Requirement Specification (SRS) document is to outline the requirements for
the development of the BUSINDIA ONLINE Bus Ticket Reservation System. This system aims to provide a
comprehensive online platform for booking bus tickets across India, catering to the needs of travelers by
offering a user-friendly interface, real-time updates, and secure payment options.
1.2 Scope
The BUSINDIA ONLINE Bus Ticket Reservation System will facilitate the booking of bus tickets for various
routes and destinations across India. It will include features such as searching for routes, selecting seats,
making reservations, and processing payments. The system will also provide real-time information on bus
schedules, availability, and fares. Additionally, it will offer mobile accessibility and customer support services
to enhance user experience.
BUSINDIA ONLINE: The name of the online bus ticket reservation system.
SRS: Software Requirement Specification.
UI: User Interface.
2. Overall Description
User Registration and Authentication: Users can create accounts and log in securely to access the
system.
Route Search: Users can search for bus routes based on origin, destination, and travel dates.
Seat Selection: Users can view available seats on selected buses and choose their preferred seats.
Reservation Management: Users can manage their reservations, including viewing, modifying, and
canceling bookings.
Real-time Updates: The system will provide real-time information on bus schedules, availability, and
fares.
Secure Payment Processing: The system will integrate a secure payment gateway to process
transactions using various payment methods.
Mobile Accessibility: The system will be accessible via mobile devices, providing a responsive user
interface for seamless booking on smartphones and tablets.
Customer Support: The system will offer customer support services to assist users with inquiries and
issues.
3.System Features
8
3.1 User Registration and Authentication
Users can register by providing required information such as name, email, and password.
The system will verify user credentials during login to ensure secure access.
5.1 Performance
The system should respond to user interactions promptly, with minimal latency.
It should handle multiple concurrent users and high traffic volumes efficiently.
9
5.2 Security
The system should implement robust security measures to protect user data and transactions.
It should use encryption techniques to secure sensitive information during transmission and storage.
5.3 Reliability
The system should be highly reliable, with minimal downtime and service interruptions.
It should have mechanisms for data backup and recovery to prevent data loss.
5.4 Usability
The system should have an intuitive user interface that is easy to navigate and understand.
It should provide clear instructions and guidance to users throughout the booking process.
6.Other Requirements
6.2 Documentation
The system should be well-documented, with user manuals, technical guides, and system documentation
provided to users and developers.
Documentation should be updated regularly to reflect changes and updates to the system.
7. Conclusion
7.1 The BUSINDIA ONLINE Bus Ticket Reservation System aims to provide a comprehensive and user-
friendly platform for booking bus tickets across India. By incorporating features such as route search, seat
selection, real-time updates, secure payment processing, and mobile accessibility, the system aims to enhance
the overall experience of travelers and simplify the booking process. With robust security measures, reliable
performance, and dedicated customer support, BUSINDIA ONLINE strives to set a new standard for online
bus ticket reservation systems in India.
10
CHAPTER 3
TEST SCENARIO
TEST SCENARIO ID TEST SCENARIO DESCRIPTION
Obs_Ts-001 To verify that can successfully register by providing required information such as
Name
Email
password
Obs_Ts-002 To Verify that registered users can log in securely using their credentials.
Obs_Ts-003 To Verify that users can search for bus routes by entering
Origin
Destination
travel dates.
Obs_Ts-004 To Verify that users can view available seats for selected routes and buses.
Obs_Ts-005 To Verify that users can select preferred seats from the available options.
Obs_Ts-006 To Verify that users can make a reservation for selected seats and routes
Obs_Ts-007 To Verify that users can view their current reservations and booking history.
Obs_Ts-008 To Verify that users can modify existing reservations, such as
changing travel dates
seat selections
Obs_Ts-009 To Verify that users can cancel existing reservations, and the system processes the cancellation accordingly
Obs_Ts-010 To Verify that the system provides real-time updates
bus schedules
availability
fares
Obs_Ts-011 To Verify secure payment processing using credit/debit cards.
Obs_Ts-012 To Verify secure payment processing using net banking.
Obs_Ts-013 To Verify secure payment processing using mobile wallets.
Obs_Ts-014 To Verify that the user interface is responsive and accessible on mobile devices.
Obs_Ts-015 To Verify that users can contact customer support via live chat and receive assistance.
Obs_Ts-016 To Verify that users can contact customer support via email and receive timely responses to inquiries.
Obs_Ts-017 To Verify that users can retrieve forgotten passwords securely through the system.
Obs_Ts-018 To Verify that users can view their booking history, including past and upcoming reservations.
11
CHAPTER 4
TEST CASES
TEST CASE TEST CASE DESCRIPTION PRERESUISITES S STEP TO EXECUTE EXPECTED OUTPUT STATUS
ID T
E
PS
Obs_TC-001 User has to load the 1 Navigate to the registration Pass
To verify that the user User is successfully register
web page page. contain:
registration displays contain:
●Registration with the ● Registration with
the text field for
text field for user user name and
name and password, and
password, and login button
login button Sign Sign up link for
up link for new new user
user
● Register Button ● Register Button
Obs_TC-002 To verify that the user User has to load the 1 Navigate to the login page System should displays login Pass
Registered user web page page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Login button
Obs_TC-003 To verify that user Logged in User has to load the 1 Navigate to the search page System should displays login Pass
user web page of the system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
2 Click on Enter origin, Pass
destination, and travel dates Relevant bus routes are
displayed.
Obs_TC-004 To verify that the user can User has to load the 1 Navigate to the registration System should displays login Pass
displayed the bus route web page page. page contain:
● Login page with the
text field for
12
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
Obs_TC-005 To verify that user can Select preferred seats 1 Log into online bus booking System should navigate to Pass
Available seats displayed from the available system' application with the the Selected seats are
options User name and password highlighted.
Obs_TC-006 To verify that user Seats User has to load the 1 Open the web site online bus System should displays login Pass
selected highlighed web page booking system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
Obs_TC-007 To verify that Existing User has to load the 1 System should displays login Pass
reservations web page Open the web site online bus page contain:
booking system ● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
13
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
Form heading online bus
booking - User login
Obs_TC-011 To verify that the able to User has to load the 1 Open the web site online bus System should displays login Pass
Secure payment processing web page booking system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
Form heading online bus
booking - User login
14
Obs_TC-015 To verify that the user can Login into online bus 1 Open the web site online System should displays login Pass
Contact customer support booking system bus booking system page contain:
website ● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
Form heading
online bus
booking - User
login
2 Check that the Use live System should able to Pass
chat feature to contact navigate Timely
support. assistance is provided by
support agent. .
Obs_TC-016 Login into online 1 Open the web site online bus System should displays login Pass
To verify that Contact
exam system website booking system page contain:
customer support to use email ● Login page with
support the text field for
user name and
password, and
login button
Sign up link for
new user
● Register
Button
15
● Register
Button
16
CHAPTER 5
TEST CASE EXECUTION
TEST CASE TEST CASE DESCRIPTION PRERESUISITES S STEP TO EXECUTE EXPECTED OUTPUT STATUS remark
ID T
E
PS
Obs_TC-001 User has to load the 1 Navigate to the registration User is successfully Pass
To verify that the user
web page page. registere contain:
registration displays contain:
●Registration with the ● Registration with
the text field for
text field for user user name and
name and password, and
password, and login button
login button Sign Sign up link for
up link for new new user
user
● Register Button ● Register Button
Obs_TC-002 To verify that the user User has to load the 1 Navigate to the login page System should displays login Pass
Registered user web page page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Login button
Obs_TC-003 To verify that user Logged in User has to load the 1 Navigate to the search page System should displays login Pass
user web page of the system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online ebus
booking - User login
2 Click on Enter origin, Pass
destination, and travel dates Relevant bus routes are
displayed.
Obs_TC-004 To verify that the user can User has to load the 1 Navigate to the registration System should displays login Pass
displayed the bus route web page page. page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
17
● Register Button
● Login button
Form heading online bus
booking - User login
2 View available seats for Available seats are Pass
selected route displayed.
Obs_TC-005 To verify that user can Select preferred seats 1 Log into online bus booking System should navigate to Pass
Available seats displayed from the available system' application with the the Selected seats are
options User name and password highlighted.
Obs_TC-006 To verify that user Seats User has to load the 1 Open the web site online bus System should displays login Pass
selected highlighed web page booking system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
Obs_TC-007 To verify that Existing User has to load the 1 System should displays login Pass
reservations web page Open the web site online bus page contain:
booking system ● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
● Login button
Form heading online bus
booking - User login
18
new user
● Register Button
Form heading online bus
booking - User login
Obs_TC-011 To verify that the able to User has to load the 1 Open the web site online bus System should displays login Pass
Secure payment processing web page booking system page contain:
● Login page with the
text field for
user name and
password, and
login button
Sign up link for
new user
● Register Button
Form heading online bus
booking - User login
Obs_TC-015 To verify that the user can Login into online bus 1 Open the web site online System should displays login Pass
Contact customer support booking system bus booking system page contain:
website ● Login page with the
text field for
user name and
password, and
login button
Sign up link for
19
new user
● Register Button
Form heading
online bus
booking - User
login
2 Check that the Use live System should able to Pass
chat feature to contact navigate Timely
support. assistance is provided by
support agent. .
Obs_TC-016 Login into online 1 Open the web site online bus System should displays login Pass
To verify that Contact
exam system website booking system page contain:
customer support to use email ● Login page with
support the text field for
user name and
password, and
login button
Sign up link for
new user
● Register
Button
20
ticket id using
forget
button
3 Pass
Check that the navigated System should able to
correct route display the journey
4 Check that the journey System should able to Pass
date navigate by checking the
journey date
5 Check that the number of System should able to Pass
seat user booked navigate by checking the
no of seat
Obs_TC-19 To verify that the user can Login into online bus 1 To verify that the student To verify that the student Pass
conform to log out booking system can navigate check to log can navigate to user page
website out using “logout button” on clicking on logout
button
21
CHAPTER 6
BUG REPORTING USING JIRA
STEPS:
1. Execute the already prepared test cases and update its status in the test report.
2. Create account in JIRA
3. For logging defect/bug log in to JIRA
4. Create project
5. Report bug/defect
REPORTED BUGS:
BUG 1:
Steps:
1 Check that the if the trip is cancellable,
you will see an option to “Cancel
Booking”. Choose “Cancel Booking” if
you want to cancel the booking
2 Check that the “feedback page”
button navigate to login page.
3 User have need a good internet
connection
Expected Output:
System should able system should provide ticket number recover option
Actual output:
22
23
CHAPTER 7
TRACEABILITY MATRIX
25
CHAPTER 8
AUTOMATE THE LOGIN TEST CASE OF THE
WEBSITE
Program
package selenium_project;
username_input.send_keys('your_username')
password_input.send_keys('your_password')
password_input.send_keys(Keys.RETURN)
time.sleep(3)
if 'dashboard' in driver.current_url:
print('Login successful!')
else:
print('Login failed.')
driver.quit()
26