Vous êtes sur la page 1sur 55

A MINI PROJECT REPORT ON

ONLINE NATIONAL POLLING


Submitted in partial fulfillment of the requirement for the award of degree of
BACHELOR OF TECHNOLOGY In COMPUTER SCIENCE AND ENGINEERING By M.RAKESH N.VASUNDHARA P.THIRUMALA B.SAI PRASHANTH (09271A0533) (09271A0536) (09271A0538) (09271A0505)

Under the Guidance of

Mr. CH.SAMPATH REDDY


Assoc.Professor

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

JYOTHISHMATHI INSTITUTE OF TECHNOLOGY AND SCIENCE


(Approved by AICTE & Affiliated to JNTUH, Hyderabad)

NUSTLAPUR, KARIMNAGAR 505 481

JYOTHISHMATHI INSTITUTE OF TECHNOLOGY AND SCIENCE


(Approved by AICTE & Affiliated to JNTUH, Hyderabad) NUSTLAPUR, KARIMNAGAR 505 481.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE
This is to certify that this Project Work entitled ONLINE NATIONAL POLLING is a bonafide work carried out by M.RAKESH N.VASUNDHARA P.THIRUMALA B.SAI PRASHANTH (09271A0533) (09271A0536) (09271A0538) (09271A0505)

In partial fulfillment of the requirement for the award of Bachelor of Technology in COMPUTER SCIENCE AND ENGINEERING. During the period 09th July, 2012 30th July, 2012 under our guidance and supervision.

Internal Guide Name: CH.SAMPATH REDDY Designation: Assoc.prof

P.K.VAISHALI Head of the Dept

DECLARATION

I hereby declare that the work which is being presented in this dissertation entitled, ONLINE NATIONAL POLLING, submitted towards the partial fulfillment of the requirements for the award of the degree of Bachelor of Technology in Computer Science & Engineering, JITS, Karimnagar is an authentic record of my own work carried out under the supervision of Sri. P. K.Vaishali, Assoc.Prof. & HOD, Department of CSE, JITS, Karimnagar.

To the best of my knowledge and belief, this project bears no resemblance with any report submitted to JNTUH or any other University for the award of any degree or diploma.

Date: Place:

B.SAI PRASHANTH 09271A0505

ACKNOWLEDGEMENT

It is a great pleasure to express my deepest sense of gratitude and indebtedness, to my Internal guide Mr. CH.SAMPATH REDDY , Assoc.Prof.of CSE Department

,JITS,Karimangar, for having been a source of constant inspiration, precious guidance and generous assistance during the project work. We deem it as a privilege to have worked under his able guidance. Without his close monitoring and variable suggestions this work wouldnt have taken this shape. We feel that this help is unsubstitutable and unforgettable. We wish to express my sincere thanks to Mr. P.K.VAISHALI.Assoc.Prof. & HOD, Department of CSE, Jyothishmathi Institute of Technology and Science, Karimnagar, for giving there valuable suggestion and providing an eminent guide for the completion of the project. We wish to express my sincere thanks to Dr. NASIR HUSSAN, Principal, Jyothishmathi Institute of Technology and Science, Karimnagar for providing the college facilities for the completion of the project. Finally, we thank all the faculty members, supporting staff of CSE Dept and friends for their kind co-operation and variable help for completing the project.

INDEX

TITLE
ABSTRACT LIST IF FIGURES LIST OF TABLES LIST OF SCREENS LIST OF ABBREVATIONS CHAPTER 1: INTRODUCTION 1.1 Motivation 1.2 Existing System 1.3 Proposed System 1.4 Modules and their description CHAPTER 2: LITERATURE SURVEY CHAPTER 3: SYSTEM REQUIREMENT SPECIFICATION 3.1 Hardware Requirements 3.2 Software Requirements CHAPTER 4: DESIGN AND IMPLEMENTATION 4.1 Architecture of the system 4.2 System deign 4.2.1 Data flow diagrams 4.2.2 E-R Diagrams 4.2.3 UML Diagrams 4.2.4 Data Dictionary 4.3 Implementation

PAGE NO
(i) (ii) (ii) (ii) (iii) (2) (2) (3) (3) (3) (7) (11) (11) (11) (13) (13) (13) (14) (16) (17) (22) (26)

CHAPTER 5: TESTING AND DEBUGGING TECHNIQUES 5.1 Types of testing 5.2 Test cases CHAPTER 6: RESULTS CHAPTER-7: FUTURE ENHANCEMENTS CHAPTER-8: CONCLUSION CHAPTER-9: BIBLIOGRAPHY

(32) (32) (33) (37) (45) (45) (45)

ABSTRACT ONLINE NATIONAL POLLING

The aim of the project is to create and manage polling and election details like general user details, Nominated users, election and result details efficiently. The Existing System is manual system. Complexity in Management of Polling Station. The existing system may not provide security to Polling Station. Maintain nominee, filed officers, user details is risky tasks. This system is not providing secure registration and profile management of all the users properly. The development of this new system contains the following activities, which try to automate the entire process keeping in the view of database integration approach. It automates information related to polling stations. Avoid mismanagement (verify users profiles, accept, reject users).We can maintain all type of users details properly. And it provides a rich user interface. In this the commissioner is to maintain the field officers and take responsibility of users request to make forward to Field Officers and he has privileges to accept or reject the nominees requests who can participates in election. The general user is willing to participate in voting then first he has to make request to Commissioner by filling registration form. After getting the permissions he will get a username and Password using that he can participate in polling. The commissioner enters the details of each constituency and zone details. Total area is divided into zones and each zone contains many constituencies to select the nominated persons. The members/nominees who are participating in election may belong to a particular party and each party contains its own party symbol, agenda/manifesto and campaigns. The persons (nominated) who participating in election may belong to party. The nominated people are participating in election and based on the users who participate in polling the nominated person will be elected.

(i)

LIST OF FIGURES

1. System Design Diagram 2. Data Flow Diagram 3. Class diagram 4. Use case diagram 5. Sequence diagram

LIST OF TABLES 1. Election notification table 2. Election type table 3. Employees table 4. Nominee table 5. Party table 6. User table 7. Voter table 8. Result table

LIST OF SCREENS

1. Home page 2. Login page 3. Employee registration page 4. Employee profile page 5. Zones and Constituency page 6. Logout page
(ii)

SYMBOLS AND ABBREVIATIONS

J2ME J2SE J2EE API JDBC HTTP GUI

Java 2 Micro Edition Java 2 Standard Edition Java 2 Enterprise Edition Application Programming Interface Java Data Base Connectivity Hyper Text Transfer Protocol Graphical User Interface Hyper Text Markup Language Java Virtual Machine Object Oriented Programming Operating System Virtual Machine Unified Modeling Language Data Base Management System Structure Query Language

HTML JVM OOP OS VM UML -

DBMS SQL -

(iii)

CHAPTER-1

1. INTRODUCTION

1.1 MOTIVATION:

We live in a democracy and voting is one of our fundamental duties as responsible citizens of the country, but now here around the country a 100% people come to vote during the elections in their territory. There have been many reasons for that some of them are: In the rural areas the influential people keep their men at the polling booths to threaten the common man to vote for them. There are many portions of the country like the North East where there is locally sponsored terrorism, at such places the security conditions are also not very bright, so naturally people feel afraid to come out of their houses and go to vote. Net savvy new generation want hassle free voting system. Also the peo ple in metros want a system through which they can vote for their territory without traveling.

Keeping in mind these situations and to improve the state of democracy in the country Online Polling System can be thought as a solution, in conjunction with the ongoing current manual voting system. Internet voting can solve a lot of problems that exist in our current voting system. The case studies also showed how Internet voting can succeed, depending on what is at sake for the election.

1.2 EXISTING SYSTEM: It is manual system. Complexity in Management of Polling Station. The existing system may not provide security to Polling Station. Maintain nominee, filed officers, user details is risky tasks. This system is not providing secure registration and profile management of all the users properly.

1.3 PROPOSED SYSTEM: The development of this new system contains the following activities, which try to automate the entire process keeping in the view of database integration approach. Automates information related to polling stations. Avoid mismanagement (verify users profiles, accept, reject users). We can maintain all type of users details properly. Rich user interface.

1.4 MODULES AND THEIR DESCRIPTION 1.4.1 Commissioner and Field officers Module 1.4.2 Users Registration Module 1.4.3 Constituency and Zone Modules 1.4.4 Party and Nominations Modules 1.4.5 Election and Result Modules

1.4.1 Commissioner and Field Officers Modules: In this module the role of commissioner is to maintain the field officers by taking of his/her profile details like user name date of birth ,address, constituency, contact ,designation , department , qualification and take responsibility of users request same as above mentioned to make forward to field officers and he has privileges to accept or reject the users details based on age details and in some situations he mentioned qualification details include nominees requests who can participates in election .

1.4.2 Users Registration Modules: This module a general user is willing to participate in voting then first he has to make request to commissioner by filling registration form with these variables like user name, date of birth address, constituency, contact, designation, department, qualification. After getting the permissions he will get a username, password, using that username, password he/she attends in election.

1.4.3 Constituency and Zone Modules: In this specified module the commissioner is enter the details of each constituency and zone details. Total area is divided into different zones depend environment and each zone contain many constituencies by and here commissioner collect the each constituency details, district, pin, state etc. to select the nominated persons.

1.4.4 Party and Nominations Modules: In this election the members/nominees whose participating in election may belong to a particular party and each party contain its own party name, party in charge, party symbol, agenda/manifesto and campaigns start date, campaigns end date with respect the zone. The persons (nominated) who participating in election may belong to party.

1.4.5 Election and Result Modules:

In this module nominated peoples are participating in election by getting details of election notification election type, election start date, election end date, election in charge, nomination start date, nomination end date and based on the values the general peoples are who has already take election membership will participates in polling the nominated person will be elected based on election polling count mean those members are select more by polling

CHAPTER-2

2. LITERATURE SURVEY

Online national polling system maintains all the details about the nominees, users and election details efficiently .And it also provide an easy and secure voting. It automates the information related to polling stations. This system avoids the mismanagement in polling. 2.1 TECHNICAL FEASIBILITY: Evaluating the technical feasibility is the trickiest part of a feasibility study. This is because, at this point in time, not too many detailed design of the system, making it difficult to access issues like performance, costs on (on account of the kind of technology to be deployed) etc. A number of issues have to be considered while doing a technicalanalysis. i) Understand the different technologies involved in the proposed system: Before commencing the project, we have to be very clear about what are the technologies that are to be required for the development of the new system.
ii)

Find out whether the organization currently possesses the required technologies: o Is the required technology available with the organization? o If so is the capacity sufficient? For instance

Will the current printer be able to handle the new reports and forms required for the new system?

2.2 OPERATIONAL FEASIBILITY:

Proposed projects are beneficial only if they can be turned into information systems that will meet the organizations operating requirements. Simply stated, this test of feasibility asks if the system will work when it is developed and installed. Are there major barriers to Implementation? Here are questions that will help test the operational feasibility of a project: Is there sufficient support for the project from management from users? If the current system is well liked and used to the extent that persons will not be able to see reasons for change, there may be resistance. Are the current business methods acceptable to the user? If they are not, Users may welcome a change that will bring about a more operational and useful systems. Have the user been involved in the planning and development of the project? Early involvement reduces the chances of resistance to the system and in General and increases the likelihood of successful project. Since the proposed system was to help reduce the hardships encountered. In the existing manual system, the new system was considered to be operational feasible.

2.3 ECONOMIC FEASIBILITY:

Economic feasibility attempts to weigh the costs of developing and implementing a new system, against the benefits that would accrue from having the new system in place. This feasibility study gives the top management the economic justification for the new system.

A simple economic analysis which gives the actual comparison of costs and benefits are much more meaningful in this case. In addition, this proves to be a useful point of reference to compare actual costs as the project progresses. There could be various types of intangible benefits on account of automation. These could include increased customer satisfaction, improvement in product quality better decision making timeliness of information, expediting activities, improved accuracy of operations, better documentation and record keeping, faster retrieval of information, better employee morale.

CHAPTER-3

10

3. SYSTEM REQUIREMENTS SPECIFICATION

3.1 SOFTWARE REQUIREMENTS:

Operating System User Interface Client-side Scripting Programming Language Web Applications IDE/Workbench Database Server Deployment

: : : : : : : :

Windows XP/2003 or Linux HTML, CSS JavaScript Java JDBC, Servlets, JSP My Eclipse 6.0 Oracle 10g Tomcat 5.x

3.2 HARDWARE REQUIREMENTS:

Processor Hard Disk RAM

: : :

Pentium IV 40GB 512MB or more

11

CHAPTER-4

12

4. SYSTEM DESIGN AND IMPLEMENTATION

4.1 Architecture of the system:

Fig: System architecture 4.2 SYSTEM DESIGN: 1. The Controller Servlets handles the users request. 2. The Controller Servlets then instantiates appropriate JavaBeans based on the request parameters.

13

3. The Controller Servlets then by itself or through a controller helper communicates with the middle tier or directly to the database to fetch the required data. 4. The Controller sets the resultant JavaBeans (either same or a new one) in one of the following contexts request, session or application. 5. The controller then dispatches the request to the next view based on the request URL

4.2.1 Data flow diagrams:

A graphical tool used to describe and analyze the moment of data through a system manual or automated including the process, stores of data, and delays in the system. Data Flow Diagrams are the central tool and the basis from which other components are developed. The transformation of data from input to output, through processes, may be described logically and independently of the physical components associated with the system. The DFD is also know as a data flow graph or a bubble chart. DFDs are the model of the proposed system. They clearly should show the requirements on which the new system should be built. Later during design activity this is taken as the basis for drawing the systems structure charts. The Basic Notation used to create a DFDs are as follows:

1. Dataflow: Data move in a specific direction from an origin to a destination.

14

2. Process: People, procedures, or devices that use or produce (Transform) Data. The physical component is not identified.

3. Source: External sources or destination of data, which may be People, programs, organizations or other entities.

4. Data Store: Here data are stored or referenced by a process in the System.

15

4.2.2 E-R Diagram:

16

4.2.3 UML Diagrams:

ElectionDAO +flag: boolean = false +con: Connection = null <<create>>+ElectionDAO() +addElectionType(addeletypeform: AddElectionTypeForm): boolean +addElectionNotificationDtls(addelenotfform: ElectionNotifcationModel): boolean +UpdateElectionTypeDetails(etf: AddElectionTypeForm): boolean +UpdateElectionNotificaDetails(enf: ElectionNotifcationModel): boolean +DeleteElectionTypeDetails(etypeid: int): boolean +DeleteElectionNotificationDetails(eid: int): boolean +getAllElectionTypes(): CoreHash +getPerticularElectionTypesDetails(etypid: int): AddElectionTypeForm +getPerticularElectionNotificDetails(electionid: int): ElectionNotifcationModel +getElectionTypesnames(): CoreHash +getElectionnames(): CoreHash +getAllEletionNotifDetails(): CoreHash +getEletionNotifDetailsOfPerticlarUser(username: String): ElectionNotifcationModel +con: Connection = null -flag: boolean

EmpRegistrationDAO

ConstituencyDAO +flag: boolean = false +con: Connection = null <<create>>+ConstituencyDAO() +addConstituency(addconstituencyform: AddConstituencyDetailsForm): boolean +getConstituencyNames(): CoreHash +getAllConstituencyDetails(path: String): CoreHash +getUserConstituencyDetails(path: String, cid: int): AddConstituencyDetailsForm

<<create>>+EmpRegistrationDAO() +addemp(emodel: EmpModel): boolean +updateemp(emodel: EmpModel): boolean +getQualification(): CoreHash +getDeptNames(): CoreHash +getUserDeptNames(): CoreHash +getDesigNames(): CoreHash +getDesigNamesOfUsers(): CoreHash +getManager(): CoreHash +getInchargeName(): EmpModel +addquestion(pmodel: EmpModel): boolean +getquestionbase(): CoreHash +getEmployeeAbsDetails(): CoreHash +getAllEmployeesProfiles(images: String): CoreHash +getEmployeesPersonalProfiles(images: String, loginname: String): EmpModel +getEmployeeProfileDetailsById(images: String, employeeid: int): EmpModel +getUserPartialDetails(images: String): CoreHash

UserDAO +con: Connection = null -flag: boolean <<create>>+UserDAO() +adduser(um: UserModel): boolean +EmpAcceptUserStatus(status: String, um: UserModel): boolean +EmpRejectUserStatus(status: String): boolean +getUserPartialDetails(images: String): CoreHash +AdminAssignedUserToFO(um: UserModel): boolean +AdminRejectedUser(um: UserModel): boolean +getAssignOfUsers2EmpByAdmin(): CoreHash +getSelectedNomineesOfPerticlarUser(image: String, loginname: String, constid: int): CoreHash +getSelectedNomineesOfPerticlarUser4MLA(image: String, loginname: String, constid: int): CoreHash +getSelectedNomineesOfPerticlarUser1(nmid: int): NomineeModel +getUserConstID(username: String): UserModel +getUserAuthID(username: String): UserModel +getUserZoneDetails(detailsfile: String, zid: int): UserModel +getUserZoneID(cid: int): UserModel AbstractDataAccessObject +mCon: Connection -mProps: Properties +getProperties(): Properties +setProperties(aProps: Properties) +getConnection(): Connection +getSequenceID(tableName: String, pkid: String): int +con: Connection = null -flag: boolean

NomineeDAO

<<create>>+NomineeDAO() +addNominee(nm: NomineeModel): boolean +addElectionCount(nm: NomineeModel, count: int): boolean +getAssignOfNomineeToAdmin(images: String): CoreHash +getAssignOfNomineeToAdmin4MLA(images: String): CoreHash +AdminAcceptNomineeStatus(status: String, um: NomineeModel): boolean +AdminRejectNomineeStatus(status: String): boolean +getPollingDetailsOfEachNominee(): CoreHash +getPollingDtlsOfEachNominByConstID(constid: int): CoreHash +getPollingResultInUserConstncy(constid: int): NomineeModel +getPollingResultInAllConstncy(): CoreHash

ZoneDAO PartyDAO +flag: boolean = false +con: Connection = null <<create>>+ZoneDAO() +addZone(addzoneform: ZoneModel): boolean +getZoneNames(): CoreHash +getAllZoneDetails(detailsfile: String): CoreHash

+con: Connection = null -flag: boolean <<create>>+PartyDAO() +addparty(pm: PartyModel): boolean +getPartyNames(): CoreHash +getAllPartyDetails(images: String, detailsfile: String): CoreHash

Fig. class diagram

17

Fig: Use case diagram

18

Commissioner 1 : login()

Login

Home

party

zones

constituency

user

nominee

Eelction

Result

logout

2 : validation()

3 : fail()

4 : success() 5 : AddPartyDetails() 6 : ModifyPartyDetails() 7 : DeletePartyDetails() 8 : viewPartyDetails() 9 : AddZones() 10 : ModifyZones() 11 : deleteZones() 12 : viewZones() 13 : AddConstituencyDetails() 14 : ModifyConstituencyDetails() 15 : DeleteConstituencyDetails() 16 : DeleetConstituencyDetails() 17 : AddElectionDetails() 18 : ModifyElectionDetails() 19 : ViewElectionDetails() 20 : Accept/RejectUsers() 21 : viewUsers() 22 : AddNomineeDetails() 23 : viewNomineeDetails() 24 : viewResults() 25 : Logout() 26 : Login()

Fig: Sequence diagram

19

constituency 13 : AddConstituencyDetails() 15 : DeleteConstituencyDetails() 9 : AddZones() 12 : viewZones()

Eelction

user

nominee party 8 : viewPartyDetails() 21 : viewUsers() 7 : DeletePartyDetails() 22 : AddNomineeDetails()

zones

18 : ModifyElectionDetails() 19 : ViewElectionDetails() 17 : AddElectionDetails()

23 : viewNomineeDetails()

16 : DeleetConstituencyDetails() 14 : ModifyConstituencyDetails()

11 : deleteZones()

20 : Accept/RejectUsers()

5 : AddPartyDetails() 6 : ModifyPartyDetails()

10 : ModifyZones()

logout

25 : Logout()

26 : Login()

Home

24 : viewResults()

Result

4 : success() 2 : validation() 3 : fail()

Commissioner

Login

1 : login()

Fig: collaboration diagram

20

commissioner

Login If it is Fail fail

Enter username,password

Validating username,password Successful If it is Successful

Home

Party

Zones

Constituency

Users

Nominees

Elections

Result

Logout

Fig: Activity diagram

21

4.2.4 DATA DICTIONARY

ELECTION NOTIFICATION TABLE:

This table contains the information about the election notification. That is it having the details like type of election, nominated people, date and time of election, symbols of the parties etc.

ELECTION TYPE TABLE:

22

PARTY TABLE:

EMPLOYEES TABLE:

23

NOMINEE TABLE:

USER TABLE:

24

VOTER TABLE:

RESULT TABLE:

25

4.3 Implementation:
Java Data Base Connectivity (JDBC) JDBC is a set of specification that defines how a program written in java can communicate and interact with a database. It provides a vehicle for the exchange of SQL between java application and databases. Programs developed with java and the JDBC are platform independent and vendor independent. There are three components to the JDBC The JDBC driver manager The JDBC driver test suite and The JDBC-ODBC bridge

The JDBC driver manager is the backbone of the JDBC architecture. It actually quite small and simple its primary function is to connect java application s to the connect JDBC driver and then get out of the way. The JDBC driver test suite provides some confidence that JDBC drivers will run your program. Only drivers that pass the JDBC driver test suite can be designated JDBC COMPLIANT. The JDBC-ODBC Bridge allows ODBC drivers to be used as JDBC drivers. It was implemented, as a way to get JDBC off the ground quickly, a long term will provide a way to access some of the less popular DBMSs if JDBC drivers are not implemented for them. Java Virtual Machine (JVM) Beyond the language, there is the Java virtual machine. The Java virtual machine is an important element of the Java technology. The virtual machine can be embedded within a web browser or an operating system. Once a piece of Java code is loaded onto a machine, it is verified. As part of the loading process, a class loader is invoked and does byte code verification makes sure that the code thats has been generated by the compiler will not 26

corrupt the machine that its loaded on. Byte code verification takes place at the end of the compilation process to make sure that is all accurate and correct. So byte code verification is integral to the compiling and executing of Java code. JavaScript JavaScript is a script-based programming language that was developed by Netscape Communication Corporation. JavaScript was originally called Live Script and renamed as JavaScript to indicate its relationship with Java. JavaScript supports the development of both client and server components of Web-based applications. On the client side, it can be used to write programs that are executed by a Web browser within the context of a Web page. On the server side, it can be used to write Web server programs that can process information submitted by a Web browser and then update the browsers display accordingly Even though JavaScript supports both client and server Web programming, we prefer JavaScript at Client side programming since most of the browsers supports it. JavaScript is almost as easy to learn as HTML, and JavaScript statements can be included in HTML documents by enclosing the statements between a pair of scripting tags <SCRIPTS>.. </SCRIPT>. <SCRIPT LANGUAGE = JavaScript> JavaScript statements </SCRIPT> Here are a few things we can do with JavaScript:

Validate the contents of a form and make calculations. Add scrolling or changing messages to the Browsers status line. Animate images or rotate images that change when we move the mouse over them. 27

Detect the browser in use and display different content for different browsers. Detect installed plug-ins and notify the user if a plug-in is required.

We can do much more with JavaScript, including creating entire application. JavaScript Vs Java JavaScript and Java are entirely different languages. A few of the most glaring differences are: Java applets are generally displayed in a box within the web document; JavaScript can affect any part of the Web document itself. While JavaScript is best suited to simple applications and adding interactive features to Web pages; Java can be used for incredibly complex applications. There are many other differences but the important thing to remember is that JavaScript and Java are separate languages. They are both useful for different things; in fact they can be used together to combine their advantages. Advantages JavaScript can be used for Sever-side and Client-side scripting.It is more flexible than VBScript

HTML

HTML, an initialism of Hypertext Markup Language, is the predominant markup language for web pages. It provides a means to describe the structure of text-based information in a document by denoting certain text as headings, paragraphs, lists, and so on and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of labels (known as tags), surrounded by

28

angle brackets. HTML can also describe, to some degree, the appearance and semantics of a

document, and can include embedded scripting language code which can affect the behavior of web browsers and other HTML processors.

HTML is also often used to refer to content of the MIME type text/html or even more broadly as a generic term for HTML whether in its XML-descended form (such as XHTML 1.0 and later) or its form descended directly from SGML

Hyper Text Markup Language Hypertext Markup Language (HTML), the languages of the World Wide Web (WWW), allows users to produces Web pages that include text, graphics and pointer to other Web pages (Hyperlinks).

HTML is not a programming language but it is an application of ISO Standard 8879, SGML (Standard Generalized Markup Language), but specialized to hypertext and adapted to the Web. The idea behind Hypertext is that instead of reading text in rigid linear structure, we can easily jump from one point to another point. We can navigate through the information based on our interest and preference. A markup language is simply a series of elements, each delimited with special characters that define how text or other items enclosed within the elements should be displayed. Hyperlinks are underlined or emphasized works that load to other documents or some portions of the same document.

HTML can be used to display any type of document on the host computer, which can be geographically at a different location. It is a versatile language and can be used on any platform or desktop.

29

HTML provides tags (special codes) to make the document look attractive. HTML tags are not case-sensitive. Using graphics, fonts, different sizes, color, etc., can enhance the presentation of the document. Anything that is not a tag is part of the document itself.

30

CHAPTER-5

31

5. TESTING AND DEBUGGING TECHNIQUES


Testing: The process of executing a system with the intent of finding an error. Testing is defined as the process in which defects are identified, isolated, subjected for rectification and ensured that product is defect free in order to produce the quality product and hence customer satisfaction. Quality is defined as justification of the requirements\ Defect is nothing but deviation from the requirements Testing can demonstrate the presence of bugs, but not their absence\ Debugging and Testing is not the same thing! Testing is a systematic attempt to break a program or the AUT Debugging is the art or method of uncovering why the script /program did not execute properly. 5.1 TYPES OF TESTINGS: Black box Testing: is the testing process in which tester can perform testing on an application without having any internal structural knowledge of application. Usually Test Engineers are involved in the black box testing. White box Testing: is the testing process in which tester can perform testing on an application with having internal structural knowledge. Usually The Developers are involved in white box testing. Gray Box Testing: is the process in which the combination of black box and white box tonics are used.

32

Smoke Testing: is the process of initial testing in which tester looks for the availability of all the functionality of the application in order to perform detailed testing on them. Regression Testing: is one of the best and important testing. Regression testing is the process in which the functionality, which is already tested before, is once again tested whenever some new change is added in order to check whether the existing functionality remains same

5.2 Test Cases:


Template for Test Case Description Exp Act Result

T.C.No

Guidelines for Test Cases: 1. GUI Test Cases: Total no of features that need to be check Look & Feel Look for Default values if at all any (date & Time, if at all any require) Look for spell check

33

Example for GUI Test cases:

T.C.No

Description

Expected value

Actual value

Result

Check for all the features inn The screen must contain 1 the screen all the features

Check for the alignment of the The alignment should be 2 objects as per the validations in proper way

2.Positive Test Cases: The positive flow of the functionality must be considered Valid inputs must be used for testing Must have the positive perception to verify whether the requirements are justified.

34

Example for Positive Test cases:

T.C.No 1

Description Input Username Password and

Expected value Actual value Redirect to o Redirect Homepage to Home Page

Result Redirect Home Page to

2. Negative Test Cases:


Must have negative perception. Invalid inputs must be used for test.

Example for Negative Test cases:


T.C.No 1 Description Input Expected value Actual value Login Page Result Login Page

username Login Page

and password

35

CHAPTER-6

36

6. RESULTS

HOME PAGE:

37

LOGIN PAGE:

38

39

EMPLOYEE REGISTRATION PAGE:

EMPLOYEE PROFILE PAGE:

41

ZONES AND CONSTITUENCY DETAILS PAGE:

42

ELECTION TYPE PAGE:

LOGOUT PAGE:

44

FUTURE ENHANCEMENTS It is not possible to develop a system that makes all the requirements of the user. User requirements keep changing as the system is being used. Some of the future enhancements that can be done to this system are: (1) As the technology emerges, it is possible to upgrade the system and can be adaptable to desired environment. (2) Because it is based on object-oriented design, any further changes can be easily adaptable. (3) Based on the future security issues, security can be improved using emerging technologies.

CONCLUSION This system online national polling is introduced for maintaining polling with effectively and efficiently by introducing security, authentication, introducing zones, constituencies ,employee details, users profiles, party details ,election details and releasing election results efficiently to user with the help of the this automated application ,in this organization field officers play very important role to manage polling system.

BIBLIOGRAPHY
(1) Java Complete Reference by Herbert Shield (2) Database Programming with JDBC and Java By George Reese (3) Java and XML by Brett McLaughlin (4) Wiki peda, URL: http://www.wikipedia.org. (5) Answers.com, Online Dictionary, Encyclopedia and much more, URL: http://www.answers.com 45

(6) Google, URL: http://www.google.co.in (7)Project Management URL: http://www.startwright.com/project.htm

46

Vous aimerez peut-être aussi