Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

IFARM 2020-21

Abstract

It is a web-based open discussion portal providing


information and solutions about crops, vegetables,
Seeds and Fruits to small farmers and agricultural.
Additionally Agriculture helps farmers in making
decisions on the current market and best prices of crops
and herbs. Information regarding major crop markets
and the prevalent best price for the crops are published
on a regular basis. Agriculture also provides features
training and online query handling for all users. Queries
can be forwarded to a particular officer, and
information pages of the system are dynamic so that
agricultural officers can change it when needed.
Agriculture project also provides full information about
training and also the farmer can by the products based
on his requirements. Farmer can by vegetables, seeds,
fruits, based on his requirement.

SDUIM page 1
IFARM 2020-21

Introduction
India is fourth largest agriculture sector in the world.
Agriculture sector provides employment to over two third
population of the country. The Agriculture Management
System Project provides its users and researches to get online
information about, the crop, and training. This project is
aimed at solving some of the major problems related to
farmers. The web interface has been designed completely
user friendly, to facilitate the access even to an illiterate
farmer.

India's agriculture is composed of many crops, with the


foremost food staples being rice and wheat. Indian farmers
also grow pulses, potatoes, sugarcane, oilseeds, and such non-
food items as cotton, tea, coffee, rubber, and jute (a glossy
fiber used to make burlap and twine). India is a fisheries giant
as well. A total catch of about 3 million metric tons annually
ranks India among the world's top 10 fishing nations. Despite
the overwhelming size of the agricultural sector, however,
yields per hectare of crops in India are generally low

SDUIM page 2
IFARM 2020-21

compared to international standards. Improper water


management is another problem affecting India's agriculture.

At a time of increasing water shortages and


environmental crises, for example, the rice crop in India is
allocated disproportionately high amounts of water. One result
of the inefficient use of water is that water tables in regions of
rice cultivation, such as Punjab, are on the rise, while soil
fertility is on the decline. Aggravating the agricultural
situation is an ongoing Asian drought and inclement weather.
Although during 2000-01 a monsoon with average rainfall had
been expected, prospects of agricultural production during
that period were not considered bright. This has partially been
due to relatively unfavourable distribution of rainfall, leading
to floods in certain parts of the country and droughts in some
others.

Agriculture is the art and science of cultivating the soil,


growing crops and raising livestock. It includes the
preparation of plant and animal products for people to use and
their distribution to markets. Agriculture provides most of the
world's food and fabrics.

SDUIM page 3
IFARM 2020-21

The practice of agriculture is also known as "farming",


while scientists, inventors and others devoted to improving
farming methods and implements are also said to be engaged
in agriculture. Subsistence farming, who farms a small area
with limited resource inputs, and produces only enough food
to meet the needs of his/her family. At the other end is
commercial intensive agriculture, including industrial
agriculture. Such farming involves large fields and/or
numbers of animals, large resource inputs (pesticides,
fertilizers, etc.), and a high level of mechanization.

The main objective of developing “Agriculture”


application is to help farmers by providing all kinds
agriculture related information in the website. “Agriculture”
is farmer management website application which helps
farmers to give best-practice farming processes. It helps
farmers to improve their productivity and profitability. It
enables farmers to sell their products online.

In the Agriculture project Admin can add the crops and


also he can update and delete the crops. The admin has the
responsibility to view the queries sent by Farmer.Admin can
also check the Farmer payment. And Admin will provide

SDUIM page 4
IFARM 2020-21

training details for farmers. Based on training farmers can


attend the training.

Objectives
The main objective of the project is to help mainly
village farmers. The project provides full detailed training
information about growing projects.And main object was,
farmer can buy the crops based on his requirements. Where
the products will be add by an admin.

Existing System

 Existing system does not provide proper guidance to


farmers how to buy the products through online.
 The current system does not provide classes to
farmers to get knowledge about how to operate
computer.
 The current system does not providing courses to
learn basics of how to register into sites, and buy
crops and transactions.

SDUIM page 5
IFARM 2020-21

Proposed System
 The development of this new system contains the
following activitves,which trying to automate the entire
process and aware the farmers to globalize their
products.

 Provides facility of scheduling required training for


farmers who can register. It gives training to farmer who
does not have knowledge of basics of agriculture.

 Authentication is provided for this application only


registered user can access transaction details.

 User friendliness is provided in the application with


various controls provided by system rich user interface.

SDUIM page 6
IFARM 2020-21

LITRATURE SURVEY

HTML

Hypertext Markup Language (HTML) is the main markup


language for creating web pages and other information that
can be displayed in a web browser.

HTML is written in the form of HTML elements consisting of


tags enclosed in angle brackets (like <html>), within the web
page content. HTML tags most commonly come in pairs like
<h1> and </h1>, although some tags represent empty
elements and so are unpaired, for example <img>. The first
tag in a pair is the start tag, and the second tag is the end tag
(they are also called opening tags and closing tags). In
between these tags web designers can add text, further tags,
comments and other types of text-based content.

The purpose of a web browser is to read HTML documents


and compose them into visible or audible web pages. The
browser does not display the HTML tags, but uses the tags to
interpret the content of the page.

SDUIM page 7
IFARM 2020-21

HTML elements form the building blocks of all websites.


HTML allows images and objects to be embedded and can be
used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text
such as headings, paragraphs, lists, links, quotes and other
items. It can embed scripts written in languages such as
JavaScript which affect the behaviour of HTML web pages.

Web browsers can also refer to Cascading Style Sheets (CSS)


to define the appearance and lay HTML documents are
composed entirely of HTML elements that, in their most
general form have three components: a pair of tags, a "start
tag" and "end tag"; some attributes within the start tag; and
finally, any textual and graphical content between the start
and end tags, perhaps out of text and other material including
other nested elements. The HTML element is everything
between and including the start and end tags. Each tag is
enclosed in angle brackets.

SDUIM page 8
IFARM 2020-21

CSS (CASCADING STYLE SHEETS)

Cascading Style Sheets (CSS) is a style sheet language used


for describing the presentation semantics (the look and
formatting) of a document written in a markup language. It’s
most common application is to style web pages written in
HTML and XHTML, but the language can also be applied to
any kind of XML document.

CSS is designed primarily to enable the separation of


document content (written in HTML or a similar markup
language) from document presentation, including elements
such as the layout, colors, and fonts. This separation can
improve content accessibility, provide more flexibility and
control in the specification of presentation characteristics,
enable multiple pages to share formatting, and reduce
complexity and repetition in the structural content (such as by
allowing for table less web design). CSS can also allow the
same markup page to be presented in different styles for
different rendering methods, such as on-screen, in print, by
voice (when read out by a speech-based browser or screen
reader) and on Braille-based, tactile devices.

SDUIM page 9
IFARM 2020-21

MYSQL

The MySQL development project has made its source code


available under the terms of the GNU General Public License,
as well as under a variety of proprietary agreements. MySQL
was owned and sponsored by a single for-profit firm, the
Swedish company MySQL AB, now owned by Oracle
Corporation.

MySQL is primarily an RDBMS and ships with no GUI tools


to administer MySQL databases or manage data contained
within the databases. Users may use the included command
line tools, [citation needed] or download MySQL front-ends
from various parties that have developed desktop software and
web applications to manage MySQL databases, build database
structures, and work with data records.

MySQL Cluster is a write-scalable, real-time, ACID-


compliant transactional database, designed to deliver 99.999%
availability. With a distributed, multi-master architecture and
no single point of failure, MySQL Cluster scales horizontally

SDUIM page 10
IFARM 2020-21

on commodity hardware with auto-sharing (partitioning) to


serve read and write intensive workloads, accessed via SQL
and NoSQL interfaces.

It is available as both open source and commercial editions.


The Community (OSS) Edition is available under the free
software/open source GNU General Public License
(commonly known as the "GPL"). MySQL Cluster is provided
as a separate download so that users can have access to builds
from the latest source releases of the MySQL Cluster Carrier
Grade Edition
(http://www.mysql.com/downloads/clustercge/).

Get up and running fast. Download the Quick Start Guide for
your platform below:

Download the Evaluation Guide to learn the fundamentals of


how to design and select the proper components for building a
successful Proof-of-Concept with MySQL Cluster evaluation.
The Guide works through basic functional testing and
evaluation best-practices.

SDUIM page 11
IFARM 2020-21

SQL specifies that a SQL Data Manipulation Language


(DML) statement should only affect rows that meet specified
criteria. The criteria are expressed in the form of predicates.
WHERE clauses are not mandatory clauses of SQL DML
statements, but can be used to limit the number of rows
affected by a SQL DML statement or returned by a query.

JAVA

Java is a general-purpose programming language that


is class-based, object-oriented, and designed to have as few
implementation dependencies as possible. It is intended to
let application developers write once run anywhere (WORA)
meaning that compiled Java code can run on all platforms that
support Java without the need for recompilation. Java
applications are typically compiled to bytecode that can run
on any Java virtual machine (JVM) regardless of the
underlying computer architecture. The syntax of Java is
similar to C and C++, but it has fewer low-level facilities than
either of them. As of 2019, Java was one of the most popular
programming languages in use according to GitHub,
particularly for client-server web applications, with a reported
9 million developers.
SDUIM page 12
IFARM 2020-21

JAVA SCRIPT

JavaScript often abbreviated as JS, is a programming


language that conforms to
the ECMAScript specification.JavaScript is high-level,
often just-in-time compiled, and multi-paradigm. It has curly-
bracket syntax, dynamic typing, prototype-based object-
orientation, and first-class functions.

Alongside HTML and CSS, JavaScript is one of the core


technologies of the Web. JavaScript enables interactive web
pages and is an essential part of web applications. The vast
majority of websites use it for client-side page behaviour and
all major web browsers have a dedicated JavaScript engine to
execute it.

As a multi-paradigm language, JavaScript supports event-


driven, functional, and imperative programming styles. It
has application programming interfaces (APIs) for working
with text, dates, regular expressions, standard data structures,
and the Document Object Model (DOM). However, the

SDUIM page 13
IFARM 2020-21

language itself does not include any input/output (I/O), such


as networking, storage, or graphics facilities, as the host
environment (usually a web browser) provides those APIs.

JavaScript engines were originally used only in web browsers,


but they are now embedded in server-side website
deployments, usually via Node.js. They are also embedded in
a variety of applications created with frameworks such
as Electron and Cordova.

JAVA SERVLET TECHNOLOGY

Java Servlet technology lets you define HTTP-specific


servlet classes. A servlet class extends the capabilities of
servers that host applications accessed by way of a request-
response programming model. Although servlets can respond
to any type of request, they are commonly used to extend the
applications hosted by Web servers.

A Java servlet processes or stores a Java class in Java EE that


conforms to the Java Servlet API, a standard for implementing
SDUIM page 14
IFARM 2020-21

Java classes that respond to requests. Servlets could in


principle communicate over any client–server protocol, but
they are most often used with the HTTP protocol. Thus
"servlet" is often used as shorthand for "HTTP servlet". Thus,
a software developer may use a servlet to add dynamic
content to a web server using the Java platform. The
generated content is commonly HTML, but may be other data
such as XML. Servlets can maintain state in session variables
across many server transactions by using HTTP cookies,
or URL rewriting.

To deploy and run a servlet, a web container must be used. A


web container (also known as a servlet container) is
essentially the component of a web server that interacts with
the servlets. The web container is responsible for managing
the lifecycle of servlets, mapping a URL to a particular servlet
and ensuring that the URL requester has the correct access
rights.

The Servlet API, contained in the Java


package hierarchy javax.servlet, defines the expected
interactions of the web container and a servlet.

SDUIM page 15
IFARM 2020-21

A Servlet is an object that receives a request and generates a


response based on that request. The basic Servlet package
defines Java objects to represent servlet requests and
responses, as well as objects to reflect the servlet's
configuration parameters and execution environment. The
package javax.servlet.http defines HTTP-specific subclasses
of the generic servlet elements, including session management
objects that track multiple requests and responses between the
web server and a client. Servlets may be packaged in a WAR
file as a web application.

Servlets can be generated automatically from JavaServer


Pages (JSP) by the JavaServer Pages compiler. The difference
between servlets and JSP is that servlets typically embed
HTML inside Java code, while JSPs embed Java code in
HTML. While the direct usage of servlets to generate HTML
(as shown in the example below) has become rare, the higher
level MVC web framework in Java EE (JSF) still explicitly
uses the servlet technology for the low level request/response
handling via the FacesServlet. A somewhat older usage is to

SDUIM page 16
IFARM 2020-21

use servlets in conjunction with JSPs in a pattern called


"Model 2", which is a flavor of the model–view–controller.

Java Server Pages Technology

JavaServer Pages technology lets you put snippets of


servlet code directly into a text-based document. A JSP page
is a text-based document that contains two types of text: static
template data, which can be expressed in any text-based
format such as HTML, WML, and XML, and JSP elements,
which determine how the page constructs dynamic content.

Architecturally, JSP may be viewed as a high-


level abstraction of Java servlets. JSPs are translated
into servlets at runtime, therefore JSP is a Servlet; each JSP
servlet is cached and re-used until the original JSP is
modified.

JSP can be used independently or as the view component of a


server-side model–view–controller design, normally
with JavaBeans as the model and Java servlets (or a

SDUIM page 17
IFARM 2020-21

framework such as Apache Struts) as the controller. This is a


type of Model 2architecture.

JSP allows Java code and certain pre-defined actions to be


interleaved with static web markup content, such as HTML,
with the resulting page being compiled and executed on the
server to deliver a document. The compiled pages, as well as
any dependent Java libraries, contain Java bytecode rather
than machine code. Like any other Java program, they must
be executed within a Java virtual machine (JVM) that
interacts with the server's host operating system to provide an
abstract, platform-neutral environment.

JSPs are usually used to deliver HTML and XML documents,


but through the use of OutputStream, they can deliver other
types of data as well.

The Web container creates JSP implicit objects like request,


response, session, application, config, page, pageContext, out
and exception. JSP Engine creates these objects during
translation phase.

SDUIM page 18
IFARM 2020-21

SOFTWARE REQUIREMENTS
SPECIFICATIONS

Software requirements

Minimum software requirements are:

 Tool : Sqlyog
 Operating System : Windows XP/7,8,10
 Scripting Language : JSP, Java Script
 Front End : HTML, CSS
 Back End : MySQL

Hardware requirements

Minimum Hardware requirements are:

 Processor : Pentium IV
 Ram : 1GB RAM
 Hard Disk : 20 GB

SDUIM page 19
IFARM 2020-21

Functional Requirements

After careful analysis the system has been identified to have


the following modules:

1. Admin Module

2. Farmer Module

1. Admin Module:

The admin module will be used by the administrator of this


portal, admin can add crops details. This module is having
following functionalities.

 Add Crops: By using this functionality Administrator


can add crop details for farmer. By providing crop
owner name, crop name, crop price with owner address
and mobile. And also admin can update and delete the
crops.

 Add Training details: By using this functionality


Administrator can provide the training details for User
by updating training details like training name,
description about training scheduled, with time and
place.
SDUIM page 20
IFARM 2020-21

2. Farmer Module:

This module describes all about Farmer, by using this module


any Person can do some operations like buying the crops,
view Transaction details related to crops.. This module
consists following functionalities.

 Create New Account: By using this


functionalityFarmer can create a new account to login
to Agriculture portal.

 Buy Products: By using this functionalityFarmercan


view the product details provided by admin and buy the
products.

 View Training Details: By using this functionality


Farmercan view the training details provided by admin
and also he can attend the training scheduled by admin.

 Transaction Reports: By using this functionality


Farmer can view the transaction details made by him.

 Query: By using this functionality Farmer can send the


queries related to agriculture.

SDUIM page 21
IFARM 2020-21

Non Functional Requirements

Feasibility Analysis:

Feasibility study is an important step in the software


development process. It enables the developer to have an
assessment of the product being developed. It refers to the
feasibility study of the product in terms of outcomes of the
product, operational use and technical support required for
implementing system.

Feasibility study should be performed on the basis of various


criteria and parameters. The various
feasibility studies are:

• Technical feasibility

• Operational feasibility

• Economical feasibility

Technical feasibility:

It refers to whether the software that is available in the


market fully supports the present application. It studies the
pros and cons of using particular software for the
development and its feasibility.

SDUIM page 22
IFARM 2020-21

As we are planning to use Java platform the application can


be accessed from any platform and hardware and in order to
maintain performance aspects we will have plenty of concepts
in java such as multithreading (to support more user with each
user for a thread),networking concepts, servlets (to run web
based applications).

Operational Feasibility:

It refers to the feasibility of the product to be operational.


Some products may work very well at design and
implementation but may fail in the real time environment. It
includes the study of additional human resource required and
their technical expertise.

After the completion of development the customers can access


the application from anywhere with the help of internet there
is no operational problems for the system.

Economic Feasibility:

It refers to the benefits or outcomes we are deriving from


the product as compared to the total cost we are spending for
SDUIM page 23
IFARM 2020-21

developing the product. If the benefits are more or less the


same as the older system, then it is not feasible to develop the
product.

As this application doesn’t require much resources for


development and once the system is implemented no much
maintenance is required. The maintenance doesn’t
recommended more resource but to keep the web application
in internet we need to pay for Domain space in the Internet
and an operator maintenance charges. Hence the application
can be economically feasible.

SYSTEM DESIGN
System design is the process of defining the architecture,
components, modules, interfaces and data for a system to
satisfy specified requirements. One could see it as the
application of systems theory to product development. There
is some overlap with the disciplines of systems analysis,
systems architecture and systems engineering. If the broader
topic of product development "blends the perspective of
marketing, design, and manufacturing into a single approach

SDUIM page 24
IFARM 2020-21

to product development," then design is the act of taking the


marketing information and creating the design of the product
to be manufactured. Systems design is therefore the process of
defining and developing systems to satisfy specified
requirements of the user.

. Architecture Diagram

Below architecture diagram represents mainly flow of


requests from users to database through servers. In this
scenario overall system is designed in three tires separately
using three layers called presentation layer, business logic
layer and data link layer. This project was developed using 3-
tire architecture.

Figure. Architecture Diagram

SDUIM page 25
IFARM 2020-21

UML Diagrams

Unified Modelling Language (UML) is a standardized


general-purpose modelling language in the field of object-
orientedsoftware engineering. The standard is managed, and
was created, by the Object Management Group.

Use Case Diagrams

A use case diagram at its simplest is a graphical


representation of a user's interaction with the system and
depicting the specifications of a use case. A use case diagram
can portray the different types of users of a system and the
various ways that they interact with the system.

SDUIM page 26
IFARM 2020-21
21

Admin Module

Use Case Diagram For Admin

Farmer Module

Use case Diagram for Farmer


SDUIM page 27
IFARM 2020-21
21

Data Flow Diagram


A data flow diagram is a graphical representation of the
"flow" of data through an information system,, modelling its
process aspects. Often they are a preliminary step used to
create an overview
rview of the system which can later be
elaborated. DFDs can also be used for the visualization of
data processing (structured design).The DFD is also called as
bubble chart. It is a simple graphical formalism that can be
used to represent a system in terms of the input data to the
system, various processing carried out on these data, and the
output
tput data is generated by the system.

DFD for Admin

SDUIM page 28
IFARM 2020-21
21

DFD for Farmer

Sequence Diagram
A sequence diagram is a kind of interaction
diagram that shows how processes operate with one another
and in what order. It is a construct of a Message Sequence
Chart. A sequence diagram shows object interactions arranged
in time sequence. It depicts the objects and classes involved in
the scenario and the sequence of messages exchanged
between the objects needed to carry out the functionality of
the scenario. Sequence ddiagrams
iagrams are typically associated with
use case realizations in the Logical View of the system under
development. Sequence diagrams are sometimes called event
diagrams, event scenarios
scenarios, and timing diagrams.

A sequence diagram shows, as parallel vertical lines


lin
(lifelines),
), different processes or objects that live

SDUIM page 29
IFARM 2020-21
21

simultaneously, and, as horizontal arrows, the messages


exchanged between them, in the order in which they occur.
This allows the specification of simple runtime scenarios in a
graphical manner.

Sequence
uence Diagram For Admin

SDUIM page 30
IFARM 2020-21
21

Sequence Diagram For Farmer

SDUIM page 31
IFARM 2020-21

Activity Diagram

Activity diagrams are graphical representations


of workflows of stepwise activities and actions with support
for choice, iteration and concurrency. In the Unified Modeling
Language, activity diagrams can be used to describe the
business and operational step-by-step workflows of
components in a system. An activity diagram shows the
overall flow of control.

Activity diagrams are constructed from a limited number of


shapes, connected with arrows.

The most important shape types:

 rounded rectangles represent actions;


 diamonds represent decisions;
 bars represent the start (split) or end (join) of concurrent
activities;
 a black circle represents the start (initial state) of the
workflow;
 An encircled black circle represents the end (final state).

SDUIM page 32
IFARM 2020-21
21

Activity diagram for Admin

SDUIM page 33
IFARM 2020-21
21

Activity diagram for Farmer

SDUIM page 34
IFARM 2020-21

Coding

Index.html

Admin login.jsp

Farmer Register.jsp

Farmer Login.jsp

SDUIM page 35
IFARM 2020-21

TESTING AND RESULTS

Software testing is a critical element of software quality


assuredness and represents the ultimate review of the
specification, design and coding. Testing is the exposure of
the system to trial input to see whether it proposed correct
system.

Testing is a critical element which assures quality and


effectiveness of the proposed system in (satisfying) meeting
its objectives. Testing is done at various stages in the System
designing and implementation process with an objective of
developing an transparent, flexible and secured system.
Testing is an integral part of software development. Testing
process, in a way certifies, whether the product, that is
developed, complies with the standards, that it was designed
to. Testing process involves building of test cases, against
which, the product has to be tested.

Test objectives

SDUIM page 36
IFARM 2020-21

 Testing is a process of executing a program with the


intent of finding an error.
 A good case is one that has a high probability of finding
an undiscovered error.
 A successful test is one that uncovers a yet
undiscovered error. If testing is conducted successfully
(according to the objectives) it will uncover errors in
the software. Testing can't show the absences of defects
are present. It can only show that software defects are
present.

Testing principles
Before applying methods to design effective test cases, a
software engineer must understand the basic principle that
guides software testing. All the tests should be traceable to
customer requirements.

Testing design
Any engineering product can be tested in one of two
ways:

White box Testing

SDUIM page 37
IFARM 2020-21

This testing is also called as glass box testing. Inthis


testing, by knowing the specified function that a product has
been designed to perform test can be conducted that
demonstrates each function is fully operation at the same time
searching for errors in each function.

It is a test case design method that uses the control structure of


the procedural design to derive test cases.

Black box Testing

Inthis testing by knowing the internal operation of a


product, tests can be conducted to ensure that "all gears
mesh", that is the internal operation performs according to
specification and all internal components have been
adequately exercised. It fundamentally focuses on the
functional requirements of the software.

The steps involved in black box test case design are:

• Graph based testing methods


• Equivalence partitioning
• Boundary value analysis
• Comparison testing

SDUIM page 38
IFARM 2020-21

Levels of Testing
Testing can be done in different levels of SDLC.
They are:

Unit Testing

The first level of testing is called unit testing. Unit


testing verifies on the smallest unit of software designs-
the module. The unit test is always white box oriented.
In this, different modules are tested against the
specifications produced during design for the modules.
Unit testing is essentially for verification of the code
produced during the coding phase, and hence the goal is
to test the internal logic of the modules. It is typically
done by the programmer of the module. Due to its close
association with coding, the coding phase is frequently
called “coding and unit testing.” The unit test can be
conducted in parallel for multiple modules.

SDUIM page 39
IFARM 2020-21

Integration Testing

The second level of testing is called integration testing.


Integration testing is a systematic technique for constructing
the program structure while conducting tests to uncover errors
associated with interfacing. In this, many tested modules are
combined into subsystems, which are then tested. The goal
here is to see if all the modules can be integrated properly.

There are three types of integration testing:

 Top-Down Integration: Top down integration is


an incremental approach to construction of program
structures. Modules are integrated by moving
downwards throw the control hierarchy beginning
with the main control module.
 Bottom-Up Integration: Bottom up integration as
its name implies, begins
Construction and testing with automatic modules.
 Regression Testing: In this contest of an
integration test strategy, regression testing is the re
execution of some subset of test that have already
been conducted to ensure that changes have not
propagated unintended side effects.

SDUIM page 40
IFARM 2020-21

Testing strategies
A software testing strategy provides a road map for the
software developer. Testing is a set of activities that can be
planned in advanced and conducted systematically. For this
reason a template for software testing a set of steps into which
we can place specific test case design methods should be
defined for software engineering process.

Any software testing strategy should have the


following characteristics:

a. Testing begins at the module level and works


outward toward the integration of the entire
computer based system.
b. Different testing techniques are appropriate at
different points in time.
c. The developer of the software and an
independent test group conducts testing.
d. Testing and debugging are different activities
but debugging must be accommodated in any
testing strategy.

SDUIM page 41
IFARM 2020-21

Testing phase

Software testing phases include the following:


 Test activities are determined and test data selected.
 The test is conducted and test results are composed with
the expected results.

There is various type of TestingSystem testing

Scope

The purpose of testing is to discover errors. Testing is the


process of trying to discover every conceivable font 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 a process of exercising software
with the intent of ensuring that the software system needs its
requirements and user expectations and doesn’t fall in an
unacceptable manner.

SDUIM page 42
IFARM 2020-21

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 messages: Identified classes of valid messages
must be accepted.
 Invalid messages: Identified classes of invalid messages
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.

SDUIM page 43
IFARM 2020-21

Integration Testing

Software integration testing is the incremental integration


testing of two or more integrated software components on a
single platform to produce failures caused by interface
defects.

Performance Testing

The performance test ensures that the output is produced


within the time limits, and the time taken by the system for
compiling, giving response to the users and request being sent
to the system for to retrieve the results.

Acceptance Testing

User 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.

SDUIM page 44
IFARM 2020-21

Test Cases

MODULE GIVEN EXPECTED ACTUAL REMA


INPUT OUTPUT OUTPUT RK

Admin Enter valid Login Logged in Tested


Login username Successfully Successfully OK
and
password
Admin Added details accepted Inserted Tested
training and Insert into successfully OK
Details database
Admin View Viewed farmer Viewed Tested
Customer Details From successfully OK
Details Database
Admin View View View Tested
Message OK
Farmer invalid Login Failure Login Tested
Login Username Failure OK
and

SDUIM page 45
IFARM 2020-21

password

Farmer valid Login Success Login Tested


Login Username Failure OK
and
password
Farmer Farmer Viewed From Viewed Tested
viewed database successfully OK
Training
Details
Farmer Farmer View From View Tested
viewed database OK
Crop
Details
Farmer Farmer Payment inserted Inserted Tested
Payment Payment to Database Successfully OK
Method
Farmer Farmer Sent to database Sent Tested
Message Message successfully OK
sent
Order Order Confirmed into Inserted Tested
Conforma conformatio database successfully OK

SDUIM page 46
IFARM 2020-21

tion n by
making
payment
Order Order Not Insert into InsertionFail Tested
Conforma conformatio database ure OK
tion n by
making
payment

SREENHOTS

Home Page

SDUIM page 47
IFARM 2020-21
21

Admin Portal

Admin Crops Add

SDUIM page 48
IFARM 2020-21
21

Admin View User

Admin User Payment

SDUIM page 49
IFARM 2020-21
21

Admin View Message

User Portal

SDUIM page 50
IFARM 2020-21
21

User Registration Page

User Crops view Page

SDUIM page 51
IFARM 2020-21

ADVANTAGES AND LIMITATIONS

ADVANTAGES

• System maintains about agriculture system.

• It saves user time, energy.

• This application is very user friendly.

• LIMITATIONS

• Sometimes Security Problems occurs.

FUTURE ENHANCEMENTS

• Presently we implemented the system in offline and only


some of the banking services.
• In future we implement it in online and all banking
services.

SDUIM page 52
IFARM 2020-21

CONCLUSION

The propose system can help improve the


productivity of the building constriction and thus
directly did an impact to the profitability of the deigns.
Furthermore, it can also help shops to reduce the cost of
operation in term of manpower, because the system
have already facilitate majority of the business process
by using the system. Therefore, it is believed that the
system can lead the shop business grow from time to
time. On the other hand, the technology nowadays
allows the portability requirement easy to achieve.
Therefore, portability has become one of the factor that
have to take into consideration in the system
development process. Because portability bring a lot of
benefit to user while they using the system such as it
provide convenience, accessibility, easy to
communicate and etc. Hence, portability has done an
impact to the social that everybody is much more
preferable to complete their task with portable device.

SDUIM page 53
IFARM 2020-21

11. REFRENCES

Books:

 JSP and MySql 5 by Larry Ullman


 JSP Complete Reference
 JSP and MySql 5 by W.Jonsan Gilmore
 JAVA Reference .

Websites:

 http://www.w3schools.com/php/default.asp
 http://www.homeandlearn.co.uk/php/jsp.html
 http://jsp.net/manual/en/tutorial.php

SDUIM page 54

You might also like