Department Of Computer Science Ganpat University,Ganpat Vidhyanagar-384012 Nov-Dec 2014
1
Project Profile Project Title
Online Voting System
Objective
Internet voting will allow the casting of Online voting from virtually any location around the world and Display voting results in a graphical fashion for the administrator to analyze and providing a most secured and user friendly online voting system.
Front End
ASP.net with C# (Framework 4.0)
Back End
MS SQL Server 2008
Other Tools
MS Office 2007
Internal Guide
RaviPatel
Duration
50 Days
Group No
70
Develop By
Patel Parth A. Prajapati Kishan M.
(13084231166) (13084231228)
Existing System •
Paper-based voting systems originated as a system where votes are cast and counted by hand
•
With the advent of electronic tabulation came systems where paper cards or sheets could be marked by hand counted electronically.
•
These systems included punched card voting, mark sense and later digital pen voting systems.
Need for new System •
Easy to manage large amount of user and data store in electronic for long time.
•
Register Vote form any where.
•
The project is mainly aimed at providing a most secured and user friendly online voting system.
•
No paper work
•
Display voting results in a graphical fashion and Instantly display result for the administrator to analyze.
•
Prevent voters from voting more than once for their choose candidates.
Server Side Hardware & Software Requirement(Minimum)
Server Side Hardware Requirement Processor
2.0 GHz
Hard Disk
40 GB Free Disk Space
RAM
2 GB
Server Side Software Requirement Operating System
Windows XP or other Compatible OS
Front end
Asp.net Framework 4.0
Back end
MS SQL Server 2008
Other Tools
MS Office 2007
Client Side Hardware & Software Requirement(Minimum)
Client Side Hardware Requirement Processor
1.0 GHz
Hard Disk
8 GB Free Disk Space
Ram
512 MB
Client Side Software Requirement Operating system
Windows XP or other Compatible OS
Web- Browser
Internet Explorer 6.0, other Compatible
Function Specification User •
Admin Approve Organization Request. Declare The Result. Manage Admin.
Database 1:1:1:Response for Login 2:1:1:Update Org. 3:1:1:Updated Profile 4:1:1:Approved Request 5:1:1:Add Adv. 6:1:1: Store Votes 7:1:1:Store Result
Organization side collaboration diagram:
1:1:Request for Login 2:1:Manage profile 3:1:Candidate Reg. 4:1:Add_Voter Sheet 5:1:Manage Election Date 6:1:Give Vote 7:1:View Result System
1:Login 2:Manage profile 3:Candidate Reg. 4:Add_Voter Sheet 5:Manage Election Date 6:Give Vote 7:View Result 8:LogOut
Database 1:1:1:Response for Login 2:1:1:Response profile 3:1:1:candidate Reg. 4:1:1:Add_Voter Sheet 5:1:1:Response Election Date 6:1:1:Respons Give Vote 7:1:1:Response View Result
1:1:1:1:Login Successfully 2:1:1:1:Sucessfully update profile 3:1:1:1:Successfully Candidate Reg. 4:1:1:1:Sucessfully Add Voter Sheet 5:1:1:1:Successfully Manage Election Date 6:1:1:1:Successfully Give Vote 7:1:1:1:Successfully View Result 8:1:1:1:LogOut Successfully
Organization
Voter side collaboration diagram:
1:1:Request for Login 2:1:Give Vote System
Database
1:1:1:Response for Login 2:1:1:Response Give Vote 1:1:1:1:Login Successfully 2:1:1:1:Sucessfully Give Vote 3:1:1:1:LogOut Successfully
1:Login 2:Give Vote 3:Logout
Voter
Data-Dictionary
Organization Table Table Name:
Organization_table
purpose:
This table is used to store the organization table.
Primary Key:
O_Id
Foreign Key:
-
No
Field Name
Constraint
Data Type
Size
Description
1 2 3 4 5 6 5 7
O_Id Name Address City State Country Email Contact _No
PK Not Null Not null Not null Not Null Not Null Not null Not Null
Int Varchar Varchar Varchar Varchar Varchar Varchar Numeric(12)
5 20 20 10 20 20 20 12
Primary key for Organization Organization Name Address of the Organization Sector of the Organization State of the Organization Country of the Organization Email Id of the Organization Contact No. of the Organization
8 9 10 11 12 13 14
Sector About_Company Apply Post User _Name Password Req_Date Excel _Sheet
Not Null NotNull Not Null Not Null Not Null Not Null Null
Sector of the Organization Details of the Organization Which Post for you apply election Unique Id for the Organization Password of the Organization Date of the Request Number of Voter for the Election in Excel sheet format file Election Approve by the Admin Starting Date of the Election Ending Date of the Election Status Of Giving Vote
Candidate_Registration Table Table Name:
Candidate_Registration table
Purpose:
This table is used to store the candidate.
Primary Key:
C_id
Foreign Key:
O_id
No
Field Name
Constraint
Data Type
Size
Description
1
C_Id
PK
Int
5
2
Name
Not Null
Varchar
20
Primary key for Nominee Identification Nominee Name
3
Address
Not null
Varchar
20
Address of the Niminee
4
Designation
Not null
Varchar
20
Current designation of the nominee
5
Contact _No
Not Null
Numeric(12)
12
Contact No of the Nominee
6
Image
Not Null
Varchar
50
Photo of the Nominee
7
Description
Not Null
Varchar
100
Detail or advertise for the Election
8
Votes
Not Null
Int
12
Number of Votes
9
Password
Not Null
Varchar
15
Password for the Nominee
10
O_Id
FK
Int
15
Foreign Key from Organization Table
11
Give_vote
Null
Varchar
5
Status of giving vote
Admin_login Table Table Name:
Admin_login table
Purpose:
This table is used to store the admin table.
Primary Key:
Id
Foreign Key:
-
No
Field Name
Constraint
Data Type
Size
Description
1
Id
PK
Int
5
Primary key for Admin
2
Name
Not Null
Varchar
20
Name of the Admin
3
Contact_No
Not Null
Numeric(12)
12
Contact No. of the Admin
4 5
User_Name Password
Not Null Not null
Varchar Varchar
20 20
Admin User Name Password for the admin
Voter_Login Table
Table Name:
voter_login table
Purpose:
This table is used to store the voter table.
Primary Key:
V_id
Foreign Key:
C_id,O_id
No
Field Name
Constraint
Data Type
Size
Description
1
V_Id
PK
Int
5
Primary key for Voter
2
Name
Not Null
Varchar
20
Admin User Name
3
Password
Not null
Varchar
20
Password for the admin
4
O_Id
FK
Int
5
Foreign Key from Organization Table
5
C_Id
FK
Int
5
Foreign Key from Nominee Table
Result _Table
Table Name:
Result_table
Purpose:
This table is used to store the result details.
Primary Key:
R_id
Foreign Key:
O_id,C_id
No
Field Name
Constraint
Data Type
Size
Description
1
R_Id
PK
Int
5
Primary key for Result
2 3
Total_Vote O_Id
Not Null FK
Int Int
10 5
Number of votes Foreign Key from Organization Table
4
C_Id
FK
Int
5
Foreign Key from Nominee Table
Screenshot
Home Page:-
DESCRIPTION:-This page is home page.
Organization Registration:-
DESCRIPTION:-This page shows about organization registration.
Admin Login:-
DESCRIPTION:-This page shows about admin login.
Organization Request Approve:-
DESCRIPTION:-This page shows about admin approve organization request .
Organization Login:-
DESCRIPTION:-This page shows about organization login.
Candidate Registration:-
DESCRIPTION:-This page shows about candidate registration.
Add Voter Sheet:-
DESCRIPTION:-This page shows about add voter sheet by organization .
Election Date:-
DESCRIPTION:-This page shows about select election date by organization.
Candidate Login:-
DESCRIPTION:-This page shows about candidate login.
Candidate Give vote:-
DESCRIPTION:-This page shows about candidate give vote .
Voter Login:-
DESCRIPTION:-This page shows about voter login.
Voter Give Vote:-
DESCRIPTION:-This page shows about voter give vote.
Result of Election:-
DESCRIPTION:-This page shows about show result of election.
About Us:-
Testing 1.Unit Testing:In this of testing procedure individual program will be tested with be tested with respect to the desired output from the system. Due care will be taken while entering the test data, So as to check the boundaries of data elements exceptional procedure handing.
2. System Testing:Under this system procedure will be tested as a whole and not in terms of individual program testing. This procedure will test the integrity of the data. Few checks were carried out to test system. Live data of the various types of assets were inputted to system. Testing is the modules independently to check their efficiency and correctness. Link to different module were replaced by actual modules and checked the whole system was ready.
3. White-box testing:White-Box testing is sometime called glass-box testing, is a test case design method that uses the control structure of the procedure design to derive test cases. Using White-box testing method, the software engineer can derive test cases that guarantee that all independent paths within a module have been exercised at least once. Exercise all logical decision on their true and false sides. Execute all loops at their boundaries and within their operational bound. Exercise internal data structure to ensure their validity.
Test case 1:TESTCASEID
1
TESTCASE NAME:- TEXTFIELD VALIDATION DESCRIPTION :- ENTERING TEXT IN TEXTFIELD ONLY CHARACTER. EXPECTED RESULT:- PLEASE ENTER ONLY CHARACTER ACTUAL RESULT:- USER ARE PROMPTED CORRECT DATA
RESULT
PASS
Test case 2:TESTCASEID
2
TESTCASE NAME:- TEXTFIELD VALIDATION DESCRIPTION :- ENTERING TEXT IN TEXTFIELD ONLY NUMBER. EXPECTED RESULT:- PLEASE ENTER ONLY NUMERIC. ACTUAL RESULT:- USER ARE PROMPTED CORRECT DATA RESULT
PASS
Test case 3:TESTCASEID
3
TESTCASE NAME:- TEXTFIELD VALIDATION DESCRIPTION :- ENTERING TEXT IN TEXTFIELD NULL ARE NOT ACCEPTED EXPECTED RESULT:- PLEASE ENTER ONLY CHARACTER ACTUAL RESULT:- USER ARE PROMPTED CORRECT DATA
RESULT
PASS
Postimplamantation Review •User give following type of review •User says that this website very use full because they can find all Election online .
Feature Enhancemant • Send Information to on the user Mobile about result. • Admin send All Information About Election to the user mobile.
Biblography 1. Pro C#.NET 2010 and the .NET4.0 Platform by Black BOOK