Beruflich Dokumente
Kultur Dokumente
ON
SUBMITTED BY: -
CERTIFICATE
This is to certify that the project CUSTOMER SUPPORT SYSTEM has been carried out by the students of 7th semester Ramanjeet Singh Aulakh , Neetika Sabharwal and Anirudh Chopra under our guidance. The report covers all the aspects of the work done (including hardware, software, Coding etc.) The project report is complete in all respects and I have understood the entire software. It shall be possible for the next batch of the students to take up further work after consulting this report.
ABSTRACT
In this project, we construct a customer support system for a company that provide service and support to the customer for various electronic gadgets.
ACKNOWLEDGEMENT
No Project is created entirely by an individual. Many people have helped to develop this project Banking System and each contribution has been valuable. The Timely Completion of this Project is mainly due to the interest and persuasion of our Project Guide Ms.DEEPTI VATS ,she is not only my Project Guide but also a good friend and guide. I would like to thank other Team Members whose contribution is also important for developing this project. I would also thanks to Ms. SONIKA POPLI and Ms. DEEPTI VATS, Faculty of our College for supporting each and every difficulty we face.
INDEX
SNo. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18.
Contents Introduction Objective Module and Description Requirement Analysis Feasiability Study Software Hardware Requirements Database Data Flow Diagram Entity Relationship Diagram Design Coding Testing Advantages Limitations Conclusion Future Scopes References Glossary
CHAPTER-1 INTRODUCTION
INTRODUCTION
All complaints received through E-mail are downloaded and printed and sent to the concerned section for further action on the complaint. Complaints received through E-mail which do not have the name and complete postal address are treated as pseu- donymous and are dealt with as per the guidelines of complaint handling process. There is no self generated acknowledgment of complaints received through E-mail. The printed copy of the complaint received on E-mail is dealt with as per the guidelines of the complaint handling process. Customers' support system is an online customer web development support application which provides you excellent facilities which allow having contact with your customers whole web development time in real scenario as we are in front of us. If you are having a web development India website then your website will able to contact you immediately. Today the customers online is increasing and many are now interested to buy the product online. In the old days people would have to go to the companies offices, sit and wait, fill out forms, test products, fill out more forms. This was very time consuming and inconvenient and to many people had other things to do during the day. Times have changed! The Internet now makes it possible for the companies to send the information right your living room! All the information related to the customers complaint are stored in a relational database.well it is the job of the administrator to keep the check on the pending requests. It is the Helpdesk which will help you to organize good and quick support service for clients concerning problems solving which deal with: (1) To answer the questions; (2) To maintain and store user's support requests; (3) To support the knowledge base, download, news etc. Customer service means providing products and services that satisfy customers and ensure they will come back for more. If your business continues to satisfy its customers, the result will be increased profit margins, business expansion and enhanced in-house morale. Only good customer service can guarantee this type of success. Bad customer service, on the other hand, always results in dissatisfied customers and declining business. Customer satisfaction is at the core of any definition of customer service, and that is why customer satisfaction surveys are an important tool that no business should 7
ignore. Customer satisfaction market research has shown that customers tend to internalize their customer service experience. They grade your customer service every time they do business with you, but they rarely communicate their reactions. Customer support complaints probably account for a very, very small percentage of dissatisfied customers
OBJECTIVE
The project customer support system has been developed with the aim of providing online complaint support to the customer. The task performed by user, administrator and engineer are: 1. User Register complaint Seek status 2. Administrator Assign complaint Seek status 3. Engineer View complaint Seek file report
1. Customer Module: This module mainly deals with registering online complaint and also seeking the status of already registered complaint.
2. Administrator Module: This module mainly deals with assigning the registered complaint to the engineer and also seek the status of assigned complaint.
10
REQUIREMENT ANALYSIS
User requirements list the tasks and goals of the user or consumer. User requirements are intended to make the tool or product easier to use, faster, less error prone, and even a bit fun. Business requirements list the goals of the business. At the highest level, these goals are to increase revenue, decrease costs, improve data management, increase knowledge transfer, improve efficiency, and so on. Technical requirements are the hardware and software integration issues such as security, compatibility with existing systems, performance requirements, and so on. In a product manufacturing example, technical requirements would be manufacturing requirements, or the conditions, processes, materials, and tools required to get the product from the design board to the shipping dock. In contrast to the technical requirements that answer the what we need to create the product or application, Functional requirements answer the question, how will we make the product or application? Functional requirements are mostly about process.
11
Feasibility Study
Depending upon the result of the initial investigation, the survey is expanded to a more detailed feasibility study. A feasibility study is a test of a system proposal according to its workability, impact on the organization, ability to meet user needs and effective usage of resources. It focuses on four major types of studies:
Organization feasibility.
How well the proposed system supports the strategic objectives of the organization?
Economic feasibility.
o Cost saving. o Increased revenue. o Decreased investment.
o Increased profits.
Technical Feasibility
Customer, supplier and government requirements. The objective of the feasibility study is not to solve problem but to acquire a sense of its scope. During the study, the problem definition is crystallized and aspects of the problem to be included in the system are determined. Consequently, cost and benefits are estimated with greater accuracy at this stage.
12 Technical Feasibility
This is in concern with specifying equipments and software that will successfully satisfy the used needs. The technical needs of the system are very considerable, that includes: The facility to produce the output in a given time.
Response time under certain conditions: Current application is not dependent with
any real time system so there is no such compulsion.
13
Economical Feasibility
A process of identifying the financial benefits and costs associated with a development economic feasibility whether expected cost saving, increased revenue, increased profits and reductions in required investment exceed the costs of developing and operating a proposed system. During Analysis we reached to the conclusion that system proposed is economically feasible as to implement it we dont require any external resources and on implementation the product would save the cost of human resources that were earlier spend to carry out the entire process.
Operational Feasibility
The process of assessing the degree to which a proposed system solves business problems or takes advantage of business opportunities. According to the analysis of the system the product is operationally feasible as it fulfills all the business requirements.
14
Software: BROWSER : INTERNET EXPLORER 4 OR HIGHER VERSION RUNTIME ENVIRONMENT : .NET FRAMEWORK 2.0 Hardware: CLOCK SPEED 550MHZ-1.4 GHZ 128 MB SDRAM/DDR RAM HARDDISK 4 GB OR HIGHER 104 KEYS KEYBOARD 3/2 BUTTON MOUSE INKJET PRINTER
15
DATABASE
Login Database:
Field Name
Login id Cust no Uname Pw Type
Data Type
Text Number Text Text Number
16
Data Type
number Text Text Text Text Text Number Number Number Number
17
Data Type
AutoNumber Text Text Number Text Text Date Date Number Number
18
Engineer Database:
Field Name
Eng no Exp Field Qualification Add Post Pass Name
Data Type
Number Number Text Text Text Text Text Text
19
A data flow diagram (DFD) is a graphical representation of the "flow" of data through an information system. It differs from the system flowchart as it shows the flow of data through processes instead of hardware.A data flow diagram can also be used for the visualization of data processing (structured design). It is common practice to draw a context-level Data flow diagram first which shows the interaction between the system and outside entities. The DFD is designed to show how a system is divided into smaller portions and to highlight the flow of data between those parts. This context-level Data flow diagram is then "exploded" to show more detail of the system being modeled. Data flow diagrams were invented by Larry Constantine, the original developer of structured design, based on Martin and Estrin's "data flow graph" model of computation. Data flow diagrams (DFDs) are one of the three essential perspectives of Structured Systems Analysis and Design Method SSADM. The sponsor of a project and the end users will need to be briefed and consulted throughout all stages of a system's evolution. With a dataflow diagram, users are able to visualize how the system will operate, what the system will accomplish, and how the system will be implemented. The old system's dataflow diagrams can be drawn up and compared with the new system's dataflow diagrams to draw comparisons to implement a more efficient system. Dataflow diagrams can be used to provide the end user with a physical idea of where the data they input ultimately has an effect upon the structure of the whole system from order to dispatch to recook. How any system is developed can be determined through a dataflow diagram. Developing a Data flow diagram helps in identifying the transaction data in the data model.
20
user
User login
Validate login
New complaints
Seek status
Assign complaints
Seek status
View complaint
Complaint table
Engineer table
Complaint table
Complaint table
Engineer table
21
ER Diagram
An entity-relationship model (ERM) is an abstract conceptual representation of structured data. Entity-relationship modeling is a relational schema database modeling method, used in software engineering to produce a type of conceptual data model (or semantic data model) of a system, often a relational database, and its requirements in a top-down fashion. Diagrams created using this process are called entity-relationship diagrams, or ER diagrams or ERDs for short. An entity may be defined as a thing which is recognized as being capable of an independent existence and which can be uniquely identified. An entity is an abstraction from the complexities of some domain. When we speak of an entity we normally speak of some aspect of the real world which can be distinguished from other aspects of the real world (Beynon-Davies, 2004). An entity may be a physical object such as a house or a car, an event such as a house sale or a car service, or a concept such as a customer transaction or order. Although the term entity is the one most commonly used, following Chen we should really distinguish between an entity and an entity-type. An entity-type is a category. An entity, strictly speaking, is an instance of a given entity-type. There are usually many instances of an entity-type. Because the term entity-type is somewhat cumbersome, most people tend to use the term entity as a synonym for this term. Entities can be thought of as nouns. Examples: a computer, an employee, a song, a mathematical theorem. Entities are represented as rectangles. Lines are drawn between entity sets and the relationship sets they are involved in. If all entities in an entity set must participate in the relationship set, a thick or double line is drawn. This is called a participation constraint. If each entity of the entity set can participate in at most one relationship in the relationship set, an arrow is drawn from the entity set to the relationship set. This is called a key constraint. To indicate that each entity in the entity set is involved in exactly one relationship, a thick arrow is drawn.
22
state
country
phr
phm
pw nam e Cust no
add
ph o typ e customer
Cust no
unam e
regist er
Login id
pw
typ e
login
cno
product
authenticat e
doc
fla g
complaint
seria l do p Eng no
Login id unam e
Assigne d to
Cust no
pw
engineer
typ e
ER Diagram 23
DESIGN
LOGIN PAGE
26
INCORRECT PASSWORD
27
INVALID ID
28
CREATE CUSTOMER
29
LOGIN SUCCESSFULLY
30
WELCOME CUSTOMER
31
INCORRECT REGISTRATION
32
REGISER COMPLAINT
33
COMPLAINT NO
34
WELCOME ADMINISTRATOR
35
NEW COMPLAINTS
36
ALL COMPLAINTS
37
ASSIGN COMPLAINTS
38
ASSIGNED
39
NEW ENGINEER
40
WELCOME ENGINEER
41
NEW COMPLAINTS
42
ALL COMPLAINTS
43
SUBMIT STATUS
44
CODING
HOME PAGE
<html> <head> <title>Samsung</title> </head> <frameset rows="125,*"> <frame name="banner" scrolling="no" noresize target="contents" src="samsung_electronic_india_ltd.htm"> <frame name="main" src="online_customer_support_system.htm"> <noframes> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> </noframes> </frameset> </html>
46 <html>
<head>
<title>Online Customer Support System</title> <meta name="Microsoft Theme" content="factory 011"> <SCRIPT LANGUAGE="JavaScript"> function tt() { if(document.h.T2.value.length<6 || document.h.T2.value.length>10) { alert(" Size should be Between 6 and 10"); } } </script> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p align="left"><em><font face="Trebuchet MS, Arial, Helvetica"> &nbs p; &nb
47 sp; </font><strong>
<font size="5"> <font size="6">Online Customer Support System</font></font></strong></em></p> <p align="left"><font size="5">In India, There Are Multiple Companies Engaged in Providing and selling various consumer durables to the customers. It is a 5000 Cr. $ Industry which has more than 20 billion customers across various States O India .They sell a variety of consumer durable products of various models and providing customer support is of due importance. so this portal is meant for Complete Complaint Management System which can be used By the customer to lodge there complaints,Engineers To View Complaints And File Reports And by The Administrator to maintain check of the complete system</font></p> <p align="left"><font size="5">Inorder to lodge a complaint kindly Register yourself.</font></p> <!--mstheme--></font> <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1" bordercolorlight="#999900" bordercolordark="#996600"> <tr> <td width="50%"><!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <form method="POST" action=y.jsp name=h> <strong> User
<p align="left"><strong> Password </strong> <input type="password" name="T2" size="20" onblur="tt()"></p> <p align="left"> <input type="submit" value="Submit" name="B1" > <input type="reset" value="Reset" name="B2"></p> </form> <p> <!--mstheme--></font></td> <td width="50%"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> &nbs p; <strong> New Member Signup</strong> <form method="POST" action=x.jsp ><p> &nb sp; <input type="submit" value="Create Customer" name="B3"></p>
49 </form> <!--mstheme--></font>
</td> </tr> </table> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"><font size="5"> </font></p>
<!--mstheme--></font>
</body>
</html>
50
INVALID USER
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> <!-function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> <meta name="Microsoft Theme" content="factory 011"> </head> 51 <body bgcolor="#000000" text="#FFFFCC" background="factilea.jpg" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica">
<div id="Layer1" style="position:absolute; width:602px; height:65px; z-index:1; left: 35px; top: 132px;"><strong><font size="4"><em>The Specified User Does Not Exist.</em></font></strong></div> <div id="Layer2" style="position:absolute; width:509px; height:147px; z-index:2; left: 118px; top: 236px;"> <div id="Layer3" style="position:absolute; width:475px; height:47px; z-index:1; top: 12px;"> <div id="Layer4" style="position:absolute; width:200px; height:28px; z-index:1; left: -16px; top: 1px;"><strong>Create New Account</strong></div> <div id="Layer5" style="position:absolute; width:200; height:32; z-index:2; left: 253; top: 1;"><strong> <a href="new.htm">Click Here </a> </strong></div> </div> <div id="Layer6" style="position:absolute; width:478px; height:35px; z-index:2; left: 7px; top: 76px;"> <div id="Layer7" style="position:absolute; width:200px; height:28px; z-index:1; left: -20px; top: 1px;"><strong>Login Again </strong></div> <div id="Layer8" style="position:absolute; width:200px; height:25px; z-index:2; left: 249px; top: 1px;"><strong> 52 <a href="online_customer_support_system.htm">Click Here</a></strong></div> </div>
53
SIGN-UP
<html>
<head> <title>Kindly Fill the Following Details To Sign</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p><font size="5" face="Trebuchet MS, Arial, Helvetica"> &nbs p;</font><font size="5"><em><strong> Kindly Fill the Following Details To Sign-Up</strong></em></font></p> <form method="POST" action="z.jsp"> <p> </p> <p> &nbs p; <strong> User
</p> <p> &nbs p; <strong> Password</strong> &n bsp; &nbs p; <input type="text" name="T2" size="20"> </p> <p> &nbs p; <strong> Address</strong> &nb sp;  
55 ; &n bsp;
State</strong> &n bsp; &nbs p; <input type="text" name="T3" size="20"> </p> <p> &nbs p; <strong> Country </strong> &nb sp; &n bsp;
56 <p> &nbs p; <strong>Phone No. Residence <input type="text" name="T5" size="20"> </strong></p> <p><strong> &n bsp;
Phone No. Office &nb sp; <input type="text" name="T6" size="20"> </strong></p> <p><strong> &n bsp; Phone No. Mobile </strong> &n bsp; <input type="text" name="T7" size="20">
57 </p> <p> </p> <p> &nbs p; &n bsp; <input type="submit" value="Submit" name="B1"> <input type="reset" value="Reset" name="B2"> </p> </form> <!--mstheme--></font>
</body>
</html>
58
SIGN-UP SUCCESSFULLY
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Thank you Your Details</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p><em><strong><font size="5">Thank you Your Details' has been Registered </font></strong></em></p> <% i=session.getAttribute("comp"); out.println(i); 59 %> <p> </p> <form method="POST" action="n.jsp"> <input type="submit" value="Home" name="B1"></p>
</html>
60
WELCOME CUSTOMER
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Welcome Customer</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p> </p> <p align="left"><font size="6"><strong><em>Welcome Customer</em></strong></font></p> <p> </p> <form method="POST" action="i.jsp"> <p> 61 <input type="submit" value="New Complaint" name="B1"> </p> </form> <p> </p> <form method="POST" action="j.jsp"> <p> <input type="submit" value="Complaint Status" name="B1"> </p> </form> <!--mstheme--></font> </body>
</html>
62
REGISTER COMPLAINT
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Please Register Your Complaint Here</title> <meta name="Microsoft Theme" content="factory 011"> <SCRIPT LANGUAGE="JavaScript"> function tt() {
63 return; } } </script> </head> <body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--> <p> </p> <p> <font face="Trebuchet MS, Arial, Helvetica"> </font></p> <font face="Trebuchet MS, Arial, Helvetica"><p> </p> </font>
<p><font face="Trebuchet MS, Arial, Helvetica"><em><strong><font size="5"> </font></strong></em></font><em><strong><font size="5">Please Register Your Complaint Here</font></strong></em></p> <font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <form method="POST" action="m.jsp" name=yy> <p> </p> <p> &nbs p; <strong> 64 Name </strong> & nbsp; &nb sp; <input type="text" name="T1" size="20" onblur="tt()"> </p> <p> &nbs p; <strong> Product </strong> &nbs p; <select size="1" name="D1"> <option value="ctv">Colour Television</option> <option>Mobile Gsm</option> <option>Mobile Cdma</option> <option>Washing Machine</option>
<option selected>Air Conditioner</option> <option>Refriegator</option> </select> </p> <p> &nbs p; <strong>Serial 65 No.</strong> &nb sp; <input type="text" name="T3" size="20"> </p> <p> &nbs p; <strong>Date Of Purchase </strong> <input type="text" name="T4" size="20"> </p> <p> &nbs p; <strong>Complaint </strong> <textarea rows="2" name="S1" cols="20" onblur="tt()"></textarea> </p> <p> </p>
66 <input type="submit" value="Submit" name="B1"> <input type="reset" value="Reset" name="B2"> </p> </form> <p> </p> <!--mstheme--> </font> </body>
</html>
67
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Please Enter The Complaint Number</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--> <font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p> </p>
68 <font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p> </p> <form method="POST" action="k.jsp"> <p> <strong>Complaint No </strong> <input type="text" name="T1" size="20"> </p> <p> &nbs p; </p> <p> &nbs p; <input type="submit" value="Submit" name="B1"> <input type="reset" value="Reset" name="B2"> </p> </form> <p> </p> <!--mstheme--> </font>
</body> </html> 69
WELCOME ADMINISTRATOR
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <meta name="Microsoft Theme" content="factory 011"> <script language="JavaScript" type="text/JavaScript"> <!-function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); }
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--><font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p><font size="5" face="Trebuchet MS, Arial, Helvetica"> </font><font size="6"><strong><em> </em></strong></font></p> <p align="left"><font size="6"><strong><em>Welcome Administrator</em></strong></font></p> <p align="center"> </p> <p> </p> <form method="POST" action="op.jsp"> <p> <font face="Trebuchet MS, Arial, Helvetica"> <input type="submit" value=" New Complaints " name="B3"> </font> </p> </form> <p> </p>
<form method="POST" action="p.jsp"> <p> 71 &n bsp; <font face="Trebuchet MS, Arial, Helvetica"> <font face="Trebuchet MS, Arial, Helvetica"> <input type="submit" value=" All Complaints " name="B2"> </font></font></p> </form> <p> </p> <form method="POST" action="q.jsp"> <p> &n bsp; <input type="submit" value="Assign Complaints" name="B1"> </p> </form> <p>   ; </p> <form method="POST" action="f.jsp"> <p> &nbs p; <input type="submit" value=" New Engineer " name="c4"> </p>
</html>
73
ASSIGN COMPLAINTS
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Assign Complaint</title> <meta name="Microsoft Theme" content="factory 001"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--> <font face="Trebuchet MS, Arial, Helvetica"> <p>   ; </p> </font> <p><font face="Trebuchet MS, Arial,
74 Helvetica"> </font><stro ng><font size="4"><em> <font size="5">Assign Complaint</font></em></font></strong></p> <font face="Trebuchet MS, Arial, Helvetica"> <p>   ; </p> <form method="POST" action="c.jsp"> <p> &nbs p; </p> <p> &nbs p; <strong> Complaint Number</strong> <input type="text" name="T1" size="20"> </p> <p> </p> <p> &nbs p; <strong> Engineer </strong> &n bsp;
<p> &nbs p; </p> <p> &nbs p; <input type="submit" value="Assign" name="B1"> <input type="reset" value="Cancel" name="B2"> </p> </form> <!--mstheme--> </font> </body>
</html>
76
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Engineer Account</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--> <font face="Trebuchet MS, Arial, Helvetica"> <p> </p> </font> <p><font face="Trebuchet MS, Arial, Helvetica"> &nbs p; <em><strong><font size="5"> </font></strong></em></font><em><strong><font size="5">New Engineer 77 Account</font></strong></em></p> <font face="Trebuchet MS, Arial, Helvetica">
<p>   ; & nbsp; </p> <form method="POST" action="g.jsp"> <p> &nbs p; <strong>Name </strong> &nbs p; <input type="text" name="T1" size="20"> </p> <p> &nbs p; <strong> Password</strong> &n bsp; <input type="password" name="T2" size="20"> </p>
</p> <p> &nbs p; <strong> Post</strong> <input type="text" name="T3" size="20"> </p> <p> &nbs p; <strong> Qualification</strong> <input type="text" name="T4" size="20"> </p> <p> &nbs p; <strong> 79 Field </strong> <input type="text" name="T5" size="20"> </p> <p> <strong> &n bsp; Experience</strong> & nbsp; <input type="text" name="T6" size="20">
</p> <p> </p> <p> &nbs p; <input type="submit" value="Create Account" name="B1"> <input type="reset" value="Cancel" name="B2"> </p> </form>
81
WELCOME ENGINEER
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Welcome Engineer</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<body background="factilea.jpg" bgcolor="#000000" text="#FFFFCC" link="#FFCC00" vlink="#669900" alink="#FF6633"> <!--mstheme--> <font face="Trebuchet MS, Arial, Helvetica"> <p>   ; </p> </font> <p><em><strong><font size="6"> Welcome Engineer</font></strong></em><font face="Trebuchet MS, Arial, Helvetica"> 82 </font></p> <font face="Trebuchet MS, Arial, Helvetica"> <p>   ; </p> <p>   ; </p> <form method="POST" action=a.jsp> <p> &nbs p; <input type="submit" value="New Complaints" name="B1"> </p> </form> <form method="POST" action="b.jsp">
<p> </p> <p> &nbs p; <font face="Trebuchet MS, Arial, Helvetica"> <input type="submit" value="All Complaints " name="B12"> </font> </p> <p> </p> </form> 83 <form method="POST" action="d.jsp"> <p> &nbs p; <input type="submit" value="Submit Status " name="B1"> </p> </form> <!--mstheme--> </font> </body>
</html>
84
SUBMIT STATUS
<html>
<head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Please Submit the Complaint Status</title> <meta name="Microsoft Theme" content="factory 011"> </head>
<font face="Trebuchet MS, Arial, Helvetica"> <p>   ; </p> <p>   ; </p> </font> 85 <p><font face="Trebuchet MS, Arial, Helvetica"><em><strong><font size="5"> </font></strong></em></font><em><strong><font size="5">Please Submit the Complaint Status</font></strong></em></p> <font face="Trebuchet MS, Arial, Helvetica"> <p> </p> <p>   ; </p> <form method="POST" action="e.jsp"> <p> &nbs p; </p> <p> &nbs p; <strong>Complaint No. </strong>
86 <p> <strong>&nb sp; Remarks </strong> &n bsp; <input type="text" name="T2" size="20"> </p> <p> </p> <p> &nbs p; <input type="submit" value="Submit" name="B1"> <input type="reset" value="Cancel" name="B2"> </p> </form> <p>   ; </p> <!--mstheme-->
87 </font> </body>
</html>
88
LOGIN
<%@ page import="java.sql.*,java.util.Date,java.lang.*" %> <% Connection con1; ResultSet rs1,rs2; String a,b,x,q,m; a=request.getParameter("T1"); b=request.getParameter("T2"); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con1=DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat1=con1.createStatement(); x="select * from LOGIN where uname='" + a +"';"; try { rs1=stat1.executeQuery(x); rs1.next(); q=rs1.getString("pw"); m=rs1.getString("type"); session.setAttribute("username",a); if(q.equals(b) && m.equals("A") ) {
89 response.sendRedirect("admin.htm"); } else if(q.equals(b) && m.equals("C") ) { response.sendRedirect("customer.htm"); } else if(q.equals(b) && m.equals("E") ) { response.sendRedirect("welcome_engineer.htm"); } else { response.sendRedirect("invaliduser.htm"); } } catch(Exception E) { response.sendRedirect("invaliduser.htm");
} %>
90
91
Connection conn; ResultSet rs; String h; String name=request.getParameter("T1"); String pw=request.getParameter("T2"); String add=request.getParameter("S1"); String state=request.getParameter("T3"); String country=request.getParameter("T4"); int phr=Integer.parseInt(request.getParameter("T5")); int pho=Integer.parseInt(request.getParameter("T6")); int phm=Integer.parseInt(request.getParameter("T7"));
92 h="INSERT into new values('" + name + "','" + pw + "','" + add + "','" + state + "','" + country + "'," + phr + "," + pho + "," + phm + ",'C');" ;
%>
93
ACCOUNT CREATED
94
95
REGISTER COMPLAINT
Connection conn; ResultSet rs; String h; String uname=request.getParameter("T1"); String product=request.getParameter("D1"); String serial=request.getParameter("T3"); String complaint=request.getParameter("S1"); String dop=request.getParameter("T4"); String doc=(new java.util.Date()).toLocaleString(); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="INSERT into complaint(uname,product,serial,complaint,dop,doc,flag) values('" + uname + "','" + product + "','" + serial + "','" + complaint + "','" + dop + "','" + doc +"',0);" ;
96
97
COMPLAINT NO
Connection conn; ResultSet rs; String h;int a=0; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="select * from complaint " ; rs=stat.executeQuery(h); while(rs.next()) { a=rs.getInt(1); } a=a+1; out.println("Your Complaint Number is :- " + a); out.println("Kindly Remember It For Future Correspondence"); } 98
99
STATUS OF COMPLAINT
100
<html> <body bgcolor="#CCFFFF"> <%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; ResultSet rs; String h; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); int ss=Integer.parseInt(request.getParameter("T1")); h="select * from complaint where cno=" + ss + ";" ; rs=stat.executeQuery(h); %>
101
<td>Complaint No.</td> <td>Name</td> <td>Product</td> <td>Serial No.</td> <td>complaint</td> <td>Purchase date</td> <td>Complaint Date</td> <td>Response</td>
</tr> <% while (rs.next()) { out.println("<tr>"); out.println("<td>"); int a=rs.getInt(1); out.println(a); out.println("<td>"); String s2=rs.getString(2); out.println(s2); out.println("<td>"); String b=rs.getString(3);
102
out.println(b); out.println("<td>"); String c=rs.getString(4); out.println(c); out.println("<td>"); String d=rs.getString(5); out.println(d); out.println("<td>"); String s3=rs.getString(6); out.println(s3);
out.println("</tr>"); } %>
103
104
NEW COMPLAINT(ADMINISTRATOR)
<html> <body bgcolor="#CCFFFF"> <%@ %> <% Connection conn; ResultSet rs; String h; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="select * from complaint where flag=0;" ; page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*"
rs=stat.executeQuery(h); %>
<table border=1>
105
<tr> <td>Complaint No.</td> <td>Name</td> <td>Product</td> <td>Serial No.</td> <td>complaint</td> <td>Purchase date</td> </tr> <% while (rs.next()) { out.println("<tr>"); out.println("<td>"); int a=rs.getInt(1); out.println(a); out.println("<td>"); String s2=rs.getString(2); out.println(s2); out.println("<td>"); String b=rs.getString(3); out.println(b); out.println("<td>");
106
String c=rs.getString(4); out.println(c); out.println("<td>"); String d=rs.getString(5); out.println(d); out.println("<td>"); String s3=rs.getString(6); out.println(s3); out.println("</tr>"); } %> </table> <% } catch(Exception e) { out.println("error"); } %> </body> </html>
107
<html> <body bgcolor="#CCFFFF"> <%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; ResultSet rs; String h; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="select * from complaint " ; rs=stat.executeQuery(h); %>
108
<td>Complaint No.</td> <td>Name</td> <td>Product</td> <td>Serial No.</td> <td>complaint</td> <td>Purchase date</td> </tr> <% while (rs.next()) { out.println("<tr>"); out.println("<td>"); int a=rs.getInt(1); out.println(a); out.println("<td>"); String s2=rs.getString(2); out.println(s2); out.println("<td>"); String b=rs.getString(3); out.println(b); out.println("<td>"); String c=rs.getString(4);
109
out.println(c); out.println("<td>"); String d=rs.getString(5); out.println(d); out.println("<td>"); String s3=rs.getString(6); out.println(s3); out.println("</tr>"); } %> </table> <% } catch(Exception e) { out.println("error"); } %> </body> </html>
110
ASSIGN COMPLAINT
111
112
ASSIGNED
<%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; String h; try {
int cno=Integer.parseInt(request.getParameter("T1")); String eng=request.getParameter("T2"); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="update complaint set flag=1,engineer='" + eng + "' where cno=" + cno +";" ; out.println(h); stat.executeUpdate(h); } catch(Exception e) { out.println("error"); }%> 113
Connection conn; ResultSet rs; String h; String name=request.getParameter("T1"); String pw=request.getParameter("T2"); String add=request.getParameter("S1"); String post=request.getParameter("T3"); String qual=request.getParameter("T4"); String field=request.getParameter("T5"); String exp=request.getParameter("T6"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="INSERT into engineer values('" + name + "','" + pw + "','" + add + "','" + post
114
+ "','" + qual + "','" + field + "','" + exp + "');" ; stat.executeUpdate(h); } catch(Exception E) { out.println("wrong details"); }
%>
115
NEW COMPLAINTS(ENGINEER)
<html> <body bgcolor="#CCFFFF"> <%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; ResultSet rs; String h; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); String ss=(String) session.getAttribute("username"); h="select * from complaint where flag=1 and engineer='" + ss + "';" ; rs=stat.executeQuery(h); %>
116
<td>Complaint No.</td> <td>Name</td> <td>Product</td> <td>Serial No.</td> <td>complaint</td> <td>Purchase date</td> </tr> <% while (rs.next()) { out.println("<tr>"); out.println("<td>"); int a=rs.getInt(1); out.println(a); out.println("<td>"); String s2=rs.getString(2); out.println(s2); out.println("<td>"); String b=rs.getString(3); out.println(b); out.println("<td>"); String c=rs.getString(4);
117
out.println(c); out.println("<td>"); String d=rs.getString(5); out.println(d); out.println("<td>"); String s3=rs.getString(6); out.println(s3); out.println("</tr>"); } %> </table> <% } catch(Exception e) { out.println("error"); } %> </body> </html>
118
ALL COMPLAINTS
<html> <body bgcolor="#CCFFFF"> <%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; ResultSet rs; String h; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); String ss=(String) session.getAttribute("username"); h="select * from complaint where engineer='" + ss + "';" ; rs=stat.executeQuery(h); %>
119
<td>Complaint No.</td> <td>Name</td> <td>Product</td> <td>Serial No.</td> <td>complaint</td> <td>Purchase date</td> </tr> <% while (rs.next()) { out.println("<tr>"); out.println("<td>"); int a=rs.getInt(1); out.println(a); out.println("<td>"); String s2=rs.getString(2); out.println(s2); out.println("<td>"); String b=rs.getString(3); out.println(b); out.println("<td>"); String c=rs.getString(4); out.println(c); 120
out.println("<td>"); String d=rs.getString(5); out.println(d); out.println("<td>"); String s3=rs.getString(6); out.println(s3); out.println("</tr>"); } %> </table> <% } catch(Exception e) { out.println("error"); } %> </body> </html>
121
SUBMIT STATUS
122
STATUS SUBMITTED
<%@ page errorPage="errorpage.jsp" language="java" import="java.sql.*,java.lang.*" %> <% Connection conn; String h; try {
int cno=Integer.parseInt(request.getParameter("T1")); String eng=request.getParameter("T2"); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); conn =DriverManager.getConnection("jdbc:odbc:dsn1","",""); Statement stat=conn.createStatement(); h="update complaint set flag=2,response='" + eng + "' where cno=" + cno +";" ; stat.executeUpdate(h); response.sendRedirect("welcome_engineer.htm"); } catch(Exception e) {
123
out.println("error"); } %>
124
TESTING
Testing Methodology
Testing is the process of evaluating a system component by manual or automated means to verify that it satisfies specified requirements Objective (Why do we conduct it) To find an error/ bugs. With the highest probability. Prove that the right is right. To minimize the risk of failure. Principles: All tests should be traceable to customer requirements. Tests should be planned before implementation. Tests should begin in the small and progress toward testing in large (Unit testing towards Integration Testing). Exhaustive testing is not possible.
Unit Testing Testing of program units in isolation, to verify their conformance to program specification, it is carried out normally by the developer immediately after coding the program. It usually falls under white box testing approach. Unit testing focuses verifications efforts on the smallest unit of software design. Unit test consideration: Interface Local data Structures Independent Paths .
Integration testing is a systematic technique for constructing the program structure while conducting tests to cover error associated with interfacing. The goal here is to see if the modules can be integrated properly, the emphasis being on testing the design and module interactions.
System Testing System testing is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic. As a rule, system testing takes, as its input, all of the "integrated" software components that have successfully passed integration testing and also the software system itself integrated with any applicable hardware system(s). The purpose of integration testing is to detect any inconsistencies between the software units that are integrated together (called assemblages) or between any of the assemblages and the hardware. System testing is a more limiting type of testing; it seeks to detect defects both within the "inter-assemblages" and also within the system as a whole.
127
ADVANTAGES
The project Customer Support System has advantages like the customer can register online complaints and save their precious time.Paper work has been reduced drastically.Searching of complaints and seeking of their status has become much easier. Few advantages are: Time taken for seeking complaint status was reduced. Paper work was reduced. Easy search of complaints. Easy seeking of status. Responsibility to the engineer.
129
LIMITATIONS
Inspite of many advantages like the customer can register online complaints and save their precious time.Paper work has been reduced drastically.Searching of complaints and seeking of their status has become much easier.There still exists few disadvantages also some of them are as follows: Multiple complaints can not be registered at once. Lack of personnel touch. Can not register complaint due to technical faults.
130
CONCLUSION
Time taken for seeking complaint status was drastically reduced. Ease of lodging the complaint. Accountability of the engineers can be ensured. Time taken for seeking invalid/fake complaints was reduced. Multiple complaints can not be registered.
132
FUTURE SCOPES
Online shopping of gadgets: that is customer can buy gadgets online. Register multiple complaints: that is customer can register more than one complaint at the same time. Feedback from the customer.
133
REFERENCES
Complete Reference To Java (By: Herbert Schildt). Java Continued (Sun Microsystems).
134
GLOSSARY
Acceptance testing: Acceptance testing validates the system against users requirements and ensures that the application is ready for operational use. Activity Diagram: An activity diagram represents the business and operational step-bystep workflows of components in a system. An activity diagram shows the overall flow of control. Backend: Back end comprise the components that process the output from front end. It consist of database. Database: A database is a structured collection of records or data that is stored in a computer system. DFD: Data Flow Diagram is a graphical representation of the flow of data through an information system. Feasibility Study: It is a preliminary study undertaken to determine the projects viability. Front end: It is a part of software that interacts directly with user . Its normally the user interface for project. HTML: Hyper Text Markup Language is a mark up language used for creating web pages. IDE: Integrated Development Environment is a software application that provides a GUI builder, text or code editor , a compiler or interpreter and a debugger. JSP: Java Server Page technology provides a simplified way to create dynamic web pages. Server: Server is a computer program that provides service to other computer programs.
135