Anda di halaman 1dari 4

6.1.2.

USECASE SPECIFICATION:

LOGIN

Brief Description
The use case describes how Voter and administrator logs into the online voting system.

Flow of Events

Basic Flow
This use case starts when the Voter and administrator wishes to Login to the Online voting
system.
1. The System requests that the Voter and administrator to enter his/her voter-id, user-id,
authentication type and password.
2. The voter and administrator’s user-id, voter-id and password.
3. The System validates the entered user-id, voter-id, authentication type and password
and logs the user into the System

Alternative Flows
Invalid Name/Password
If, in the Basic flow, the user enters an invalid user-id, voter-id, atuthentication and/or
password, the system displays an error message. The user chooses to either return to the
beginning of the Basic flow or cancel the login, at which point the use case ends.

Special Requirement
None

Pre-Conditions
None

Post-Conditions
If the use case was successful, the user is now logged into the system based on the
authentication type. If not, the System State is unchanged.
SELECT AREA
Brief Description
The administrator and the voter have to select the area in which either the voting has to be
done or the locality where the voting status has to be viewed.

Basic flow
1. The user must provide the system with the state, district and locality.
2. The user has to lock each and every selection so that the locality cannot be altered.

Alternate flow
If the voter or the administrator doesn’t select the locality completely then they will neither be
allowed the cast the vote nor can view the election status in progress.

Special Requirements
None

Pre-Conditions
The user has to first login by giving the type of authentication which allows them to select
area.

Post-Conditions
If the use case was successful, the voter will reach the ballot sheet where he can cast the vote
and the administrator will reach the election status page to view the election status of the
particular locality.

BALLOT SHEET

Brief Description
This use case is enables the voter to cast the vote and register him as valid voter and his status
as voted.

Basic flow
1. The voter moves on to the ballot sheet by providing the following details
a) State
b) District
c) Locality
2. If the voter does not select any nominee to cast his vote then his decision is first confirmed
by the system and then his vote is registered as not willing to vote to anyone. Else the vote is
registered to the selected nominee.

Alternative flow
If the passenger gives an invalid credit card no or specified a bank where does have any
account. Error message will be displayed.

Special Requirements
None

Pre-Conditions
The voter has to initially provide the online voting system with the state, district and locality.

Post-Conditions
If the casting of vote is successful then the voter-id is registered to voted status such that he
cannot login again.

Extension Points
None
ELECTION STATUS

Brief Description
This use case helps the administrator to view the election status for each locality uniquely with
graph to enable easy view of status
Basic flow
This use case used by the administrator to view the election status of the election which is
already in progress which is displayed based on the locality which the administrator selects.

Alternate flow
If the election viewing area is not selected then the election status cannot be viewed by the
administrator unless he provides the full details about the area.

Special Requirements
None

Pre-Conditions
The administrator can view the status only if the election viewing locality is already being
given to the system as input.

Post-Conditions
If the use case was successful, the passenger can cancel the ticket.

Extension Points
None