booking ticket for bus

download booking ticket for bus

of 54

description

E ticker reservation System

Transcript of booking ticket for bus

CHAPTER-11. INTRODUCTION

1.1 ORGANIZATION PROFILE TRAVELLING CHOICE was founded by well experienced persons having 5 years of Service in the public transportation industry and is one of the largest providers of Inter-City bus transportation, serving more than 10 destinations. We aim to be the leading online business to business Platform, offering total travel solutions to our trade partners and meeting the consumer's needs with a guaranteed satisfaction. We offer a comprehensive range of travel services in Southern India.

Travelling choice is the only private operator which provides Hi-Tech coaches to remote destinations such as Muvattupuzha, Thodupuzha, Pala and Erattupetta. Customer Service: Travel has always been a delightful experience with us. Our clients carry home sweet memories of their association with us, and refer several of their friends and relatives to us.

Travelling choice has established over 10 branches with well equipped customer care service centers spread over in three Southern States namely Tamilnadu, Karnataka and Kerala. Web enabled Customer Care Services and authorized Agency arrangements made exclusively to meet the requirements of general public and customers. All passengers wherever on the network are guaranteed the same level of quality and assistance.

1.2 OVERVIEW OF THE PROJECT

This project is aimed at developing an online ticket reservation for bus. It is concept of developing web portal, where a customer can book bus tickets in travels that are made available in the site. E-booking means electronic booking. Its used to reserve tickets in online .This website is mainly aimed for booking ticket for travel around the world. In this website we can easily check the ticket booking details. This ticket reservation is an internet based application that can be accessed over the net.Instant update will be available for destination FARE details. We can easily find out the places for travel around the India.By use of electronic card we can easily pay the ticket fare. The customer can easily postpone & cancel their tickets but it some charges charged for their ticket cancellation and postpone based on their time of cancellation.After ticket booking customer gets mail and message automatically. Only trusted bank card will be accepted in ticket booking process. Customer should be carry the identification card while travel. After complete ticket booking process, customer should carry the soft copy of the ticket conformation details provide by our website.

CHAPTER-22. SYSTEM ANALYSIS

2.1 EXISTING SYSTEM Existing system is a tiredness of ticket reservation from ticket counters because customer have to stand in long queue for ticket reservation and customer used their time to go travels and book the tickets. If the customer wanted to do some changes with booked ticket means customer cant easily cancel and postpone tickets. So, peoples need some benefits for book tickets. So we going for new software like E-TICKET. Existing system is not a comfortable for the all of the client.

2.1.1 DRAWBACK OF EXISTING SYSTEM:

Peoples got tired in existing system because customer have to stand in long queue for ticket reservation and customer used their time to go travels and book the tickets. Even we are storing data in manually it will take more time to searching and other stubs. With the existing system time is waste for customers. Timing is very important in all the fields so we can save the time, this will give more benefits.

2.2 PROPOSED SYSTEMThe main purpose of our online ticket booking system is to provide an alternate and convenient way for a customer to buy travelling tickets. It is an automatic system.After the data has been fed into the database, the staff does not need to do anything with the order once it is received through the system.Reduced labor cost and human error with automatic asset tracking technology

Advantage of Proposed System:

To provide a anytime anyplace service for the customers. To minimize the number of staff at the booking place. Customers can easily search available tickets. Customers can easily book the tickets through online. By use of electronic card customers can easily pay the ticket fare It will give the financial benefits also like labor cost reducing.

To overcome the drawbacks of the existing system, the proposed system E-TICKET is launched. The proposed system uses ASP.NET front end and SQL SERVER as Backend.SQL SERVER has the capacity of sharing the available database to the clients efficiently and it can prevent the logical problem also.ASP.NET is an efficient Front-end tool and it is an object based language, which supports data abstraction and encapsulation.The new proposed system reduces data redundancy and duplication. It is user friendly, so that the end user can easily access it.It has multi-user accessibility and it is also providing timely report to reduce and uncertainly in decision making.

CHAPTER-3SYSTEM SPECIFICATION

3.1 SOFTWARE SPECIFICATIONPLATFORM-WINDOWS XP, 7FRONT END-Microsoft Visual Studio .Net 2008 (ASP.NET)BACK END-SQL - ServerTOOLS-ADO.NET

3.2 HARDWARE SPECIFICATIONPROCESSOR-Intel Pentium IV 2.80 GHzRAM-1 GB DDR2 RAMHARD DISK DRIVES-80 GBMONITOR-15 Color MonitorKEYBOARD-Standard KeyboardMOUSE-Logitech Mouse

CHAPTER-4 4 SOFTWARE DESCRIPTION

4.1 FRONT END:Microsoft .NET is a set of Microsoft software technologies for rapidly building and integrating XML Web services, Microsoft Windows-based applications, and Web solutions. The .NET Framework is a language-neutral platform for writing programs that can easily and securely interoperate. Theres no language barrier with .NET: there are numerous languages available to the developer including Managed C++, C#, Visual Basic and Java Script. The .NET framework provides the foundation for components to interact seamlessly, whether locally or remotely on different platforms. It standardizes common data types and communications protocols so that components created in different languages can easily interoperate. .NET is also the collective name given to various software components built upon the .NET platform. These will be both products (Visual Studio.NET and Windows.NET Server, for instance) and services (like Passport, .NET My Services, and so on).

The .Net FrameworkThe .NET Framework has two main parts:1. The Common Language Runtime (CLR).2. A hierarchical set of class libraries.The CLR is described as the execution engine of .NET. It provides the environment within which programs run. The most important features are

Conversion from a low-level assembler-style language, called Intermediate Language (IL), into code native to the platform being executed on. Memory management, notably including garbage collection. Checking and enforcing security restrictions on the running code. Loading and executing programs, with version control and other such features. The following features of the .NET framework are also worth description:Managed Code The code that targets .NET, and which contains certain extra Information - metadata - to describe itself. Whilst both managed and unmanaged code can run in the runtime, only managed code contains the information that allows the CLR to guarantee, for instance, safe execution and interoperability.

Managed Data With Managed Code comes Managed Data. CLR provides memory allocation and Deal location facilities, and garbage collection. Some .NET languages use Managed Data by default, such as C#, Visual Basic.NET and JScript.NET, whereas others, namely C++, do not. Targeting CLR can, depending on the language youre using, impose certain constraints on the features available. As with managed and unmanaged code, one can have both managed and unmanaged data in .NET applications - data that doesnt get garbage collected but instead is looked after by unmanaged code.

Common Type System The CLR uses something called the Common Type System (CTS) to strictly enforce type-safety. This ensures that all classes are compatible with each other, by describing types in a common way. CTS define how types work within the runtime, which enables types in one language to interoperate with types in another language, including cross-language exception handling. As well as ensuring that types are only used in appropriate ways, the runtime also ensures that code doesnt attempt to access memory that hasnt been allocated to it.

Common Language Specification The CLR provides built-in support for language interoperability. To ensure that you can develop managed code that can be fully used by developers using any programming language, a set of language features and rules for using them called the Common Language Specification (CLS) has been defined. Components that follow these rules and expose only CLS features are considered CLS-compliant.

The Class Library.NET provides a single-rooted hierarchy of classes, containing over 7000 types. The root of the namespace is called System; this contains basic types like Byte, Double, Boolean, and String, as well as Object. All objects derive from System. Object. As well as objects, there are value types. Value types can be allocated on the stack, which can provide useful flexibility. There are also efficient means of converting value types to object types if and when necessary.The set of classes is pretty comprehensive, providing collections, file, screen, and network I/O, threading, and so on, as well as XML and database connectivity.The class library is subdivided into a number of sets (or namespaces), each providing distinct areas of functionality, with dependencies between the namespaces kept to a minimum.

Languages Supported by .NetThe multi-language capability of the .NET Framework and Visual Studio .NET enables developers to use their existing programming skills to build all types of applications and XML Web services. The .NET framework supports new versions of Microsofts old favorites Visual Basic and C++ (as VB.NET and Managed C++), but there are also a number of new additions to the family.Visual Basic .NET has been updated to include many new and improved language features that make it a powerful object-oriented programming language. These features include inheritance, interfaces, and overloading, among others. Visual Basic also now supports structured exception handling, custom attributes and also supports multi-threading. Visual Basic .NET is also CLS compliant, which means that any CLS-compliant language can use the classes, objects, and components you create in Visual Basic .NET.Managed Extensions for C++ and attributed programming are just some of the enhancements made to the C++ language. Managed Extensions simplify the task of migrating existing C++ applications to the new .NET Framework.C# is Microsofts new language. Its a C-style language that is essentially C++ for Rapid Application Development. Unlike other languages, its specification is just the grammar of the language. It has no standard library of its own, and instead has been designed with the intention of using the .NET libraries as its own. Microsoft Visual J# .NET provides the easiest transition for Java-language developers into the world of XML Web Services and dramatically improves the interoperability of Java-language programs with existing software written in a variety of other programming languages. Active State has created Visual Perl and Visual Python, which enable .NET-aware applications to be built in either Perl or Python. Both products can be integrated into the Visual Studio .NET environment. Visual Perl includes support for Active States Perl Dev Kit.Other languages for which .NET compilers are available include FORTRAN COBOL Eiffel

Fig 4.1 .Net Framework ASP.NET XML Web Services Windows Forms

Base Class Libraries

Common Language Runtime

Operating System

C#.NET is also compliant with CLS (Common Language Specification) and supports structured exception handling. CLS is set of rules and constructs that are supported by the CLR (Common Language Runtime). CLR is the runtime environment provided by the .NET Framework; it manages the execution of the code and also makes the development process easier by providing services. C#.NET is a CLS-compliant language. Any objects, classes, or components that created in C#.NET can be used in any other CLS-compliant language. In addition, we can use objects, classes, and components created in other CLS-compliant languages in C#.NET .The use of CLS ensures complete interoperability among applications, regardless of the languages used to create the application.

Constructors And Destructors Constructors are used to initialize objects, whereas destructors are used to destroy them. In other words, destructors are used to release the resources allocated to the object. In C#.NET the sub finalize procedure is available. The sub finalize procedure is used to complete the tasks that must be performed when an object is destroyed. The sub finalize procedure is called automatically when an object is destroyed. In addition, the sub finalize procedure can be called only from the class it belongs to or from derived classes.Garbage CollectionGarbage Collection is another new feature in C#.NET. The .NET Framework monitors allocated resources, such as objects and variables. In addition, the .NET Framework automatically releases memory for reuse by destroying objects that are no longer in use. In C#.NET, the garbage collector checks for the objects that are not currently in use by applications. When the garbage collector comes across an object that is marked for garbage collection, it releases the memory occupied by the object.OverloadingOverloading is another feature in C#. Overloading enables us to define multiple procedures with the same name, where each procedure has a different set of arguments. Besides using overloading for procedures, we can use it for constructors and properties in a class.MultithreadingC#.NET also supports multithreading. An application that supports multithreading can handle multiple tasks simultaneously, we can use multithreading to decrease the time taken by an application to respond to user interaction. Structured Exception HandlingC#.NET supports structured handling, which enables us to detect and remove errors at runtime. In C#.NET, we need to use TryCatchFinally statements to create exception handlers. Using TryCatchFinally statements, we can create robust and effective exception handlers to improve the performance of our application.The .Net FrameworkThe .NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet.

Objectives of. Net Framework1. To provide a consistent object-oriented programming environment whether object codes is stored and executed locally on Internet-distributed, or executed remotely.2. To provide a code-execution environment to minimizes software deployment and guarantees safe execution of code.3. Eliminates the performance problems. There are different types of application, such as Windows-based applications and Web-based applications.

4.2 BACK ENDSQL SERVERIn the business world, everything is about being "better, faster and cheaper" than the competition -- and SQL Server 2005 offers many new features to save energy, time and money. From programming to administrative capabilities, this version of SQL Server tops all others and it enhances many existing SQL Server 2000 features. CLR (Common Language Runtime)The next major enhancement in SQL Server 2005 is the integration of a .NET compliant language such as C#, ASP.NET or VB.NET to build objects (stored procedures, triggers, functions, etc.). This enables you to execute .NET code in the DBMS to take advantage of the .NET functionality.SMTP mail Sending mail directly from SQL Server 2000 is possible, but challenging. With SQL Server 2005, Microsoft incorporates SMTP mail to improve the native mail capabilities. Say "see-ya" to Outlook on SQL Server!Database mirroring It's not expected to be released with SQL Server 2005 at the RTM in November, but I think this feature has great potential. Database mirroring is an extension of the native high-availability capabilities.FEATURES OF SQL SERVER SQL Server is the client/server relational database management system (RDBMS) that uses transact-Sql to send request between a client and SQL server. SQL Server uses transact-Sql as its database query and programming language. SQL Server integrates with Windows NT and hence takes advantage of many of its security features, SMP features, event viewer, performance monitor, cluster server. Applications are written to access SQL Server through a database Application Programming Interface (API). SQL Server validates users at two levels of security-login authentication and permissions validation on database user accounts and roles. Ease of installation, deployment and use. Scalability The same database engine can be used across platforms ranging from laptop computers running Microsoft Windows 95 to large, multiprocessor servers running Microsoft Windows NT. Data Warehousing SQL Server includes tools for extracting and analyzing summary data for online analytical processing. System integration with other server software SQL Server integrates with e-mail, the Internet, and Windows.

CHAPTER-5 5 PROJECT DESCRIPTION

5.1 PROBLEM DEFINITIONA system that can able to maintain the problem request and that can resolve with time scheduling.Existing system is a tiredness of ticket reservation from ticket counters because customer have to stand in long queue for ticket reservation and customer used their time to go travels and book the tickets.Using this Application Corporate development represents a major step in the evaluation of the requirements. Display the information and produce the results at a faster rate and cheap operating cost. One of the important steps in planning a project is to determine of appropriateness of a computerized solution. In addition to being cost effective, a computerized system must be socially and politically acceptable. There are possibilities for clerical persons committing errors while correction of papers, so the best available solution is computerization.Hence the concern decided to make the system computerized for cost efficiency and to reduce the manpower, for better service, to better information retrieval and also for the flexibility for the future development.

5.2 MODULE DESCRIPTION

Module description: Ticket checking: The ticket checking module is used to check available tickets for travel In this module we can easily check the ticket booking details This module is used to get details of buses. Instant update will be available for destination FARE details. Ticket booking: This ticket booking module is used to reserve the tickets for travel. This module is mainly aimed for booking ticket for travel around the India. This module is used for two type of booking. One is single trip booking another one is tour booking. By use of electronic card we can easily pay the ticket fare. Only trusted bank card will be accepted in ticket booking process Customer should be carry the identification card while travel. After complete ticket booking process , customer should carry the soft copy of the ticket conformation details provide by our website. Postpone: The postpone module is used to change or extend travelling date and time Ticket postpone have some time limit to postpone ticket .customer can easily postpone their tickets but it should be before 24 hours of travel time. For postpone ticket charges charged based upon their ticket price and time of postpone. If there is no ticket customer cant postpone ticket. Cancellation: The cancellation module is used to cancel the reserved tickets. The ticket cancellations have some time limit to cancel the ticket. so the customer can easily cancel their tickets but it should be before 24 hours of travel time. For cancelling ticket charges charged based upon their ticket price and time of cancellation. Customer support : The customer support module is used to support the customer. This module maintains ticket refund status, print ticket.Refund status: The refund status is used to check retransfer status of money. It is used to customer to check their refund status This check refund status contains ticket no, mobile no or E-mail id.Print ticket: The print ticket is used to get the ticket, whenever customer need their booked ticket Customer should carry the soft copy of the ticket conformation details provide by our website. This print ticket contains ticket no, mobile no or E-mail id.

5.3 DATA FLOW DESCRIPTIONFlow Diagram (DFD) is a modeling tool that allows picturing system as a network of functional process to one another by pipelines of data.They are also widely used for representation of external and top-level design specification. The DFD shows the interface between the system and external terminators.Data Flow Diagram is also called as Bubble Chart. The bubble represents the process, the line represents the data flow and rectangle represents the entity

DisplayOn page ConnectorDouble Direction Flow of DataSingle Direction Flow of DataModulesRelationshipDatabaseProcessSYMBOLS

A. DATA FLOW DIAGRAM

Level 0

Level 1

Level 2

Level 3

5.4 DATA BASE DESIGN

A store of integrated data capable of being directly addressed for multiple users is organized so that various files can be accessed through a single reference based on the relationship among the records in the file rather than the physical location.The most important aspect of building an application is the design of the tables or the database scheme. The data stored in the tables must be organized in some manner, which is meaningful. The overall objective in the process of table design has been to treat data as an organizational of data in the database aims to achieve three major objectives viz.,

Data Integration Data Integrity Data Independence

In any database environment, several programs use the available data. Instead of each program managing its own data, authorized users share data across applications with database software managing the data as an entity. The primary objective of database design includes fast response time to enquire, more information at low cost, control of redundancy, clarity and ease of use, data and program independence, accuracy and integrity of the system, fast recovery and availability of a powerful end user language.

The database components are File manager DDL compiler Database manager

The theme behind a database is to handle information as an integrated whole thus making access to information easy, quick, inexpensive and flexible for users. Each table has been designed with a perfect vision5.4.1 OBJECTIVE OF DATA BASE DESIGN

Reduced redundancy Enforcing standards Sharing of data Maintaining integrity Data consistency Applying security restrictions

ENTITY RELATIONSHIP DIAGRAM

14

5.5 INPUT DESIGNInput design is the process of converting user-originated inputs to computer- based format. Input data are collected and organized into groups of similar data. Validations are made for each and every data entered in the screen for data accuracy. The inputs of the system have been designed effectively in such a way that the manual forms and inputs are coordinated where data elements are common to the source document and to the input.A source document has been prepared for the input of the data in order to make the data entry accurate and fast and then select the media used to enter them into the computer. The input screens are very user friendly.

OBJECTIVES OF INPUT DESIGNThe quality of the system input determines the quality of the system output. Input specifications describe the manner in which data enter the system processing. Input design features can ensure the reliability of the system and produce results from accurate data or they can result in the production of erroneous information. The input design also determines whether the user can interact efficiently with the system.Five objectives guiding the design of the input focus on Effectiveness Accuracy Easy to use Consistency Attractiveness

5.6 OUTPUT DESIGNComputer output is the most important and direct source of information to the user. Efficient, Intelligible output design should improve the systems relationships with the user and help in decision making. A major form of output is a hard copy from the printer printouts should be designed around the output requirements of the user.The output devices to be considered depend on factors such as compatibility of the device with the system response time requirements, expected print quality and number of copies needed.In addition to deciding on the output device, the system analyst must consider the print format and the editing for the final printout. Editing ranges from suppressing unwanted zeroes to merging selected records to produce new figures. In either case the task of output preparation is critical, requiring skill and ability to align user requirements with the capabilities of the system in operation. The standards for printed output suggest the following

Give each output a specific name or title Provide a sample of the output layout, including areas where printing may appear and location of each field. State whether each output field is to include significant zero spaces between fields and alphabetic or any other data.

The layout sheet for displayed output is similar to the layout chart used for designing input. Outputs are the direct source of information to the user. Users generally merit the system analyst work closely with the user through an interactive process, until the result is considered to be satisfactory.

DATABASE DESIGN

A.TABLE DESIGN

TABLE NAME: TICKET DETAILSPrimary Key: TICKET NO

FieldsTypeWidthConstraint

Ticket noInteger7Primary Key

Name Varchar30-

Age Integer 3-

Gender Varchar10-

From Varchar20-

To Varchar 20-

Date & timeDate & time-

Ticket details table contains ticket no, name, age, gender, from, to, date and time. here ticket no is primary key.

TABLE NAME: TICKET CHECKING

FieldsTypeWidthConstraint

From Varchar20-

To Varchar 20-

Date & timeDate & time-

Bus types Varchar 20-

B_placesVarchar20-

AmountInteger 5-

Ticket checking table contains from, to, date and time, bus types, boarding place, amount.

TABLE NAME: SINGLE TRIP BOOKINGPRIMARY KEY: MOBILE NO

FieldsTypeWidthConstraint

Name Varchar30-

Age Integer 3-

Gender Varchar10-

From Varchar20-

To Varchar 20-

Date Date-

Mobile noInteger10Primary key

E-mailVarchar 30-

Select bankVarchar30-

Card on noInteger16-

Card on nameVarchar30-

Expiry dateDate -

Cvv Integer3-

Ticket booking table contains name, age, gender, from, to, date, mobile no, email id, bank details, card on no, card on name, expiry date, Cvv.

TABLE NAME: TOUR BOOKINGPRIMARY KEY: MOBILE NO

FieldsTypeWidthConstraint

PackageVarchar30-

Name Varchar 45-

Mobile NoInteger10-

Tour booking table contains tour packages, name, and mobile no.

TABLE NAME: CANCELLATION AND POSTPONEFOREIGN KEY: TICKET NO&MOBILE NO

FieldsTypeWidthConstraint

Ticket noInteger7Foreign key

Mobile noInteger30Foreign key

Ticket cancellation and postpone tables contains ticket no, mobile no.

TABLE NAME: Check refund status AND Print ticketFOREIGN KEY: TICKET NO & MOBILE NO

FieldsTypeWidthConstraint

Ticket noInteger7Foreign key

Mobile noInteger30Foreign key

check refund status and print ticket table contains ticket no and mobile no.

CHAPTER-66 SYSTEM TESTING

The purpose of testing is to discover errors. Testing is the process of trying to discover every conceivable fault or weakness in a work product. It provides a way to check the functionality of components, sub assemblies, assemblies and/or a finished product It is the process of exercising software with the intent of ensuring that the Software system meets its requirements and user expectations and does not fail in an unacceptable manner. There are various types of test. Each test type addresses a specific testing requirement.

6.1 Test strategy and approachField testing will be performed manually and functional tests will be written in detail.Why Testing Testing is the analysis of source/executable code and the controlled execution of executable code to reveal defects that compromise a Java program's executable integrity. Defects often lead to erratic behavior or the premature termination of an executing program. The Software testing process commences once the program is created and the documentation and related data structures are designed. Software testing essential for correcting errors. Otherwise the program or the project is said to be not complete. Software testing is a process of checking whether the developed system is working according to the original objectives and requirements. The system should be tested experimentally with test data so as to ensure that the system works according to the required specification. Software testing is a critical element of software quality assurance and represents the ultimate review of specification, design and coding. After the coding phase, computer programs are available that can be executed for testing purposes. This implies that testing not only has to uncover errors introduced during coding, but also errors introduced during the previous phases.

Testing objectivesThe testing objectives are summarized in the following three steps

Testing is a process of executing a program with the intent of finding an error. A good test case is one that has high probability of finding an as-yet undiscovered error. A successful test is one that uncovers an as yet undiscovered error.

Testing principlesAll the tests should be traceable to customer requirement.

Tests should be planned long before testing begins that is the test planning can bring as soon as the requirement model is complete.

The following are the attributes of the good test:

A good test has high probability of finding an error. A good test is not redundant. A good test should be best of breed.A good test should be neither too simple nor too complexIntegration TestingSoftware integration testing is the incremental integration testing of two or more integrated software components on step up software applications at the company level interact without error.Test Results: All the test cases mentioned above a single platform to produce failures caused by interface defects.The task of the integration test is to check that components or software applications, e.g. components in a software system or one passed successfully. No defects encountered.

6.2 TEST CASE Unit testing Unit testing involves the design of test cases that validate that the internal program logic is functioning properly, and that program inputs produce valid outputs. All decision branches and internal code flow should be validated. It is the testing of individual software units of the application .it is done after the completion of an individual unit before integration. This is a structural testing, that relies on knowledge of its construction and is invasive. Unit tests perform basic tests at component level and test a specific business process, application, and/or system configuration. Unit tests ensure that each unique path of a business process performs accurately to the documented specifications and contains clearly defined inputs and expected results.

Integration testing

Integration tests are designed to test integrated software components to determine if they actually run as one program. Testing is event driven and is more concerned with the basic outcome of screens or fields. Integration tests demonstrate that although the components were individually satisfaction, as shown by successfully unit testing, the combination of components is correct and consistent. Integration testing is specifically aimed at exposing the problems that arise from the combination of components.

Functional testing Functional tests provide systematic demonstrations that functions tested are available as specified by the business and technical requirements, system documentation, and user manuals.Functional testing is centered on the following items:Valid Input : identified classes of valid input must be accepted.Invalid Input : identified classes of invalid input must be rejected.Functions : identified functions must be exercised.Output : identified classes of application outputs must be exercised.Systems/Procedures: interfacing systems or procedures must be invoked. Organization and preparation of functional tests is focused on requirements, key functions, or special test cases. In addition, systematic coverage pertaining to identify Business process flows; data fields, predefined processes, and successive processes must be considered for testing. Before functional testing is complete, additional tests are identified and the effective value of current tests is determined.

System Testing System testing ensures that the entire integrated software system meets requirements. It tests a configuration to ensure known and predictable results. An example of system testing is the configuration oriented system integration test. System testing is based on process descriptions and flows, emphasizing pre-driven process links and integration points.

White Box Testing White Box Testing is a testing in which in which the software tester has knowledge of the inner workings, structure and language of the software, or at least its purpose. It is purpose. It is used to test areas that cannot be reached from a black box level.

Black Box Testing Black Box Testing is testing the software without any knowledge of the inner workings, structure or language of the module being tested. Black box tests, as most other kinds of tests, must be written from a definitive source document, such as specification or requirements document, such as specification or requirements document. It is a testing in which the software under test is treated, as a black box .you cannot see into it. The test provides inputs and responds to outputs without considering how the software works.Acceptance TestingUser Acceptance Testing is a critical phase of any project and requires significant participation by the end user. It also ensures that the system meets the functional requirements.Test Results: All the test cases mentioned above passed successfully. No defects encountered.

CHAPTER-77. SYSTEM IMPLEMENTATION

DESCRIPTION METHODOLOGY

System Implementation is the important stage of the project when the theoretical design is turned into practical system. Implementation simply means converting a new system design into operation. A critical factor in conversion is not disturbing the functioning of the organization. Following conversion, it is desirable to review the performance of the system and to extent that changes in the users environment.PLANNINGPlanning plays an important role in the implementation. The planning should face any practical problems for controlling various activities of people, out their own data processing. This can be achieved easily with the cooperation of the members of the concernTRAININGSuccessful implementation needs trained computer staff. End users are trained so that they are capable of working efficiently within the successful of the system.MAINTENANCEMaintenance involves recovery on crash such as the backups and the end user should be given only executable format of the system

SPECIFICATION OF MODEL There are several methods for handling the implementation and the consequent conversion from the old to the new computerized system. The most secure method for conversion from the old system to the new system is to run the old system and new system in parallel. In this approach, a person may operate in the manual older processing system as well as start operating the new computerized system. This method offers high security, because even if there is a flaw in the computerized system, we can depend upon the manual system. However, the cost of maintaining two systems in parallel is very high. This outweighs its benefits. Another commonly method is to direct cut over from the existing manual system to the computerized system. There are no parallel activities. However there is no remedy in case of a problem. This strategy requires careful planning. A working version of the system can also be implemented in one part of the organization and the personnel will be piloting the system and changes can be made as and when required. But this method is less preferable due to the loss of consistency of the system.

One such approach/process used in Software Development is "The Waterfall Model". Waterfall approach was first Process Model to be introduced and followed widely in Software Engineering to ensure success of the project. In "The Waterfall" approach, the whole process of software development is divided into separate process phases. The phases in Waterfall model are: Requirement Specifications phase, Software Design, Implementation and Testing & Maintenance. All these phases are cascaded to each other so that second phase is started as and when defined set of goals are achieved for first phase and it is signed off, so the name "Waterfall Model". All the methods and processes undertaken in Waterfall Model are more visible.Requirements gathering and analysisThe goal of systems analysis is to determine where the problem is in an attempt to fix the system. This step involves breaking down the system in different pieces and drawing diagrams to analyze the situation, analyzing project goals, breaking down what needs to be created and attempting to engage users so that definite requirements can be defined. Requirements Gathering sometimes requires individuals/teams from client as well as service provider sides to get detailed and accurate requirements.DesignIn systems design functions and operations are described in detail, including screen layouts, business rules, process diagrams and other documentation. The output of this stage will describe the new system as a collection of modules or subsystems.The design stage takes as its initial input the requirements identified in the approved requirements document. For each requirement, a set of one or more design elements will be produced as a result of interviews, workshops, and/or prototype efforts. Design elements describe the desired software features in detail, and generally include functional hierarchy diagrams, screen layout diagrams, tables of business rules, business process diagrams, pseudo code, and a complete entity-relationship diagram with a full data dictionary. These design elements are intended to describe the software in sufficient detail that skilled programmers may develop the software with minimal additional input.

Build or codingModular and subsystem programming code will be accomplished during this stage. Unit testing and module testing are done in this stage by the developers. This stage is intermingled with the next in that individual modules will need testing before integration to the main project.TestingThe code is tested at various levels in software testing. Unit, system and user acceptance testings often performed. This is a grey area as many different opinions exist as to what the stages of testing are and how much if any iteration occurs. Iteration is not generally part of the waterfall model, but usually some occur at this stage.

CHAPTER-88. CONCLUSION AND FURTHER ENHANCEMENT

8.1 CONCLUSIONThis project entitled E-TICKET is implemented for a balanced growth and efficient running of the enterprise. It helps to replace the manual system effectively. This project is a real time based management system. This can be practically implemented The software developed has been designed and run to satisfy the requirements and needs of the organization as well as the end users. The system reduces the manual work of maintenance of the records and customers can easily search their tickets and book tickets for travel.The customer has the choice of choosing the seat as their comfort ability. Also the pricing could be made dynamic in order to enhance the system. Customer can easily understand the procedure of booking tickets. Customers can easily postpone and cancel their tickets.The most effective one for upcoming days because saving our time while we booking a ticket in a travels, customers can save their time by booking in online.

8.2 SCOPE FOR FURTHER ENHANCEMENT

This online ticket booking for TRAVELLING CHOICE website almost covered all the requirements. The design of this package can be extended to any extent in the case of inclusion or number of facilities with the system.Further requirements and improvements can easily be done. Since the coding is mainly structured are modular in nature. Improvements can be appended by changing the existing modules or adding new modules. However there are certain assumptions and certain limitations that could be overcome and various new applications could be added like: In future the project can be used online updating and live news Mode of payment can be modernized and increased. Tour booking method can be change. Price can be made dynamic

9. Appendix9.1SCREEN SHOTSHOME PAGE

TICKET BOOKING

CANCELLATION

POSTPONE

PRINT TICKET

9.2 SAMPLE CODINGusing System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;using System.Net.Mail;public partial class Default8 : System.Web.UI.Page{ public SqlConnection con; public SqlCommand cmd; int r, c; public void dbcon() { con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["mydb"].ToString()); con.Open(); } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { Label2.Text = Session["busfr"].ToString(); Label3.Text = Session["busto"].ToString(); Label4.Text = Session["busdt"].ToString(); }

}

protected void Button1_Click(object sender, EventArgs e) { Session["bank"] = DropDownList1.SelectedValue; dbcon(); string dt=Session["date"].ToString(); DateTime bdt = Convert.ToDateTime(dt); string tcno = Session["bid"].ToString() + Session["sel"].ToString(); Session["ttcno"] = tcno; Session["tname"] = TextBox1.Text; Session["tage"] = TextBox2.Text; Session["tgen"] = TextBox3.Text; string sql = "insert into booking values('" + TextBox1.Text + "','"+bdt+"','"+Session["busfr"].ToString()+"','"+Session["busto"].ToString()+"','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','"+DropDownList1.SelectedValue+"','"+tcno+"')"; cmd = new SqlCommand(sql,con); cmd.ExecuteNonQuery(); if ((radio1.SelectedValue == "Credit Card")||(radio1.SelectedValue=="Debit Card")) Response.Redirect("creditcard.aspx"); else if(radio1.SelectedValue=="Net banking") Response.Redirect("net banking.aspx"); } protected void Button2_Click(object sender, EventArgs e) { } protected void GridView1_SelectedIndexChanged(object sender, EventArgs e) {

} protected void Button2_Click1(object sender, EventArgs e) { dbcon(); string sql = "insert into pass values('"+TextBox1.Text+"','"+TextBox2.Text+"','"+TextBox3.Text+"','"+TextBox4.Text+"')"; cmd = new SqlCommand(sql,con); cmd.ExecuteNonQuery(); con.Close(); TextBox1.Text = " "; TextBox2.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; }}

using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Data.SqlClient;

public partial class Default4 : System.Web.UI.Page{ public SqlConnection con; public SqlCommand cmd; public string sql; public void connection() { con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["mydb"].ToString()); con.Open();

} protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { connection(); sql = "select * from booking where mobile='" + TextBox2.Text + "'"; cmd = new SqlCommand(sql, con); SqlDataReader datareader = cmd.ExecuteReader(); if (datareader.HasRows) { while (datareader.Read()) { SqlCommand cd = new SqlCommand("delete from booking where mobile='" + TextBox2.Text + "' and ticketno='" + TextBox1.Text + "'", con); cd.ExecuteNonQuery(); Response.Write("alert('Your Ticket Cancelled')"); }

} else { Response.Write("alert('Your MObile No. or Ticket No. is Wrong')");

}

SqlCommand cd = new SqlCommand("delete from booking where mobile='" + TextBox2.Text + "' and ticketno='" + TextBox1.Text + "'", con); cd.ExecuteNonQuery();

Response.Write("alert('Your Ticket Cancelled')"); con.Close(); }}using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Net.Mail;using System.Data.SqlClient;

public partial class Default5 : System.Web.UI.Page{ public SqlConnection con; public SqlCommand cmd; public string sql; public string nm, dt, sr, des, age, gen, mob, em, bnk, tcno; public void connection() { con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["mydb"].ToString()); con.Open();

} protected void Page_Load(object sender, EventArgs e) { Class1 ob = new Class1(); ob.initi(); } protected void Button1_Click(object sender, EventArgs e) { connection(); sql = "select * from booking where mobile='"+TextBox2.Text+"' and ticketno='"+TextBox1.Text+"'"; cmd = new SqlCommand(sql,con); SqlDataReader dr = cmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { nm = dr.GetString(0); //dt = dr.GetDateTime(1); sr = dr.GetString(2); des = dr.GetString(3); age = dr.GetString(4); gen = dr.GetString(5); mob = dr.GetString(6); em = dr.GetString(7); bnk = dr.GetString(8); tcno = dr.GetString(9); } } else { Response.Write("alert('Your MObile No. or Ticket No. is Wrong')");

} con.Close(); connection(); sql = "delete from booking where mobile='"+TextBox2.Text+"' and ticketno='"+TextBox1.Text+"'"; cmd = new SqlCommand(sql,con); cmd.ExecuteNonQuery(); if(tcno!=" ") { connection(); sql = "insert into postpone values('"+nm+"','"+Calendar1.SelectedDate+"','"+sr+"','"+des+"','"+age+"','"+gen+"','"+mob+"','"+em+"','"+bnk+"','"+tcno+"')"; cmd = new SqlCommand(sql,con); cmd.ExecuteNonQuery(); con.Close(); string msg = " Name:" + nm + "Postpone Date: " + Calendar1.SelectedDate + " FROM: " + sr + " To: " + des; MailMessage mail = new MailMessage(); mail.To.Add(em); mail.Body = msg; mail.From = new MailAddress("[email protected]"); mail.Subject = "Ticket Details";

mail.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(); smtp.Host = "smtp.gmail.com"; smtp.Port = 587; smtp.Credentials = new System.Net.NetworkCredential("[email protected]", "9789634516"); smtp.EnableSsl = true; smtp.Send(mail); Response.Write("alert('Your Tickets Booked,Your ticket is mailed')");

} } protected void Calendar1_SelectionChanged(object sender, EventArgs e) { TextBox3.Text = Calendar1.SelectedDate.ToString(); }}

using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Xml.Linq;using System.Net.Mail;using System.Data.SqlClient;

public partial class Default3 : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { Class1 ob = new Class1(); ob.initi(); Label1.Text="Ticket Number: "+Session["ttcno"].ToString(); Label2.Text="Name: "+Session["tname"].ToString(); Label3.Text="Age: "+Session["tage"].ToString(); Label4.Text="Gender: "+Session["tgen"].ToString(); Label5.Text="From: "+Session["busfr"].ToString()+" To: "+Session["busto"].ToString()+" Date: "+Session["date"].ToString();

} public SqlConnection con; public SqlCommand cmd; public SqlDataReader dr;

public void dbcon() { con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["mydb"].ToString()); con.Open(); } protected void Button1_Click(object sender, EventArgs e) { string mailid=" "; dbcon(); string sql = "select * from booking where name='"+Session["tname"].ToString()+"'"; cmd = new SqlCommand(sql,con); dr = cmd.ExecuteReader(); if (dr.HasRows) { while (dr.Read()) { mailid = dr.GetString(7); } } else { Response.Write("alert('Invalid Emailid')"); } string msg=Label1.Text+Label2.Text+Label3.Text+Label4.Text+Label5.Text; MailMessage mail = new MailMessage(); mail.To.Add(mailid); mail.Body = msg; mail.From=new MailAddress("[email protected]"); mail.Subject="Ticket Details"; mail.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(); smtp.Host = "smtp.gmail.com"; smtp.Port = 587; smtp.Credentials = new System.Net.NetworkCredential("[email protected]","9789634516"); smtp.EnableSsl = true; smtp.Send(mail); Response.Write("alert('Your Tickets Booked,Your ticket is mailed')"); }}

CHAPTER-1010. BIBLIOGRAPHY

Book References

Apress.Beginning.CSS.Web.Development.From.Novice.to.- SIMON COLLISONProfessional.Aug.2006Creating Cool HTML 4 Web Pages -DAVE TAYLORDatabase System Concepts-SUDARSHANInside ASP.NET Volume 3 Edition 3.5-SCOTT WORLEYManagement Information System-W S JAWADEKAR SQL Server for Window-ALAN SIMPSONWeb Design Workshop-ROBIN WILLIAMS'Web Design for Dummies-LISA LOPUCK

Wrox_-_Professional_SQL_Server_2005_Programming_2006-12- ROBERT VIEIRA

Online Referenceswww.google.comwww.w3schools.comwww.asp_dotnet2005_sql.comwww.dukedotnet.orghttp://www.w3schools.com/aspnet/default.asphttp://forums.asp.net/t/1191703.aspx/1http://krishnasaralanet.blogspot.in/p/sending-sms-from-aspnet-application.htmlwww.managementhelp.org/hr_mgmnt/hr_mgmnt.htmlwww.csharpcorner.comhttp://www.pagetutor.com/html_tutor/index.htmlhttp://webdesign.about.com/od/beginningtutorials/qt/web-page-html.htm