Abstraction:
This module encloses several buttons. In that three buttons are mostly used.
They are adding new button, Update button and cancel button. Cancellation module
will be used to cancel the passenger details which are already reserved. In this
form, all the passenger details are cancelled, by entering the ticket number of the
passenger detail which is to be deleted Train Details module is used to display the
details of all the trains which is already updated in the database and cost details are
also displayed for the corresponding train. The train details can be added newly in
the database..
TABELS DESCRIPTION:
S.No Field Name Data Type Field Description
1. User Name Text This field contains user name for the login
Requirements specification:
a) HARDWARE SPECIFICATION:
b) SOFTWARE SPECIFICATION:
Main Menu form will list all operations going to perform in this application.
This form contains link to three forms namely
Reservation
Cancellation
Train Details
When the user wants to enter into Reservation Form, just a click is made on
the reservation. Cancellation will be selected, when the user wants to enter into the
Cancellation Form. When the user wants to enter into Train Details Form, just a
click is made on the train details.
RESERVATION FORM :-
Reservation module will enclose the Railway Reservation Form. In this form,
all the passenger details are updated. This form displays all the passenger details.
New ticket reservation can be updated by getting the details from the passenger.
The passenger details can be updated in the separate database. If any new
reservation is made, then it will be updated in the database.
This module encloses several buttons. In that three buttons are mostly used.
They are adding new button, Update button and cancel button. Add new button is
used to add passenger details. Update button is used to update the added
passenger details. Cancel button is used to cancel the added passenger details.
CANCELLATION FORM :-
Cancellation module will be used to cancel the passenger details which are
already reserved. In this form, all the passenger details are cancelled, by entering
the ticket number of the passenger detail which is to be deleted.
When the ticket number is entered, the corresponding passenger details to
that ticket number are displayed, and then the cancel button is clicked to delete the
passenger details which are already updated in the database. The passenger detail
which is deleted in this form, will also deleted in the database.
This module encloses several buttons same as the reservation form. They
are adding new button, update button and cancel button. Add new button is used to
add the train detail. Update button is used to update the added train detail. Cancel
button is used to cancel the added train detail.
PROCESS DIAGRAM:
Reservation
Cancel
Railway
Reservation
Train Report
Details
Cancel
Train Details
Report
White box testing examines the basic program structure and it derives the test data
from the program logic; ensuring that all statements and conditions have been executed at
least once.
All the statements have been executed. The software designs in valid.
Black box testing methods focus on the functional requirements of the software.
This type of testing methods attempts to fine incorrect or missing functions, error in data
structure or external database access, interface error, performance errors, initialization and
termination error.
By the black box testing the inventory system is examined with various
combinations of inputs, we get the expected result.
IMPLEMENTING
Login Form :
Main Form :
RESERVATION FORM:
Declaration :
To Add_New :
Declaration in Form :
Private Sub Form_Load()
Text1.Text = Date
Set wsk = Workspaces(0)
Set db = wsk.OpenDatabase("C:\Program Files\Microsoft Visual
Studio\VB98\railway\RAILWAYTICKETS.MDB")
Set rs = db.OpenRecordset("reservedetails")
Set rr = db.OpenRecordset("traindetails")
Option1.Value = False
Option2.Value = False
End Sub
To make Modify :
To Make Save :
End Sub
CANCELLATION FORM:
Declaration:
TRAIN DETAILS:
Declaration :
Dim wsk As Workspace, db As Database, rr As Recordset
LOGIN FORM :
MAIN FORM:
RESERVATION FORM:
CANCELLATION FORM:
TRAIN DETAILS:
Conclusion: