Beruflich Dokumente
Kultur Dokumente
Introduction
The most important phase in system development life cycle is system
testing. The number and nature of errors in a newly designed system depends on
the system specifications and the time frame given for the design.
A newly designed system should have all the subsystems working together,
but in reality each subsystems work independently. During this phase, all the
subsystems are gathered into one pool and tested to determine whether it meets
the user requirements.
Testing is done at two level -Testing of individual modules and testing the
entire system. During the system testing, the system is used experimentally to
ensure that the software will run according to the specifications and in the way the
user expects. Each test case is designed with the intent of finding errors in the way
the system will process it.
Testing plays a very critical role in determining the reliability and efficiency
of software and hence is a very important stage in software development. Software
testing is done at different levels. They are the unit testing and system testing
which comprises of integration testing and acceptance testing.
1
1.1 SYSTEM SPECIFICATION
1.1.1 HARDWARE SPECIFICATIONS:
2
CHAPTER 2
SYSTEM STUDY
2.1 Existing System
Current system is actually manual. In this system, the ordering cake, receiving
order from customers and Cancellation Details are done throughout the world has
relied on pens and papers. Problems such as missing orders and information sent to
the wrong place arise. Furthermore, some could not be able to handle the massive
volume of orders. Under the old manual ordering systems, it takes up too much
time to process. They have no computerized order and sales system. Due to the
manual system that they have, their services slow down.
2.3Proposed system:
In the proposed system, the process of ordering cakes and maintaining the
delivery details, database of customers are all made computerized. Since whenever
a customer’s makes a demand or places an order. This order can be processed
immediately. So the manual processes like placing an order, cancellation details
and billing is done easily without any paper work. To order a cake, Customers can
leisurely choose items from your cake menu and confirm the order to the sales
agent. Once the order has been completed the total cost of chosen cakes are
3
calculated by the sales agent. These ordered details of cakes are checked by the
admin of cake shop.
Advantages:
MODULES:
Administration
Cake details
Customer details
Order details
Bill details
Report
4
CHAPTER 3
In the project, the input design is made in various window forms with various methods.
CUSTOMER DETAILS
ITEM DETAILS
3.2OUTPUT DESIGN:
Output design generally refers to the results and information that are generated by the
system for many end-users; output is the main reason for developing the system and the basis on
which they evaluate the usefulness of the application. In any system, the output design
determines the input to be given to the application.
In the project, the output design is made in various window forms with various methods.
ORDER
Billing
REPORTS
5
3.3DATABASE DESIGN
Database designe is the process of the produsing a model of a database. This
logical data contains all the need to generate a designe in a data definition
language, which can then be used to create a database.
A fully attributed data model contains details attributes for each entity in. an
object database the entities and relationship map directly to object classes and
named relationship however the tem database design could also
Be used to apply to overall process of designing, not just the data base structure
3.4DESCRIPTUON MODULES
Administration:
In this administration module, admin can login using his username and
password. So that unauthorized access can be avoided. Admin has rights to make
changes in the system like change the menu items, change the prices, view the
order and send the ordered details to the kitchen.
Admin decides to add / delete an item from the menu because of which there
is a change in the price of some of the items.
Cake details
6
This module has the list of cake items, which contain illustrating the choice
for better understanding. It also displays the cost of each item.
Customer Details:
In this module we are going to maintain the customer details that are coming
to our concern. Customer details include their name, address, and phone number,
date of order they order.
Order details
In this module, the system takes an order as per the customer choice. Admin
will update the ordered items. Admin will send the instruction to the kitchen for
further process. Order detail includes order no, items ordered, quantity, amount
etc…
Bill details
This bill details module deals with the calculation of total amount should be
paid by customer. The system calculates and displays the final bill based on the
placed order. System calculates final bill based on the quantity of the items
multiplied by their unit price topped up by the applicable taxes if any.
Report
In this report module, the reports are generated such as ordered details, cake
details, customer details etc…
7
CHAPTER 4
SYSTEM ENVIRONMENT
4.1VISUAL BASIC.NET
SQL Server 2005 is the successor to SQL Server 2000. It included native support
for managing XML data, in addition to relational data. For this purpose, it defined an
xml data type that could be used either as a data type in database columns or as literals in
queries. XML columns can be associated with XSD schemas. XML data being stored is
verified against the schema. XML is converted to an internal binary data type before
being stored in the database.
Specialized indexing methods were made available for XML data. XML data is
queried using Query. Common Language Runtime (CLR) integration was a main feature
with this edition, enabling one to write SQL code as Managed Code by the CLR. SQL
Server 2005 added some extensions to the T-SQL language to allow embedding Query
queries in T-SQL. In addition, it also defines a new extension to Query, called XML
DML that allows query-based modifications to XML data.
SQL Server 2005 also allows a database server to be exposed over web services
using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.
When the data is accessed over web services, results are returned as XML.For relational
data, T-SQL has been augmented with error handling features (try/catch) and support for
recursive queries with CTEs (Common Table Expressions). SQL Server 2005 has also
been enhanced with new indexing algorithms, syntax and better error recovery systems.
Data pages are check summed for better error resiliency, and optimistic
concurrency support has been added for better performance. Permissions and access
control have been made more granular and the query processor handles concurrent
execution of queries in a more efficient way. Partitions on tables and indexes are
8
supported natively, so scaling out a database onto a cluster is easier. SQL CLR was
introduced with SQL Server 2005 to let it integrate with the .NET Framework.
SQL Server 2005 introduced "MARS" (Multiple Active Results Sets), a method of
allowing usage of database connections for multiple purposes.SQL Server 2005
introduced DMVs (Dynamic Management Views), which are specialized views and
functions that return server state information that can be used to monitor the health of a
server instance, diagnose problems, and tune performance.
SQL Server Configuration Manager is a new tool in SQL Server 2005. It is used to
manage SQL Server 2005 services and connections. It has been developed as a Microsoft
Management Console (MMC) plug-in application Its window is divided into a Console
tree (left pane) and a Details pane. It can be managed through SQL Server services and
connection configurations by navigating objects in the Console tree.
Managing Services
SQL Server
SQL Server Agent
SQL Server Browser
SQL Server Integration Services
SQL Server Analysis Services
9
4.2 Features of VB.Net
1. First of all, VB.NET provides managed code execution that runs under the
Common Language Runtime (CLR), resulting in robust, stable and secure
applications. All features of the .NET framework are readily available in
VB.NET.
2. VB.NET is totally object oriented. This is a major addition that VB6 and
other earlier releases didn't have.
3. The .NET framework comes with ADO.NET, which follows the
disconnected paradigm, i.e. once the required records are fetched the
connection no longer exists. It also retrieves the records that are expected to
be accessed in the immediate future. This enhances Scalability of the
application to a great extent.
4. VB.NET uses XML to transfer data between the various layers in the DNA
Architecture i.e. data are passed as simple text strings.
5. Error handling has changed in VB.NET. A new Try-Catch-Finally block has
been introduced to handle errors and exceptions as a unit, allowing
appropriate action to be taken at the place the error occurred thus
discouraging the use of ON ERROR GOTO statement. This again credits to
the maintainability of the code.
being stored is verified against the schema. XML is converted to an internal binary data
type before being stored in the database.
Specialized indexing methods were made available for XML data. XML
data is queried using XQuery. Common Language Runtime (CLR) integration was a
main feature with this edition, enabling one to write SQL code as Managed Code by the
CLR. SQL Server 2005 added some extensions to the T-SQL language to allow
10
embedding XQuery queries in T-SQL. In addition, it also defines a new extension to
XQuery, called XML DML that allows query-based modifications to XML data.
SQL Server 2005 also allows a database server to be exposed over web
services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol)
requests. When the data is accessed over web services, results are returned as XML.For
relational data, T-SQL has been augmented with error handling features (try/catch) and
support for recursive queries with CTEs (Common Table Expressions). SQL Server 2005
has also been enhanced with new indexing algorithms, syntax and better error recovery
systems.
Data pages are check summed for better error resiliency, and optimistic
concurrency support has been added for better performance. Permissions and access
control have been made more granular and the query processor handles concurrent
execution of queries in a more efficient way. Partitions on tables and indexes are
supported natively, so scaling out a database onto a cluster is easier. SQL CLR was
introduced with SQL Server 2005 to let it integrate with the .NET Framework.
SQL Server 2005 introduced "MARS" (Multiple Active Results Sets), a method of
allowing usage of database connections for multiple purposes.SQL Server 2005
introduced DMVs (Dynamic Management Views), which are specialized views and
functions that return server state information that can be used to monitor the health of a
server instance, diagnose problems, and tune performance.
4.3Features of VB.Net
Database mirroring
CLR integration
Service Broker
11
DDL triggers
Ranking functions
XML integration
TRY...CATCH
Database Mail
Data encryption
12
CHAPTER.5
5.1TESTING
The most important phase in system development life cycle is system testing.
The number and nature of errors in a newly designed system depends on the
system specifications and the time frame given for the design.
A newly designed system should have all the subsystems working together,
but in reality each subsystems work independently. During this phase, all the
subsystems are gathered into one pool and tested to determine whether it meets
the user requirements.
Testing is done at two level -Testing of individual modules and testing the
entire system. During the system testing, the system is used experimentally to
ensure that the software will run according to the specifications and in the way the
user expects. Each test case is designed with the intent of finding errors in the way
the system will process it.
5.2TYPES OF TESTING
Testing plays a very critical role in determining the reliability and efficiency
of software and hence is a very important stage in software development. Software
testing is done at different levels. They are the unit testing and system testing
which comprises of integration testing and acceptance testing.
13
Unit Testing
System Testing
Integration Testing
Acceptance Testing
UNIT TESTING:
This is the first level of testing. The different modules are tested against the
specifications produced during the integration. This is done to test the internal
logic of each module. Those resulting from the interaction between modules are
initially avoided. The input received and output generated is also tested to see
whether it falls in the expected range of values. Unit testing is performed from the
bottom up, starting with the smallest and lowest modules and proceeding one at a
time.
The units in a system are the modules and routines that are assembled and
integrated to perform a specific function. The programs are tested for correctness
of logic applied and detection of errors in coding. Each of the modules was tested
and errors are rectified. They were then found to function properly.
SYSTEM TESTING:
The integration of each module in the system is checked during this level of
testing. The objective of system testing is to check if the software meets its
requirements.
System testing is done to uncover errors that were not found in earlier
tests. This includes forced system failures and validation of total system as the
14
user in the operational environment implements it. Under this testing, low
volumes of transactions are generally based on live data. This volume is
increased until the maximum level for each transactions type is reached. The
total system is also tested for recovery after various major failures to ensure that
no data are lost during the breakdown.
INTEGRATION TESTING:
The different modules were linked together and integration testing done on
them.
ACCEPTANCE TESTING:
The objective of the acceptance test is to tell the user about the validity and
reliability of the system. It verifies whether the system operates as specified
and the integrity of important data is maintained. User motivation is very
important for the successful performance of the system.
All the modules were tested individually using both test data and live data.
After each module was ascertained that it was working correctly and it had been
"integrated" with the system. Again the system was tested as a whole. We hold the
system tested with different types of users. The System Design, Data Flow
15
Diagrams, procedures etc. were well documented so that the system can be easily
maintained and upgraded by any computer professional at a later
Acceptance testing is done with live data provided by the client to ensure
that the software works satisfactorily. This test focuses on the external behavior
of the system. Data was entered and acceptance testing was performed.
5.3SYSTEM IMPLEMENTATION
16
BIBLIOGRAPHY
BOOKS:
2. Jittery R.Shapiro, “The Complete Reference Visual Basic .NET” Edition 2002, Tata
McGraw-Hill, Publishing Company Limited, New Delhi.
3. Robert D.Schneider, Jetty R.Garbus, “Optimizing SQL Server”, Second Edition, person
Education Asia, ISBN: 981-4035-20-3
WEBSITES:
1. http://www.microsoft.com/dotnet/visual basic
http://www.dotnetheaven.com
17
CHAPTER 7
CONCLUSION
It is concluded that the application works well and satisfy the needs. The
application is tested very well and errors are properly debugged. It also acts as
the sharing of network files to the valuable resources.
18
CHAPTER 8
19
CHAPTER 9
APPENDICES
LEVEL 1
Admin
Login
Adds
Cake Item Details
details
Adds
Customer CustomerDetails
Adds
Order
OrderDetails
Details
Order
BillDetails
Details
Reports
20
B.DATA FLOW DIGRAM
pwd store
21
C.TABLE DESIGN
customer details
item
order
primary key : no
22
Bill
Primary key : no
23
D.SAMPLE CODING
Add Project
Imports System.Data.SqlClient
Public Class Item
Public con As New SqlConnection("server=.\sqlexpress;Integrated
security=true;database=Production")
Dim cmd As New SqlCommand()
Dim iid As String
Private Sub Item_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Data()
End Sub
Catch ex As Exception
End Try
refreshform()
Data()
End Sub
24
Catch ex As Exception
End Try
Data()
refreshform()
End Sub
TextBox1.Text = ds.Tables(0).Rows(0).Item(0)
TextBox2.Text = ds.Tables(0).Rows(0).Item(1)
TextBox3.Text = ds.Tables(0).Rows(0).Item(2)
con.Close()
End Sub
25
Imports System.Data.SqlClient
Public Class Sales
Public con As New SqlConnection("server=.\sqlexpress;Integrated
security=true;database=Production")
Dim cmd As New SqlCommand()
Dim bno As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If con.State = ConnectionState.Closed Then con.Open()
Try
End Try
End Sub
End Try
26
End Sub
End Try
End Sub
End Sub
TextBox1.Text = ds.Tables(0).Rows(0).Item(0)
ComboBox2.Text = ds.Tables(0).Rows(0).Item(1)
TextBox3.Text = ds.Tables(0).Rows(0).Item(2)
TextBox4.Text = ds.Tables(0).Rows(0).Item(3)
ComboBox1.Text = ds.Tables(0).Rows(0).Item(4)
TextBox5.Text = ds.Tables(0).Rows(0).Item(5)
27
TextBox2.Text = ds.Tables(0).Rows(0).Item(6)
DateTimePicker1.Text = ds.Tables(0).Rows(0).Item(7)
TextBox6.Text = ds.Tables(0).Rows(0).Item(8)
TextBox7.Text = ds.Tables(0).Rows(0).Item(9)
con.Close()
End Sub
End Sub
End Class
28
E.SCREEN DESIGN
INPUT SCREEN
29
30
31
32