Вы находитесь на странице: 1из 62

A PROJECT REPORT ON

GST CALCULATOR FOR SUPERMARKET


AT

ECIL-ECIT

(Electronic Corporation of India Limited)

Under the esteemed guidance of

V.Y.Bharadwaj, M.Tech

BY

Y.SHIVANI
R.DHARANI
J.TEJAASHWINI

Of

Btech (2016-2020)

CMR TECHNICAL CAMPUS


Kandlakoya(v),Medchal
Hyderabad
DECLARATION

We,R.Dharani,Y.Shivani,J.Tejaashwini students of CMR TECHNICAL CAMPUS,


pursuing B.tech 4th year hereby declare that the project titled “GST CALCULATOR
FOR SUPERMARKET” has been successfully completed by us at ECIL-ECIT.

DATE:2-07-2019
PLACE: Hyderabad
Acknowledgement

We take this opportunity to express our deep gratitude


to all the people who co-operated in various works during out
project work and played a big role in completing this project
successfully.

We express our gratitude with great admiration to


SRIDHARA SHETTY, AGM, CED for his valuable advice
encouragement throughout this work.

We also extend our gratitude to , project guide for


their valuables Guidance throughout his project to achieve out goal.

At last but not least, we would like to thank the


entire respondents for extending their helping for all circumstances.

Y.Shivani.
R.Dharani
Tejaashwini
Contents
1.Introduction
1.1Abstract

2.Organization Profile

3.Problem Definition
4.System Analysis
4.1 Existing System
4.2 Proposed System
5.Feasibility
5.1 Types Of Feasibilities
6.Project Overview
7.Requirments Analysis
Purpose
Scope
8.System Requirements
Software Requirements
Hardware Requirements
9.Technologies
10.Database tables
11.System Design
12.Testing & Validation
13. Conclusion and Future Scope
INTRODUCTION
ABSTRACT

The project titled “GST CALCULATOR FOR SUPERMARKET” is a


software application on java platform as application server end and mysql
as data store at backend.
Every project is executed through different phases and in each phase a
major milestone is crossed(Software Development Life Cycle).
The different phases involved in each project are analysis of the
process, next comes the design phase that indicates the process of
providing the solution to the problem. Next the environment of execution
wills undergoes and then comes testing where the process will be tested.
Following is the implementation phase in which solution designed in.
Design phase is brought into existence. Finally the longest phase is
maintaining of the software system.
Now a day’s every business man even a small scale industries also
registered with a GST number and taking bills from the vendor and writing
bills to the customers and storing them and also the bills are submitting to
the government the business people taking the auditor help to submit the
bills because making bills of different products having various percentages
may be difficult to some people

This complete the cycle of the. GST CALCULATOR FOR


SUPERMARKET
The system is developed in Java to be used on any platform and to work
with SDLC.
Organization Profile
HISTORY

ECIL was setup under the Department of Atomic Energy in the year 1967
with a view to generating a strong indigenous capability in the field of
professional grade electronics. The initial accent was on total self-reliance
and ECIL was engaged in the Design Development. Manufacture and
Marketing of several products emphasis on three technology lines viz.
Computers, Controls Systems and Communications. Over the years,
ECIL pioneered the development of various complex electronics products
without any external technological
Help and scored several ‘firsts’ in the fields prominent among them being
country’s
 First Digital Computer
 First Solid State TV
 First Control & Instrumentation for Nuclear Power Plants
 First earth Station Antenna

The Company played a very significant role in the training and growth of
high caliber technical and managerial manpower especially in the fields of
Computers and Information Technology.
Though the initial thrust was on meeting the Control & Instrumentation
requirements of the Nuclear Power Program, the expanded scope of self-
reliance pursued by ECIL enabled the company to develop various
products to cater to the needs of Defense, Civil Aviation, Military Forces,
Oil & Gas, Power, Space Education, Health, Agriculture, Steel and Coal
sectors and various user departments in the Government domain. ECIL
thus evolved as a multi-product company serving multiple sectors of
Indian economy with on import of country substitution and development of
products & services that are of economic and strategic significance to the
country.

MISSION:
ECIL’s mission is to consolidate its status as a valued national asset in the
area of strategic electronics with specific focus on Atomic Energy,
Defense, Security and such critical sectors of strategic national importance.

OBJECTIVES:

 To continue services to the country’s needs for the peaceful


uses Atomic Energy.
 Special and Strategic requirements of Defense and Space,
Electronics Security Systems and Support for Civil Aviation sector.
 To establish newer technology products such as Container
Scanning Systems and Explosive Detectors.
 To explore new avenues of business and work for growth in strategic
sectors in addition to working for realizing technological solutions
for the benefit of society in areas like Agriculture, Education,
Health ,Power, Transportation, Food, Disaster Management etc.
 To progressively improve shareholder value of the company.
 To strengthen the technology base, enhance skill base and ensure
succession planning in the company.
 To re-engineer the company to become nationality and
internationally competitive by paying particular attention to delivery,
cost and quality in all its activities.
 To consciously work for finding export markets for the company’s
products.
Problem Definition

 process.

To maintain the project through ‘GST Calculator for supermarket’


manually the following situations arise.

 Need more manpower & time consuming process


 Leave status can`t be estimated accurately
 The data can`t be secure
 Computations on data may or may not accurate
 Difficulties in controlling the flow of the project
 Maintaining the details of each & every employee manually is
difficult
Problem description

 The manual process of Software project is required more man power


while working with the projects based on the speciation so
acquiring the power based on the speciation is more difficult process
manually.

 Manual process of the GST Calculator is time consuming process


because here we have to maintain the reports of each & every leave
that are applied by the employee and employee details in the form
of documents .so viewing the details through document is time
consuming process.

 Maintaining the reports of the applied leaves through documents are


not easy as there is a chance of misplacing the documents.

 Manually generating the reports in a graphical (like graphs,charts,pie


charts) manner may leads to in accurate presentation.
System Analysis

existing system:
Now a day’s every business man even a small scale industries
also registered with a GST number and taking bills from the vendor and
writing bills to the customers and storing them and also the bills are
submitting to the government the business people taking the auditor help to
submit the bills because making bills of different products having various
percentages may be difficult to some people
Drawbacks of existing system:

 Increased costs due to software purchase


 GST is an online taxation system
 GST came into effect in the middle of financial year
 GST will mean an increase in operational costs

Proposed system:
By using this java application a man can give a code for the
product and formula for calculating the GST in his own computer and do
the calculations by his own and save the data in his computer it saves the
time of a business man.
Advantages of the proposed system:

 GST eliminates the cascading effect of tax


 Simple and easy online procedure
 Higher threshold for registration
 Improved efficiency of logistics
 Compostion scheeme for small business
FEASIBILITY STUDY

Feasibility is an important phase in the software development process it


enables the developers to have an assessment of the product being
developed. It refers to the feasibility study of the product in the terms of
outcomes of the product, operational use and technical support required for
implementing it. Feasibility study should be performed on the basis of
various criteria and parameters.

The various feasibility studies are:

 Economical feasibility
 Operational feasibility
ECONOMICAL FEASIBILITY:
Candidate system and compare them with costs, if the benefits out
Economic analysis is the most frequently used method for evaluating the
effectiveness of the candidates system. More commonly known as
cost/benefit analysis, the procedure is to determine the benefits and savings
that are expected from a candidate system and compare them with costs if
the benefiting out weights cost, then the decisions is made to design and
implement the system otherwise further justifications or alterations in the
proposed system will have to be made if it is to have a chance of being
approved.

OPERATIONAL FEASIBILITY:
It refers to the feasibility of the product to be operational. Some
products may work well at design and implementation but fail in the real
time environment. It introduces the study of human resources required and
their technical expertise. This product is operationally feasible as It is
designed specially for software project management. This provides
tracking the project and to manage the project development.
Project Overview

GST Calculator is a software application which is used to calculate the


amount of gst included in a”GrossPrice” as well as the amoun you
should add to a “NetPrice”.

6.1 Project Modules

Modules:
a) Name : User
Purpose :To calculate the GST
Input :username,password
Output : GST Calculator Website
Process : access username and password and then get the
calculator website

b) Name : Administrator
Purpose : To add products and view products
Input :
product_name,product_price,product_id,firstname,lastnam
e
Output : updated list
Proces: access
product_name,product_id,product_price,firstname and
lastname then .get the product list
REQUIREMENTS
ANALYSIS

Purpose
The Goods and Service Tax (GST) is a comprehensive value added
Tax on the supply of Goods and services. GST will replace all the
indirect taxes (like Excise duty, VAT, CST etc.) levied on goods and
services by Government once it is implemented. The main motive of
GST is to reduce the cascading effect of tax on the cost of goods and
services and create a common, cooperative and undivided Indian
market to make economy stronger and powerful. So the GST system
will combine Central excise duty, additional excise duty, service tax,
State VAT entertainment tax etc. under one banner. It will impact
tax structure, tax incidence, tax computation, credit utilization and
reporting, leading to a complete overhaul of the current indirect tax
system. This is one of the biggest taxation reform that will take place
in India once it is officially passed by Government.
Many countries across the world have single unified GST system but
due to non-consensus between central and state government of
India, India shall adopt a Dual GST model, meaning that the GST
would be administered both by the Central and the State
Governments. A Dual GST will be levied on the taxable value of
every transaction of supply of goods and services.
 State Goods and Services Tax (SGST), collected by the
state government
 Central Goods and Services Tax (CGST), collected by
the central government
 Integrated Goods and Service Tax (IGST), collected
by the central government on inter-State supply of goods
and services.
.

Scope

The project module is divided into 2 modules:

a)User:

This module is divided into tasks as follows:

 Login

 View products from database

 Calculate GST

b)Admin:
This module is divided into tasks as follows:

 Add products into database

 Allot product prices

 View products

SYSTEM
REQUIREMENTS
Software requirements:
Operating System : Windows 7
Technology : Java/J2EE (Servlets, JSP, JDBC)
Web Technologies : Html, JavaScript, CSS
Web Server : Tomcat 7.0
Database : Oracle 10g Express Edition
Software’s : JDK 1.6
Hardware requirements:
Hardware : Pentium based systems with a minimum
ofp4
RAM : 1 GB (minimum)
TECHNOLOGIES
AND
TOOLS
USED
Java:
The major characteristics of Java are:

 The programs you create are portable in a network. (See portability.)


Your source program is compiled into what Java calls byte code,
which can be run anywhere in a network on a server or client that
has a Java virtual machine. The Java virtual machine interprets the
byte code into code that will run on the real computer hardware.
This means that individual computer platform differences such as
instruction lengths can be recognized and accommodated locally just
as the program is being executed. Platform-specific versions of your
program are no longer needed.
 The code is robust, here meaning that, unlike programs written in
C++ and perhaps some other languages, the Java objects can contain
no references to data external to themselves or other known objects.
This ensures that an instruction can not contain the address of data
storage in another application or in the operating system itself, either
of which would cause the program and perhaps the operating system
itself to terminate or "crash." The Java virtual machine makes a
number of checks on each object to ensure integrity.
 Java is object-oriented, which means that, among other
characteristics, an object can take advantage of being part of a class
of objects and inherit code that is common to the class. Objects are
thought of as "nouns" that a user might relate to rather than the
traditional procedural "verbs." A method can be thought of as one of
the object's capabilities or behaviors.
 In addition to being executed at the client rather than the server, a
Java applet has other characteristics designed to make it run fast.
 Relative to C++, Java is easier to learn. (However, it is not a
language you'll pick up in an evening!)

Java was introduced by Sun Microsystems in 1995 and instantly created a


new sense of the interactive possibilities of the Web. Both of the major
Web browsers include a Java virtual machine. Almost all major operating
system developers (IBM, Microsoft, and others) have added Java
compilers as part of their product offerings.

The Java virtual machine includes an optional just-in-time compiler that


dynamically compiles byte code into executable code as an alternative to
interpreting one byte code instruction at a time. In many cases, the
dynamic JIT compilation is faster than the virtual machine interpretation.

JavaScript should not be confused with Java. JavaScript, which originated


at Netscape, is interpreted at a higher level, is easier to learn than Java, but
lacks some of the portability of Java and the speed of byte code. Because
Java applets will run on almost any operating system without requiring
recompilation and because Java has no operating system-unique extensions
or variations, Java is generally regarded as the most strategic language in
which to develop applications for the Web. (However, JavaScript can be
useful for very small applications that run on the Web client or server.)

Java Server Pages (JSP) is a Java technology that allows software


developers to create dynamically generated web pages, with HTML, XML,
or other document types, in response to a Web client request. The
technology allows Java code and certain pre-defined actions to be
embedded into static content.

The JSP syntax adds additional XML-like tags, called JSP actions, to be
used to invoke built-in functionality. Additionally, the technology allows
for the creation of JSP tag libraries that act as extensions to the standard
HTML or XML tags. Tag libraries provide a platform independent way of
extending the capabilities of a Web server.

JSPs are compiled into servlets by a JSP compiler. The compiler either
generates a servlet in Java code that is then compiled by the Java compiler,
or it may compile the servlet to byte code which is directly executable.
JSPs can also be interpreted on-the-fly, reducing the time taken to reload
changes.

Regardless of whether the JSP compiler generates Java source code for a
servlet or emits the byte code directly, it is helpful to understand how the
JSP compiler transforms the page into a Java servlet.

HTML(Hyper Text Markup Language)

HTML is a language used to create hypertext documents that have


embedded in them and is used to build web pages. It is only a
formatting language and not a programming language. Hyperlinks are
underlined or emphasized words or locations in a screen that lead to
Other documents.WWW is a global, interactive, graphical information
system. The advantage of hypertext is that instead of reading text in rigid
line structure one can easily jump from point to another point. One can
navigate through the information based on one’s interest and
preferences.HTML is platform independent .If one has access to the
interest, irrespective of the Operating System used and the Operating
System of the Web Server one can access the WWW. To view and
download the HTML files, which are on the WWW, all you require is a
browser and Internet connection.

HTML is a language for describing structured documents.HTML describes


the structure of documents- lists, heading, and paragraph etc. Elements of
web document are created through the usage of HTML tags. It is tags that
describe documents. Anything that is not a tag is part of a document itself.
HTML does not describe page layout
Word for windows or Lotus AmiPro for example, have different styles for
Headings, fonts, size and identification. HTML does not have all these.
Based on the platform, exact placement or appearance of any element will
change. There may not be fonts installed. So your formatted text will
appear differently on different machines/platforms.

By separating the structure of the document and the it’s appearance, a


program that reads and understands HTML can make a formatting decision
based on capabilities of the individual platform.

In addition to providing the networking functions to retrieve documents,


web browsers are also HTML formatters. They parse and format
documents and display them on the screen. Different browsers show data
differently.

Advantages

 HTML documents are cross platform compatible and device


independent.
 HTML documents are small and hence easy to send over the net.

JDBC(JAVA DATA BASE CONNECTION):

JDBC TEAM is a JAVA TEAM API for executing SQL Statements.(As a


point of interest JDBC is a trend marked name and is not an acronym,never
the less ,JDBC is often throught of as standing for “Java Database
Connectivity”.)It consists of a set of classes and interfaces written in the
java programming language.JDBC provides a standaed API for
tool/database developers and makes it possible to write database
applications using a pure Java API.

JDBC does the following things:

 Establish a connection with a database


 Send sql statements
 Process the results
The following code fragment gives a basic example of these
these steps:

Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”);
Connection con=
DriverManager.getConnection(“jdbc:odbc:DsnName”,”username”,”passw
ord”);
Statement st=con.createStatement();

Connection:

A connection object represents a connection with a database. A


connection session includes the SQL statements that are excecuted and the
results that are returned over the connection. A single application can have
one or more connections with a single database,or it can have connections
with many different databases.

Opening a connection:
The standerd way to establish a connection with a database is
to call the method DriverManager.getConnection. This method takes a
string containg a URL.The DriverManager class,referred to a the JDBC
management layer ,attempts to locate a driver than can connect to the
database represented Driver classes,and when the method get Connection
is called,it checks it with each driver in the list until it finds one that can
connect uses this URL to actually establish the connection.
DATABASE DESIGN
Databases:

The central concept of a database is that of a collection of records or pieces


of knowledge. Typically for a given database, there is a structural
description of the type of facts held in the database: this description is
known as a schema. The schema describes the objects that the represented
in the database and the relationships among them.

Primary key:

This is an index that cannot be NULL and it must be unique. Primary keys
are used in building relationships between tables in a database (i.e., an
index is automatically created on the primary key). The difference between
primary key and ordinary keys is that there can be multiple keys but there
can be only one primary key.

Foreign key:
When a field in one table takes the values from the primary key, a foreign
key is placed on that field. A foreign key is the field or a group of fields in
one table whose values match those of the primary key of another table.

Data Abstraction:

A major purpose of a database system is to provide users with an abstract


view of data. This system hides certain details of how the data is stored and
maintained. Data abstraction is divided into 3 levels

Physical level:

This is lowest level of abstraction at which one describes how the data is
actually stored.

Conceptual level:

At this level of database abstraction all the attributes and what data are
actually stored is described. Also, the entities and the relationship among
them is described at this level.

View level:

This is highest level of the abstraction at which one describes only part of
the database.
DATABASE TABLES:

1.USER TABLE:

Column name data type and size Constraint


Product_name Varchar(45) Not Null
Product_id Intrger(20) Not null
Product_price Integer(20) Not Null
username varchar2(20) Not Null
password Integer(20) Not Null
2.ADMIN TABLE:

Column name data type and size Constraint


Username Varchar(45) Not Null
Password Intrger(20) Not null
Firstname Varchar (45) Not Null
Lastnme varchar(45) Not Null

SYSTEM DESIGN
Introduction

This project is aimed at developing a Software Project management


System tool, which helps to manage the project and reduces the work load
of employee
A model is simplification of reality. It provides the blue prints of a system.
The Unified Modeling

Language is a graphical language for visualization, specifying,


constructing and documenting the artifacts of a software intensive system.
The UML gives a standard way to write a system’s blue prints, covering
conceptual things, such as business process and system functions, as well
as concrete things, such as classes written in a specific programming
language, database schemas, and reusable software components.

UML Diagrams

In the field of software engineering, the Unified Modeling Language


(UML) is a standardized visual specification language for object
modeling. UML is a general-purpose modeling language that includes a
graphical notation used to create an abstract model of a system, referred to
as a UML model.
Class diagram

A class diagram is a type of static structure diagram that shows a set


of classes, interfaces, collaborations and their relationships. Graphically,
a class diagram is a collection of vertices and arcs.
A class diagram is just a special kind of diagram and shares the
same common properties as do all other diagrams- a name and graphical
content that are a projection into a model.
Class diagrams commonly contain the following things:

 Classes

 Interfaces

 Collaborations

 Dependency, generalization, and association relationships.

Common use of class diagrams are:

 To model the vocabulary of a system.

 To model simple collaborations.

 To model a logical database schema.

Use case Diagram:


A Use case diagram is a diagram that shows a set of use cases, actors and
their relationships and the courses of actions that can be performed; it is
used to illustrate the static use case view of a system.

Use case diagrams are used:

 To model the context of a system.

 To model the requirements of a system.

Use case commonly consists of

 Use cases.

 Actors.

 Dependency, generalization, and association relationships.

A use case model can be helpful in project development, planning, and


documentation of system requirements.

Activity diagram

An activity diagram is essentially a flowchart showing flow of control


from activity to activity. Activity diagrams are used to model the dynamic
aspects of a system.

Activity diagram involves modeling the sequential steps in a computational


process. Activity diagrams may stand alone to visualize, specify, construct,
and document the dynamics of a society of objects.
Activity diagrams are not only important for modeling the dynamic aspects
of a system, but also for construction executable systems through forward
and reverse engineering.

An activity is an ongoing non-atomic execution with a state machine.


Activities ultimately result in some action, which is made up of executable
atomic computations that result in a change of state that distinguishes a use
case diagram from all other kinds of diagrams in its particular content.

Activity diagram mainly consists of:

 Activity states and action states

 Transitions

 Objects

Sequence diagrams

Sequence diagrams display interaction between instances of classes and


actors against a time line. These diagrams are useful where the timing
relationships between interactions are important.
A Sequence diagram is an interaction diagram that emphasizes the time
ordering of messages. Graphically, a sequence diagram is a table that
shows objects arranged along the X-axis and messages, ordered in
increasing time, along the Y-axis.
 An object lifeline is the vertical dashed line that represents the
existence of an object over a period of time.
 The focus of control is tall, thin rectangle that shows the period of
time during which an object is performing an action, either directly
or through the subordinate procedure.

Class Diagram of GST Calculator for supermarket


login

+username: string
+password: int
admin
User +redirect()
+username: string
+Username: string +password: int
+password: int +firstname: string
+product_name: string +lastname: string
+product_id: int
+getUserdata()
+getData() +setuserdata()

viewproduct
addproduct
+product_name: string
+product_id: int +product_name: string
+product_price: int +product_price: int
+product_id: int
+getProductData()
+username: string
+password: int
+setProductData()

User usecase Diagram:


register

login

User
viewproduct

calculate gst

logout

Admin usecase Diagram:


login

add product

admin product_price

view user details

set product_price

logout

User Activity Diagram:


view products

add products into the cart

update products into the cart

calcualte gst

logout
Admin activity Diagram:
view products

set products for users

set product price

view user details

mainatin user details

logout

Sequence diagram for GST Calculator :


/user
/admin

1 : set login()
2 : login()

3 : sent login request()

4 : recieved login request()

5 : update products to the user()

6 : view products()
7 : view user details()

8 : add products to the cart()

9 : set product price()

10 : view product price()

11 : calculate gst()

12 : display the gst result()

13 : logout() 14 : logout()
SCREEN
S

Registration:
Add product:

CSS3 Menu for User:


View product:

CSS3 Menu for Home page:


CSS3 Menu for Admin:

Contact:
About:

GST CALCULATOR WEBSITE:


AUTOMATIC GST CALCULATOR:
TESTING
AND
VALIDATION
INTRODUCTION:
“Software testing “is the process used to assess the quality of computer
software. Software testing is an empirical technical investigation
conducted to provide stakeholders with information about the quality of
the product or service under test, with respective content of in which it is
intended to operate. This includes, but is not limited to, the process of
executing a program or application with the intent of finding software
bugs. Testing can never completely establish the correctness of arbitrary
computer software; testing furnishes a criticism or comparison that
compares the state and the behavior of the product against a specification.
An important point is that software testing should be distinguished from
the separate discipline of Software Quality Assurance (S.Q.A), which
encompasses all business process areas, not just testing.
Software testing is a critical element of the software quality assurance and
represents the ultimate review of specification, design and coding. Testing
is the exposure of the system to trial input to see whether it produces
correct output or not. Once the source code is generated, software must be
tested to uncover as many errors as possible before delivery to the
customer. So the main goal of testing is to design a series of test cases that
have a high likelihood of finding errors.
Except for small computer programs, systems should not be tested as a
single monolithic unit. Large systems are built out of subsystems which are
built out of modules, which are composed of procedures and functions.
The testing process should therefore proceed in stages where testing is
carried out incrementally in conjunction with system implementation.
The testing process may consist of five stages:
1. Unit testing: Individual components are tested to ensure that they
operate correctly. Unit testing threats each individual component as
standalone entity which does not need other components during the
testing process.

2. Module testing: A module is a collection of dependent components


such as an object or some looser collection of procedures and
functions. A module encapsulates related components so that they
can be tested without other system modules.

3. Sub-system testing: This phase involves testing collections of


modules which have been integrated into sub-systems. may be
independently designed and implemented and most common
problems which arise in large software systems or sub-system
interface mismatches

4. System testing: Subsystems are integrated to make up the entire


system. The testing process is concerned with finding errors which
normally result from unanticipated interface between sub-systems
and components. It is also concerned with validating that the system
meets its functional and non-functional requirements.

5. Acceptance testing: This is the final stage in the testing process


before the system is accepted for operational use. It involves the
testing the system with the data applied by the system prowler rather
than stimulated data developed as the part of the testing process.
Acceptance testing of an reveals errors and emissions in the system
requirements definition. The requirement may not reflect the actual
facilities and performance required by the user and testing may
demonstrate that the system doesn’t exhibit the anticipated
performance and functionality.

TESTING METHODOLOGIES
For conventional applications, software is tested from two differently
perspectives:
1) Internal program logic is exercised using “White Box” test case
design techniques.
2) Software requirements are exercised using “Black Box” test case
design techniques.

White box testing

White box testing, sometimes called glass-box testing is a test case design
method that uses the control structure of the procedural design to derive
test cases. Using the white box testing methods, the Software engineer can
derive test cases that

1. Guarantee that all independent paths within a module have been


exercised at least once.
2. Exercise all logical decisions on their true and false sides.
3. Execute all loops at their boundaries and within their operational
bounds and
4. Exercise internal data structures to ensure their validity.

Black box testing


Black box testing takes an external perspective of the test object to derive
test cases. These tests can be functional or non-functional. The test
designer selects valid and invalid input and determines the correct output.
There is no knowledge of the test object’s internal structure.

This method of test design is applicable to all levels of software testing:


unit, integration, Functional testing, system and acceptance. The higher the
level, and hence the bigger and more complex the box, the more one is
forced to use black box testing to simplify. While this method can uncover
unimplemented parts of the specification, one cannot be sure that all
existent paths are tested.

Design of Test Cases and Scenarios


The goal of software testing is to design a series of test cases that have a high likelihood
of finding errors. A test case is the triplet [I, S, O] where I is the data input to the
system, S is the state of the system at which the data is input , and O is the expected
output of the system. Test case design methods provide the developer with a systematic
approach to testing. Methods provide a mechanism that can help to ensure the
completeness of test and provide the highest likelihood for uncovering errors in
software.
The test-plan is basically a list of test cases that need to be run on the system. Some of
the test cases can be run independently for some components (report generation from
the database, for example, can be tested independently) and some of the test cases
require the whole system to be ready for their execution. It is better to test each
component as and when it is ready before integrating the components.

Test cases

1. Case : Login
Form : GST Login form
Base Table :Userpage
Purpose : To login into the GST Calculator
sample Data
Input Data :
Userid :999
Password :999
Output Data : User Home page

Input Data :
Userid :546
Password :546
Output Data : Admin Home page

2. Case : Admin
Form : List of products
Base Table : Login1
Test Data :

S.NO
S.NO USERID USER TYPE
PASSWORD RESULT
USERTYPE RESULT
1 user
1 Null Admin 1 Login
Add page
products,view
2 Null Admin 2 products
Login page`
3 2
Null Null user - View page
Login products and
calculate GST
4 Admin Admin - Login page
5 Admin Admin 2 Admin home page
6 user User - Login page
7 Null User 1 Login page
8 user User 1 User home page

Validation
According to the capability Maturity Model Integration (CMMI), validation is the
process of evaluating software during or at the end of the development process to
determine whether it satisfies specified during requirements. Validation checks that the
product design satisfies or fits the intended usage (high-level checking ) – i.e., you built
the right product. This is done through dynamic testing and other forms of review.
Validation confirms that the product as provide, will fulfill its intended use .validation
ensures that ‘you built the right thing’.
By the test cases and their results we can assure that the tool has yielded the result as
specified in the requirements.

Conclusion
Testing and validation yielded the correct results as mentioned. In the testing category,
unit testing and integration testing was performed successfully and the results were
produced in the above tables. With the successful completion of testing and validation
the project is read to serve the clients as per their requirements.

CONCLUSION
CONCLUSION
AND
FUTURE SCOPE

CONCLUSION:
Implementation of GST is one of the best decision taken by the
Indian government. For the same reason, July 1 was celebrated as
Financial Independence day in India when all the Members of
Parliament attended the function in Parliament House. The
transition to the GST regime which is accepted by 159 countries
would not be easy. Confusions and complexities were expected and
will happen. India, at some point, had to comply with such regime.
Though the structure might not be a perfect one but once in place,
such a tax structure will make India a better economy favorable for
foreign investments. Until now India was a union of 29 small tax
economies and 7 union territories with different levies unique to
each state. It is a much accepted and appreciated regime because it
does away with multiple tax rates by Centre and States. And if you
are doing any kind of business then you should register for GST as it
is not only going to help Indian government but will help you also to
track your business weekly as in GST you have to make your
business activity statement each week.
FUTURE SCOPE

In the long-term, GST would be simplified even more. Globally, countries


that have benefitted from GST implementation typically deploy two- or
three- rates, as compared to the five-rate structure in India. As the
cascading effect disappears, inflation will reduce, thus leading to a positive
consumer outlook. As the tax revenue rises, the fiscal deficit would
improve.

The international business community has welcomed this changing


landscape of Indian business, and noted that the GST has helped improve
the ease of doing business in India. This is expected to attract more FDI
investments and help growth in exports.
BIBLOGRAPHY
 Servlets And JSP : JSP Professional

 For UML Diagrams: UML in 24 Hours Book

 The Complete Reference: Patrick Naughton & Herbert Schildt

 JavaHowtoProgram : H.M.DIETEL.P.J.DIETEL,PhL,Second Edition

 ODBC : JSP Professional

Some preferred websites : http://www.sun.com

Вам также может понравиться