Passport Automation System: A Case Study Report On
Passport Automation System: A Case Study Report On
BE ¾ (CSE) II-SEMESTER
By
P.PAVAN KUMAR
1602-16-733-087
2019
1
Vasavi College of Engineering (Autonomous)
Ibrahimbagh, Hyderabad-31
P.PAVAN KUMAR,
1602-16-733-087.
2
Vasavi College of Engineering (Autonomous)
Ibrahimbagh, Hyderabad-31
BONAFIDE CERTIFICATE
3
TABLE OF CONTENTS
1. Introduction------------------------------------------------------------------------06
2. Problem Statement----------------------------------------------------------------06
3. SRS----------------------------------------------------------------------------------07
5. System Design---------------------------------------------------------------------26
7. Test-Cases-------------------------------------------------------------------------73
4
LIST OF FIGURES
S. No Figure Page No
s
1 Level 0 DFD 28
2 Level 1 DFD 29
3 Level 2 DFD 30,31 ,32,33
4 Functional decomposition 34
5 Usecase diagram 38
6 Sequence diagram 42
7 Collaboration diagram 51
8 Activity diagram 57
9 Class diagram(general and advanced) 63,64
10 Component diagram 67
11 Deployment diagram 69
12 Reverse engineering diagram 72
5
1.INTRODUCTION
a) INTRODUCTION
To simplify the process of applying passport, software has been created by designing
through rational rose tool, using visual basic as a front end and Microsoft access as a
back end. Initially the applicant login the passport automation system and submits his
details. These details are stored in the database and verification process done by the
passport administrator, regional administrator and police the passport is issued to the
applicant.
2) PROBLEM STATEMENT
Passport Automation System is used in the effective dispatch of passport to all of the
applicants. This system adopts a comprehensive approach to minimize the manual work
and schedule resources, time in a cogent manner. The core of the system is to get the
online registration form with details such as name, address etc., filled by the applicant
whose testament is verified for its genuineness by the Passport Automation System with
respect to the already existing information in the database. This forms the first and
foremost step in the processing of passport application. After the first round of
verification done by the system, the information is in turn forwarded to the regional
administrator's Ministry of External Affairs office. The application is then processed
manually based on the report given by the system, and any forfeiting identified can make
the applicant liable to penalty as per the law. The system forwards the necessary details
to the police for its separate verification whose report is then presented to the
administrator. After all the necessary criteria have been met, the original information is
added to the database and the passport is sent to the applicant.
6
3.Software Requirements Specification
Contents
1. Introduction
1.1 Purpose
1.2 Scope
1.4 Overview
2. General Description
3. Specific Requirements
1. Introduction
7
1.1 Purpose
Passport Automation System is an interface between the Applicant and the Authority
responsible for the Issue of Passport. It aims at improving the efficiency in the Issue of
Passport and reduces the complexities involved in it to the maximum possible extent.
1.2 Scope
The System provides an online interface to the user where they can fill in their
personal details and submit the necessary documents (may be by scanning).
The authority concerned with the issue of passport can use this system to reduce his
workload and process the application in a speedy manner.
Transfer of data between the Passport Issuing Authority and the Local Police for
verification of applicant's information.
Users/Applicants will come to know their status of application and the date in which
they must subject themselves for manual document verification.
Administrator:
Refers to the super user who is the Central Authority with the privilege to manage the
entire system. It can be any higher official in the Regional Passport Office of Ministry of
External Affairs.
Applicant:
PAS:
HTML:
8
J2EE:
Java 2 Enterprise Edition is a programming platform java platform for developing and
running distributed java applications.
HTTP:
TCP/IP:
1.3 References
1.4Overview
This specification includes a brief product perspective and a summary of the functions
the software will provide. User characteristics are discussed and any general constraints
or assumptions and dependencies are listed.
2. General Description
9
The PAS acts as an interface between the 'applicant' and the 'administrator'. This system
tries to make the interface as simple as possible and at the same time not risking the
security of data stored in. This minimizes the time duration in which the user receives
the passport.
Administrator can generate reports from the information and is the only authorized
personnel to add the eligible application information to the database.
Applicant
These are the person who desires to obtain the passport and submit the information to
the database.
Administrator
He has the certain privileges to add the passport status and to approve the issue of
passport. He may contain a group of persons under him to verify the documents and
give suggestion whether or not to approve the dispatch of passport.
Police
He is the person who upon receiving intimation from the PAS, perform a personal
verification of the applicant and see if he has any criminal case against him before or at
10
present. He has been vetoed with the power to decline an application by suggesting it to
the Administrator if he finds any discrepancy with the applicant. He communicates via
this PAS.
The information of all the users must be stored in a database that is accessible by
the System.
The information security system must be compatible with the Internet
applications.
The users must have their correct usernames and passwords to enter into the
System.
3. Specific Requirements
It is defined as how they should react in the particular input and how the system should
react in the particular situations and what the system do not do. In my project, login as
functional requirement. In that functional requirement we may check the user name and
password is correct or not. After checking entity of login, we can show the detail based
on the type of actor.
Analysis:
In this place, the project requirement is analyzed and availability of requirement is seen.
Design:
Project manager makes the design of the project.
Implementation:
The construction of project is done and coding is developed.
Maintenance:
In this the software maintenance and the ways to avoid the drawback of software is
made.
3.1.1APPLICANT DETAILS:
the applicant enter the details such as name,gender,age,address,contact details etc.
When the applicant enter details. the database accepts applicant details.
Specifying details
storage of details in database
3.1.2STATUS ENQUIRY:
11
.selecting the status
If successful then the applicant will get the new passport or renew the old passport.
3.1.4.VERIFICATION:
3.1.5.CONFIRMATION:
The PAS shall respond to user's retrieving information quickly. The waiting time for
any retrieve operation must be under 2 seconds
Hardware requirements:
Processor: Pentium –IV
Hard drive: 320 GB
RAM: 4GB
DVD-Drive: 1
Software requirements:
Operating system: Windows XP
Front-end: Rational Rose Enterprise Edition
Back-end: Oracle 9i
12
3.4 Design Constraints
13
4. RATIONAL ROSE TOOL
The six best practices employed by RUP to overcome these problems are:
Develop iteratively.
Manage Requirements.
Model visually.
Manage changes.
14
Architecture is a part of the design. It is about making decision on how the system
will be built. Software system architecture is perhaps the most important aspect that can
be used to control the iterative and incremental development to a system throughout its
lifecycle.
Modeling is important because it helps the development team visualize, specify, construct
and document the structure and the behavior of system architecture.
15
UML includes nine such diagrams:
Use Case Diagram : To illustrate the user intersection with the system
Fifth best practice is quality and is defined as the “Characteristic of having demonstrated
the achievement of producing a product which meets or exceeds agreed upon measures
and criteria and is produced by an agreed upon process.”
16
The various tests to be performed are:
4. Performance Test: Test on-line response under average and peak loading.
VIEWS:
Modeling complex systems is an extensive task. If the entire system is described and in a
single graph that defines the entire system unambiguously and is easy to communicate
and understand. However, this is usually impossible. So there are several views
describing the system in depth with different diagrams. The views involved in UML are
Use Case View: a view describes the functionality of the system as perceived by an
external actor. An actor interacts with the system; it can be a user or another system. The
use case view is for customers, designers, developers and testers. The functions of the
systems are descried as a number of use cases in the use case view. The systems for some
functions are represented by use cases.
17
Logical View: A view showing the functionality is designed inside the system in terms
of the systems static structure and dynamic behavior. This is mainly for designers and
developers. The static structure is described in class and object diagram. The dynamic
modeling is described in state, sequence collaboration and activity diagrams.
Component View: A view showing the organization of the code components. This view
is a description of the implementation modules and the dependencies. It is mainly for
developers and consists of the component diagram.
Deployment View: A view showing the deployment of the system into the physical
architecture with computers and devices called nodes and how they connect to each
other. It is mainly for developers and testers.
Diagrams:
The diagrams are the actual graphs that show model element symbols of a system.
There are different types of diagrams to represent the systems functionality and
behavior.
Use-case Diagram: A use case diagram shows interactions of actors with a system in
terms of functions called use-case. A use case is description of a functionality that the
system provides. The actors are external to the system but who interacts with the system;
they may be external persons, external system and hardware.
Class Diagram: A class diagram shows the static structure of classes in the system.
The classes represent the “things” that are handled in the system. Class can be related to
each other in a number of ways: associated, dependent, specialized or packaged. Class
represents attributes and operations.
18
Object Diagram: An object diagram is a variant of the class diagram and uses almost
identical notation. The difference between the two is that an object diagram shows a
number of object instances of classes, instead of actual classes. Objects are written in
rectangular box with their names. object diagrams are written in rectangular box with
their names. Object diagrams are not important as class diagrams, but show the actual
instances of a class and the relationships.
19
Activity Diagram: An activity diagram shows a sequential flow of activities. This is
typically used to describe the activities performed in an operation.
Deployment Diagram: It represents the processors and devices to develop the system
,it shows deployment view of the system.
Component Diagram: A component diagram shows the physical structure of the code in
terms of code components .a component can be a source code component, a binary
component or an executable component. A component contains information about logical
class or classes it implements.
20
5. SYSTEM DESIGN
REQUIREMENTS:
THEORY:
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 modelled. Developing a data-flow diagram helps in identifying the
transaction data in the data model. There are different notations to draw data-flow
diagrams, defining different visual representations for processes, data stores, data flow,
and external entities.
External Entity: This notation represents any real world thing (person, place, object,
hardware device).
Data Flow: This notation represents the flow of information from source to destination.
21
Process: This notation represents the transformation and manipulation of data flow
information
Data Store: This is a place which holds the data with in the system i.e. the data which
has been processesed.
A context level Data flow diagram created using Select SSADM.This level shows the
overall context of the system and its operating environment and shows the whole system
as just one process. It does not usually show data stores, unless they are "owned" by
external systems, e.g. are accessed by but not maintained by this system, however, these
are often shown as external entities.
22
LEVEL 0
DETAILS VERIFICATION
PAS
APPLICANT ADMINISTRATOR
INVALID PASSPORT
ALLOT
SYSTEM DATABASE
24
LEVEL1
APPLICANT
APPLICANT LOGIN
VERIFIED
CHECK CHECK
DETAILS THE
PASSPORT
VALID
STATUS
ACCOUNT
DATABASE
OK/NOT
USER ACCOUNT
DETAILS
DETAILS
CHECK
STATUS
ALERT ON
DUE DATE
AND RENEW
COMPILATION
PASSPORT
PASSPORT
FEEDBACK
25
3. Level 2 (unified Level Diagram)
A Level 2 Data flow diagram shows the "Process Enquiry" process for the same
system.This level is a decomposition of a process shown in a level-1 diagram, as such
there should be a level-2 diagram for each and every process shown in a level-1 diagram.
In this example processes 1.1, 1.2 & 1.3 are all children of process 1, together they wholly
and completely describe process 1, and combined must perform the full capacity of this
parent process. As before, a level-2 diagram must be balanced with its parent level-1
diagram.
26
Renewing-passport
27
II ) Functional decomposition
AIM: To draw Functional Decomposition Diagram for PASSPORT AUTOMATION
SYSTEM.
REQUIREMENTS:
THEORY:
Here are some terms and their definitions that apply to the functional decomposition process.
Decomposition is a process of breaking down. we will be breaking down functions into their
smaller parts.
A general function is a function that requires other functions to work in order to take place. A
general function may also be a sub function, since it may both depend on and be depended on by
other functions.
A subfunction is a function that has to work in order for a more general function to take place.
Remember, a subfunction may also be a general function. A basic function is a function that has
no smaller subfunctions.
Functional decomposition is a term that engineers use to describe a set of steps in which they
break down the overall function of a device, system, or process into its smaller parts.
A functional decomposition diagram is a picture that engineers draw to help them understand
how all of the general tasks and subtasks in a design fit together. They use tree diagrams because
these are good for showing how big things can split into smaller things (just like the branches of
a tree, which split into smaller twigs).
28
What is the most general task that your design needs to accomplish? Your group
should come up with a one-sentence answer to this question and write it down. If you find
that you need more than one sentence to describe this task, it is likely that you are
incorporating some smaller functions into your answer. Try to identify the function that
reflects the overall purpose of the design.
Begin a functional decomposition diagram by centering a short description of
this most general function at the top of a piece of paper. Remember, all you need to write
is what the function does, not how it does it.
29
30
III) USECASE DIAGRAM
DEFINITION:
Use case Diagram is a collection of use cases, actors and relationships that exists
between them. Use-case diagrams graphically depict system behavior (use cases).
These diagrams present a high level view of how the system is used as viewed from an
outsider’s (actor’s) perspective. A use-case diagram may depict all or some of the use
cases of a system.
CONTENTS:
Actors represent system users. They help delimit the system and give a clearer picture of
what the system should do. It is important to note that an actor interacts with, but has no
control over the use cases.
actor
2·Use cases (system boundaries identifying what the system should do):
31
A more detailed description might characterize a use case as:
Use cases are best discovered by examining the actors and defining what the actor will
be able to do with the system.
usecase
2. Interactions or relationships between actors and use cases in the system including
the associations, dependencies, and generalizations.
Generalization Relationship:
32
A generalize relationship is a relationship between a more general class or use case and
a more specific class or use case. A generalization is shown as a solid-line path from the
more specific element to a more general element. The tip or a generalization is a large
hollow triangle pointing to the more general element.
actor1
actor3
actor2
Dependency Relationship:
33
DIAGRAM:
REQUIREMENTS:
validation
appointment
applicant
passport officer
verification
<<include>>
post officer police service verification
delivery
status
34
reappointment
certificate
<<extend>>
passport officer
verification
photograph
<<include>>
applicant
enquiry
35
IV) SEQUENCE DIAGRAM
Sequence diagrams establish the roles of objects and help provide essential information
to determine class responsibilities and interfaces.
This type of diagram is best used during early analysis phases in design because they are
simple and easy to comprehend.
Sequence diagrams are closely related to collaboration diagrams and both are alternate
representations of an interaction.
There are two main differences between sequence and collaboration diagrams:
While collaboration diagrams show how objects associate with each other.
CONTENTS:
A sequence diagram has two dimensions: typically, vertical placement represents time
and horizontal placement represents different objects.
The following tools located on the sequence diagram toolbox enable you to model
sequence diagrams:
Object: An object has state, behavior, and identity. The structure and behavior of similar
objects are defined in their common class. Each object in a diagram indicates some
instance of a class. An object that is not named is referred to as a class instance.
If you use the same name for several object icons appearing in the same collaboration or
activity diagram, they are assumed to represent the same object; otherwise, each object
icon represents a distinct object. Object icons appearing in different diagrams denote
different objects, even if their names are identical. Objects can be named three different
ways: object name, object name and class, or just by the class name itself.
36
Message Icons: A message icon represents the communication between objects
indicating that an action will follow. The message icon is a horizontal, solid arrow
connecting two lifelines together. The following message icons show three different ways
a message icon can appear: message icon only, message icon with sequence number, and
message icon with sequence number and message label.
Each message icon represents a message passed between two objects, and indicates the
direction of message is going. A message icon in a collaboration diagram can represent
multiple messages. A message icon in a sequence diagram represents exactly one
message.
37
Message to Self: A Message to Self is a tool that sends a message from one object back to the
same object. It does not involve other objects because the message returns to the same object.
The sender of a message is the same as the receiver.
Note: A note captures the assumptions and decisions applied during analysis and design.
Notes may contain any information, including plain text, fragments of code, or references
to other documents. Notes are also used as a means of linking diagrams. A note holds an
unlimited amount of text and can be sized accordingly.
Notes behave like labels. They are available on all diagram toolboxes, but they are not
considered part of the model. Notes may be deleted like any other item on a diagram.
Note Anchor: A note anchor connects a note to the element that it affects. To draw a note
anchor, place a note on the diagram and connect the note to an element with the note
anchor icon.
38
DIAGRAM:
REQUIREMENTS:
39
Invalid Passport Pin :
40
NEW REGISTRATION:
CHECK STATUS:
41
ADMIN PANEL:
42
V) COLLABORATION DIAGRAM
Collaboration diagrams show objects, their links, and their messages. They can also
contain simple class instances and class utility instances. Each collaboration diagram
provides a view of interactions or structural relationships that occur between objects and
object-like entities in the current model.
Collaboration diagrams contain icons representing objects. You can create one or more
collaboration diagrams to depict interactions for each logical package in your model. Such
collaboration diagrams are themselves contained by the logical package enclosing the
objects they depict.
An Object Specification enables you to display and modify the properties and
relationships of an object. The information in a specification is presented textually. Some
of this information can also be displayed inside the icons representing objects in
collaboration diagrams.
During: Analysis
Use Collaboration Diagrams: To Indicate the semantics of the primary and secondary
interactions.
43
Design Show the semantics of mechanisms in the logical design of the system
Use collaboration diagrams as the primary vehicle to describe interactions that express
your decisions about the behavior of the system.
Object:
An object has state, behavior, and identity. The structure and behavior of similar objects are
defined in their common class. Each object in a diagram indicates some instance of a class. An
object that is not named is referred to as a class instance.
If you use the same name for several object icons appearing in the same collaboration or
activity diagram, they are assumed to represent the same object; otherwise, each object
icon represents a distinct object. Object icons appearing in different diagrams denote
different objects, even if their names are identical. Objects can be named three different
ways: object name, object name and class, or just by the class name itself.
If you specify the name of the object's class in the Object Specification, the name must
identify a class defined in the model.
Graphical Depiction
The object icon is similar to a class icon except that the name is underlined:
If you have multiple objects that are instances of the same class, you can modify the
object icon by clicking Multiple Instances in the Object Specification. When you select
this field, the icon is changed from one object to three staggered objects:
Concurrency
You can display concurrency by clicking Show Concurrency from the object's shortcut
menu. The adornment is displayed at the bottom of the object icon.
44
Persistence
You can explicitly set the persistence of an object in the Object Specification. You can
display this value as an adornment by clicking Persistence from the shortcut menu. If you
display both concurrency and persistence, the object's persistence is listed second:
Link:
Objects interact through their links to other objects. A link is an instance of an association
,analogous to an object being an instance of a class. A link should exist between two
objects, including class utilities, only if there is a relationship between their
corresponding classes. The existence of an relationship between two classes symbolizes
a path of communication between instances of the classes: one object may send messages
to another.
Links can support multiple messages in either direction. If a message is deleted, the link
remains intact Graphical Depiction
The link is depicted as a straight line between objects or objects and class
instances in a collaboration diagram. If an object links to itself, use the loop
version of the icon.
Adornments
You can document how objects see one another by specifying a visibility type on the
General tab of the Link Specification or by selecting an item from the shortcut menu. You
can select global, parameter, field, or local visibility. You can also specify whether object
visibility is shared.
45
Message/Event:
A message is the communication carried between two objects that trigger an event. A
message carries information from the source focus of control to the destination focus of
control.
· Simple
· Synchronous
· Balking
· Timeout
· Asynchronous
· Procedure Call
· Return
Message Icons:
Overview
A message icon represents the communication between objects indicating that an action
will follow. The message icon is a horizontal, solid arrow connecting two lifelines
together. The following message icons show three different ways a message icon can
appear: message icon only, message icon with sequence number, and message icon with
sequence number and message label.
Each message icon represents a message passed between two objects, and indicates the
direction of message is going. A message icon in a collaboration diagram can represent
46
multiple messages. A message icon in a sequence diagram represents exactly one
message.
You may specify the name of a message through the message specification, or by right-
clicking on the message icon to display the shortcut menu of a message.
You can adjust the position of a message icon by selecting it and dragging it to a new
location. This action moves the icon, the names of any operations, and the sequence
numbers to the new location.
You can reposition the message labels by selecting one and dragging to a new location. This
action moves the message labels only; the message icon is not moved.
You can enhance a message by attaching a script to the message. The script will remain
aligned with the message regardless of any changes in the position of the message. Scripts
are attached to a message by clicking Edit > Attach Script.
47
DIAGRAM:
REQUIREMENTS:
Diagram tools
login
applicant
2: verify
adminstrator
database
3: authenticate
48
INVALID PASSPORT PIN:
login
applicant
2: verify
1: fill the application form
adminstration database
3: invalid
NEW REGISTRATION:
49
CHECK STATUS:
ADMIN PANEL:
50
VI) ACTIVITY DIAGRAM
DEFINITION:
Activity diagrams provide a way to model the workflow of a business process. You can
also use activity diagrams to model code-specific information such as a class operation.
Activity diagrams are very similar to a flowchart because you can model a workflow from
activity to activity.
An activity diagram is basically a special case of a state machine in which most of the
states are activities and most of the transitions are implicitly triggered by completion of
the actions in the source activities.
The main difference between activity diagrams and state charts is activity diagrams are
activity centric, while state charts are state centric.
An activity diagram is typically used for modeling the sequence of activities in a process,
whereas a state chart is better suited to model the discrete stages of an object’s lifetime.
CONTENTS:
You can use the following tools on the activity diagram toolbox to model activity
diagrams:
51
End State: An end state represents a final or terminal state on an activity diagram or
state chart diagram. Place an end state when you want to explicitly show the end of a
workflow on an activity diagram or the end of a state chart diagram. Transitions can
only occur into an end state; however, there can be any
number of end states per context.
Object: Rational Rose allows objects on activity, collaboration, and sequence diagrams.
Specific to activity diagrams, objects are model elements that represent something you
can feel and touch. It might be helpful to think of objects as the nouns of the activity
diagram and activities as the verbs of the activity diagram. Further, objects on activity
diagrams allow you to diagram the input and output relationships between activities. In
the following diagram, the Submit Defect and Fix Defects can be thought of as the verbs
and the defect objects as the nouns in the activity diagram vocabulary. Objects are
connected to activities through object flows.
Object Flow: An object flow on an activity diagram represents the relationship between
an activity and the object that creates it (as an output) or uses it (as an input).
Rational Rose draws object flows as dashed arrows rather than solid arrows to
distinguish them from ordinary transitions. Object flows look identical to dependencies
that appear on other diagram types.
Start State: A start state (also called an "initial state") explicitly shows the beginning of
a workflow on an activity diagram or the beginning of the execution of a state machine
on a state chart diagram. You can have only one start state for each state machine because
each workflow/execution of a state machine begins in the same place.
52
Normally, only one outgoing transition can be placed from the start state. However,
multiple transitions may be placed on a start state if at least one of them is labeled with a
condition. No incoming transitions are allowed.
States: A state represents a condition or situation during the life of an object during
which it satisfies some condition or waits for some event. Each state represents the
cumulative history of its behavior.
Swim lanes: Swim lanes are helpful when modeling a business workflow because they
can represent organizational units or roles within a business model. Swim lanes are very
similar to an object because they provide a way to tell who is performing a certain role.
Swim lanes only appear on activity diagrams. You should place activities within swim
lanes to determine which unit is responsible for carrying out the specific activity. For
more information on swim lanes, look at the swim lane sample.
When a swim lane is dragged onto an activity diagram, it becomes a swim lane view. Swim
lanes appear as small icons in the browser while a swim lane views appear between the
thin, vertical lines with a header that can be renamed and relocated.
Transitions: A state transition indicates that an object in the source state will perform
certain specified actions and enter the destination state when a specified event occurs or
when certain conditions are satisfied. A state transition is a relationship between two states,
two activities, or between an activity and a state.
You can show one or more state transitions from a state as long as each transition
is unique. Transitions originating from a state cannot have the same event, unless there
are conditions on the event.
53
DIAGRAM:
REQUIREMENTS:
NEW REGISTRATION:
54
CHECK STATUS:
ADMIN PANEL:
Reading form
valid form
Reenter the
Enter username invalid password
and password
valid
valid
GET
APPOINTMENT
proceesing detail
Verification
details
invalid
valid for enquiry
Police
enquiry
valid report
Issue passport
Passport
delivery
delivery
A class diagram shows the existence of classes and their relationships in the
logical design of a system.
A class diagram may represent all or part of the class structure of a system.
CONTENTS:
1. Classes
2. Relationships
3.Interfaces
1) Classes:
class
2) Relationships:
Aggregate Relationship
57
suplier
suplier A client B
Association Relationship
association
class1 classs2
Dependency Relationship
58
Generalize Relationship
A generalize relationship between classes shows that the subclass shares the structure
or behavior defined in one or more super classes. Use a generalize relationship to show a
"is-a" relationship between classes.
super class
subclass1 subclass2
Realize Relationship
59
3) Interfaces
Interfaces belong to the logical view but can occur in class, use case and component
diagrams.
interface
Adornments
You can further define an interface using the Class Specification. Some class
specification fields correspond to adornment and compartment information that you
can display in the class diagram.
60
DIAGRAM:
REQUIREMENTS:
61
VII) COMPONENT DIAGRAM
A system may be composed of several software modules of different kinds. Each software
module is represented by a component in the model. To distinguish different kinds of
components from each other, stereotypes are used.
62
Interfaces: An interface specifies the externally-visible operations of a class and/or
component, and has no implementation of its own. An interface typically specifies only a
limited part of the behavior of a class or component.
You can create one or more component diagrams to depict the component packages and
components at the top level of the component view, or to depict the contents of each
component package. Such component diagrams belong to the component package that
they depict.
A Component Package Specification enables you to display and modify the properties of
a component package. Similarly, a Component Specification and a Class Specification
enables you to display and modify the properties of a component and an interface,
respectively. The information in these specifications is presented textually. Some of this
information can also be displayed inside the icons representing component packages and
components in component diagrams, and interfaces in class diagrams.
You can change properties of, or relationships among, component packages, components,
and interfaces by editing the specification or modifying the icon on the diagram. The
affected diagrams or specifications are automatically updated.
63
DIAGRAM:
REQUIREMENTS:
tools.
64
IX) DEPLOYMENT DIAGRAM
CONTENTS:
Devices:
A device is a hardware component with no computing power. Each device must have
a name. Device names can be generic, such as "modem" or "terminal."
Connections:
A connection represents some type of hardware coupling between two entities. An
entity is either a processor or a device. The hardware coupling can be direct, such as
an RS232 cable, or indirect, such as satellite-to-ground communication. Connections
are usually bi-
directional.
65
DIAGRAM:
REQUIREMENTS:
66
6. Forward and Reverse Engineering
REQUIREMENTS:
THEORY:
67
Performance of Reverse engineering using Rational rose tool.
Forward Engineering:
Generated code:
The code generated by performing forward engineering to the following class diagram
is:
Applicant .class
68
private String Name;
/**
@roseuid 5CB2A67D02C6
*/
public Admin()
/**
@return java.lang.Boolean
@roseuid 5CB29E970040
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB29EA0035F
*/
69
public Boolean provideUserId()
return null;
/**
@return java.lang.Boolean
@roseuid 5CB29EAB002A
*/
return null;
Police class
70
/**
@roseuid 5CB2A67D024C
*/
public Police()
/**
@return java.lang.Boolean
@roseuid 5CB29E2A03A8
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB29E3603CC
*/
return null;
71
}
/**
@return java.lang.Boolean
@roseuid 5CB29E45004A
*/
return null;
/**
@return java.lang.String
@roseuid 5CB29E4F024B
*/
return null;
Student.class
72
{
/**
@roseuid 5CB2A67D0339
*/
public Student()
/**
@return java.lang.Boolean
@roseuid 5CB2A0B7038C
*/
return null;
73
/**
@return java.lang.Boolean
@roseuid 5CB2A0C500A5
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A0CD0057
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A0D90086
*/
74
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A0E60198
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A0F003AC
*/
return null;
Course.class
75
public class Course
/**
@roseuid 5CB2A67E004A
*/
public Course()
/**
@return java.lang.Boolean
@roseuid 5CB2A30C0135
*/
76
return null;
Quiz.class
/**
@roseuid 5CB2A67D0389
*/
public Quiz()
/**
77
@return java.lang.Boolean
@roseuid 5CB2A206033C
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A21001F9
*/
return null;
Assignment.class
78
private String f_id;
/**
@roseuid 5CB2A67D02FD
*/
public Assignment()
/**
@return java.lang.Boolean
@roseuid 5CB2A25F02B5
*/
return null;
/**
@return java.lang.Boolean
@roseuid 5CB2A26F023E
*/
79
{
return null;
Reverse Engineering:
80
81
7. TEST CASES
Test case doc
A good Test Case template maintains test artifact consistency for the test team and makes it easy for all stakeholders to understand the test
cases. Writing test case in a standard format lessen the test effort and the error rate. Test cases format are more desirable in case if you are
reviewing test case from experts.
Test case ID: Each test case should be represented by a unique ID. To indicate test types follow some convention like "TC_UI_1"
indicating "User Interface Test Case#1."
Name of the Module: Determine the name of the main module or sub-module being tested
Pre-condition: Any requirement that needs to be done before execution of this test case. To execute this test case list all pre-conditio
82
Test Steps: Mention all the test steps in detail and write in the order in which it requires to be executed. While writing test steps e
that you provide as much detail as you can
Test Data: Use of test data as an input for the test case. Deliver different data sets with precise values to be used as an input
Expected Results: Mention the expected result including error or message that should appear on screen
Post-Condition: What would be the state of the system after running the test case?
Actual Result: After test execution, actual test result should be filled
Status (Fail/Pass): Mark this field as failed, if actual result is not as per the estimated result
Notes: If there are some special condition which is left in above field
LOGIN
83
Issue passport
84
8.COST AND RESOURCE ESTIMATES
AIM: To estimate cost and resource for passport automation system.
TOTAL COST:
ACTIVTY REPORT:
85
ARCHIVE REPORT:
EFFOT:
86
SIZE:
87
SCALE DRIVERS:
88
9. RATIONAL FUNCTIONAL TESTER
Rational Functional Tester is a tool for automated testing of software applications from
the Rational Software division of IBM. It allows users to create tests that mimic the actions
and assessments of a human tester. It is primarily used by Software Quality Assurance teams
to perform automated regression testing.
Rational Functional Tester is a software test automation tool used by quality assurance teams
to perform automated regression testing. Testers create scripts by using a test recorder which
captures a user's actions against their application under test. The recording mechanism creates
a test script from the actions. Testers can edit the script using standard commands and syntax
of these languages, or by acting against the screen shots in the storyboard.. Test scripts can
then be executed by Rational Functional Tester to validate application functionality.
Typically, test scripts are run in a batch mode where several scripts are grouped together and
run unattended.
Storyboard Testing
This technology enables testers to edit test scripts by acting against screen shots of the
application.
Object
89
The Rational Functional Tester Object Map is the underlying technology used by Rational
Functional Tester to find and act against the objects within an application. The Object Map is
automatically created by the test recorder when tests are created and contains a list of
properties used to identify objects during playback.
ScriptAssure
During playback, Rational Functional Tester uses the Object Map to find and act against the
application interface. However, during development it is often the case that objects change
between the time the script was recorded and when a script was executed. ScriptAssure
technology enables Rational Functional Tester to ignore discrepancies between object
definitions captured during recording and playback to ensure that test script execution runs
uninterrupted. ScriptAssure sensitivity, which determines how big an object map discrepancy
is acceptable, is set by the user.
Data Driven Testing
It is common for a single functional regression test to be executed multiple times with
different data. To facilitate this, the test recorder can automatically parameterize data entry
values, and store the data in a spreadsheet like data pool. This enables tester to add additional
test data cases to the test data pool without having to modify any test code. This strategy
increases test coverage and the value of a given functional test.
START RECORDING:
90
APPLICANT DETAILS:
91
FILL THE DETAILS:
92
93
94
RESULT:
95
96
:
97