You are on page 1of 75

Functional Test Cases

Application: Risk Management v 1.1

Created the initial functional test case


Synopsis
document for Risk Management

Author(s) Jitendra
Current Version V1.1
Date 11-Mar-14
Reference SRS_Risk_Management_v1.1

OMS Proprietary & Confidential Assets


Project Name

Created By: Reviewd By:


Date: Review Date:

Version: 1.1

Test Case ID Test Case Summary

Reference - Use Case 1 : Login / forgot Password – Super Admin / Admin/ Staff

TC_Risk_Management_1 Entering in to the website.

Verify that the registered user is able to login to the website


TC_Risk_Management_2 (user can be super admin , admin or staff)
Verify that the user's password is getting retrieved in case if he
TC_Risk_Management_3 has forgotten his password.
ame

Pre - Conditions Test Case Steps

Admin / Admin/ Staff

Any particular browser is kept


opened on the user's system and 1)Type the website's address in the address bar.
the internet connection in on 2)Click on the "Go" button or press the Enter button of the keyboard.
and working.

User is on the website's home


page and is registered to the Click on the provided "Login" link on the website.
website.

1)Leave the Username(Email address) field blank.


2)Leave the Password field blank.
3)Click on the "Login" button.

1)Leave the Username(Email address) field blank.


2)Enter valid password in the Password field.
3)Click on the "Login" button.

1)Enter the valid username (email address) in the field provided.


2)Leave the password field blank.
3)Click on the Login button.

1)Enter invalid username (email address) in the field provided.(Invalid


email address can be categorized in to two types, first is the email
address which is not in correct format and the other one is that which
is in correct format but does not exist in the application's data base).

2)Enter valid password in the field provided.

3)Click on the Login button.


1)Enter valid username (email address) in the field provided.
2)Enter invalid password in the field provided.
3)Click on the provided Login button.
1)Enter invalid username and password in the fields provided.
2)Click on the Login button.
1)Enter username(Valid/Invalid) in the field provided
2)Enter the password(Valid/Invalid) in the field provided
3)Click on the Cancel button.

1)Enter valid username (email address) in the field provided.


2)Enter valid password in the field provided.
3)Click on the Login button.

1)Enter valid username (email address) in the field provided.


2)Enter valid password in the field provided.
3)Select the "Remember me" check box.
3)Click on the Login button.

Registered user is on the login


page having the link of "Forgot Click on the provided "Forgot password" link.
Password" and has forgotten
his/her password.

1)Enter invalid email address in the field provided(Invalid email


address can be categorized in to two type, first is the email address
which is not in correct format and the other one is that which is in
correct format but does not exist in the application's data base)

2)Click on the "Submit" button.

1)Enter valid email address in the field provided.


2)Click on the "Submit" button.
Step no. Expected Result

The website / application should get opened having the option


1 to login in to the application /website.

The login form should get opened having the following fields
and buttons displayed -

1)User name(Field)
2 2)Password(Field)
3)Login (Button)
4)Cancel(Button)
5)Remember me(Check Box)
6)Forgot Password(Link/option)
Specific & proper Validation messages related to both the blank
2.1 fields should get displayed.

Specific & proper Validation message related to the blank field


2.2 i.e. the username (email address) field should get displayed.

Specific & proper Validation message related to the blank field


2.3 i.e. password field should get displayed.

Specific & proper Validation message related to the username


2.4 field should get displayed.
Specific & proper Validation message related to the password
2.5 field should get displayed.

Specific & proper Validation messages related to both the fields


should get displayed.

The details entered in both the fields should get removed or


2.6 reset.

User (Super admin , admin or staff member) should get logged


2.7 in to his/her account

User (Super admin , admin or staff member) should get logged


in to his/her account.

2.8 Also , the next time when the same user tries to log in and
enters his user name(email address) then automatically the
password field should get filled the correct password of his as
he checked the Remember me check box when he logged for
the first time.

User should get navigated to the forgot password screen having


the following options -
3
1)Email address (Field)
2)Submit(Button)

Specific & proper validation message should get displayed


3.1 related to the email address field.

System should reset the password and a mail should get sent to
3.2 the user's email address having the password along with the
Log in Link.

As Soon as the user enter the correct user name and Password
then he should get navigated to the "Change Password" screen
under "My Account" section of the website.
Actual Result

NA

NA

NA

NA

NA

NA
NA

NA

NA

NA

NA

NA

NA

NA
Test Case ID Test Case Summary

Reference - Use Case 2 : CRUD Staff / Sub Admin and Manage Access

TC_Risk_Management_1 Verify that the super admin is able to create a new sub
admin/staff member.
Verify that the super admin is able to give the access of
TC_Risk_Management_2 various pages of the website to the sub admin /staff
member.

Verify that the super admin is able to update the details of


TC_Risk_Management_3 the sub admin/staff member.
Pre - Conditions

d Manage Access

Super admin has logged in to the application.


Super admin has created a sub admin/staff member and has
been navigated to the screen where he will be giving the
access of the pages to the sub admin.

Also , the list of the pages along with the check boxes are
getting displayed at the screen. By default the check box "No
Access" is selected.

Super admin is on the screen where all the sub admins are
getting listed.
Test Case Steps Step no.

Click on the link/button that leads you to the Add Sub 1


Admin screen.

1)Leave all the mandatory fields blank. 1.1


2)Click on the "Submit" button.

1)Leave the "First Name" field blank.


2)Enter valid details in all the other fields. 1.2
3)Click on the "Submit" button.

1)Leave the "Last Name" field blank.


2)Enter valid details in all the other fields. 1.3
3)Click on the "Submit" button.

1)Leave the "Email Address" field blank.


2)Enter valid details in all the other fields. 1.4
3)Click on the "Submit" button.

1)Enter valid data in the "First Name" field.


2)Enter valid data in the "Last Name" field.
3)Enter invalid data in the "Email address" field.(invalid 1.5
email address can be any email address which is not in
the proper standard format of an ideal email address)
4)Click on the "Submit" button.

1)Enter valid data in the "First Name" field.


2)Enter valid data in the "Last Name" field.
3)Enter an email address in the "Email address" field 1.6
which already exists in the application's data base.
4)Click on the "Submit" button.
1)Enter valid data in the "First Name" field.
2)Enter valid data in the "Last Name" field. 1.7
3)Enter valid data in the "Email address" field.
4)Click on the "Submit" button.

1)Select the check box of the page for which the access
is to be given to the sub admin. 2
2)Click on the submit button.

Select any particular sub admin from the list and click on 3
the given "Edit" option for that sub admin.

1)Make all the mandatory fields blank by removing the


details of all the fields which were pre filled. 3.1
2)Click on the "Submit" button.

1)Make the "First Name" field blank.


2)Enter valid details in all the other fields. 3.2
3)Click on the "Submit" button.

1)Make the "Last Name" field blank.


2)Enter valid details in all the other fields. 3.3
3)Click on the "Submit" button.

1)Make the "Email Address" field blank.


2)Enter valid details in all the other fields. 3.4
3)Click on the "Submit" button.
1)Update the "First Name" field with valid data.
2)Update the "Last Name" field with valid data.
3)Enter invalid data in the "Email address" field.(invalid 1.5
email address can be any email address which is not in
the proper standard format of an ideal email address)
4)Click on the "Submit" button.

1)Update the "First Name" field with valid data.


2)Update the "Last Name" field with valid data.
3)Enter an email address in the "Email address" field 1.6
which already exists in the application's data base.
4)Click on the "Submit" button.

1)Update the "First Name" field with valid data.


2)Update the "Last Name" field with valid data. 1.7
3)Update the "Email address" field valid data.
4)Click on the "Submit" button.
Expected Result Actual Result

Super admin should get navigated to the create


sub admin screen having the following items :

1)First Name (Field) NA


2)Last Name (Field)
3)Email Address (Field)
4)Submit (Button)

Specific & proper validation messages should get


displayed for all the mandatory fields which were NA
left blank.

Validation message for the first name field as


"Please enter the first name" should get displayed. NA

Validation message for the last name field as


"Please enter the last name" should get displayed. NA

Validation message for the email address field as


"Please enter the email address" should get NA
displayed.

Validation message for the email address field as


"Please enter a valid email address" should get NA
displayed.

Validation message for the email address field as


"This email address already exists" should get NA
displayed.
The super admin should get navigated to the next
screen where he will be giving the access to the
sub admin .

Also ,

The sub admin should get created successfully and NA


an email should get sent to the email address of
the newly created sub admin having the account
details.

The content of the email address should be in a


proper format.

The detail should get saved successfully and the


sub admin should be able to access the page(s) for NA
which he has been given the access/permission.

The super admin should get navigated to the


screen where all the fields are pre filled with the NA
details related to that super admin.

Specific & proper validation messages should get


displayed for all the mandatory fields which were NA
left blank.

Validation message for the first name field as


"Please enter the first name" should get displayed. NA

Validation message for the last name field as


"Please enter the last name" should get displayed. NA

Validation message for the email address field as


"Please enter the email address" should get NA
displayed.
Validation message for the email address field as
"Please enter a valid email address" should get NA
displayed.

Validation message for the email address field as


"This email address already exists" should get NA
displayed.

The super admin should get navigated to the next


screen where he will be updating/changing the
access which were given during the creation of this
sub admin
NA
Also ,

The details of the sub admin should get updated


successfully.
Test Case ID Test Case Summary

Reference - Use Case 3 : CRUD Master Entries

Verify that the user(Super Admin , Admin or Staff) is able


TC_Risk_Management_1 to add the attributes under the already present master
entries in the website.

Verify that the user(Super Admin , Admin or Staff) is able


TC_Risk_Management_2 to update the attribute of a particular master entry.
Verify that the user is able to add a new row for an
TC_Risk_Management_3 attribute to be added under the master entry

Verify that the user is able to delete an attribute of a


TC_Risk_Management_4 master entry.
Pre - Conditions Test Case Steps Step no.

Click on the provided


User has logged in to the application. "Manage Master Entry" 1
option.

Click on any particular 1.1


master entry

1)Leave the Attribute


Name field blank.
2)Click on the "Save" 1.2
button.

1)Enter the attribute


name that already exists
under that same master
entry 1.3

2)Click on the "Save"


button.

1)Enter the attribute


name in the "Attribute
Name" field.

2)Click on the "Save" 1.4


button.

Note: By default the status


of the added attribute will
be as Active.

Click on the provided


User has logged in to the application. "Manage Master Entry" 2
option.
Click on any particular 2.1
master entry

1)Make the "Attribute


Name" field blank. 2.2
2)Click on the "Save"
button.

1)Update the attribute


name that already exists
under that same master
entry 2.3

2)Click on the "Save"


button.

1)Update the attribute


name in the field 2.4
provided.
2)Click on the Save button.

1)Change the status of the


attribute from "Active" to
"Inactive". 2.5
2)Click on the "Save"
button.

User has clicked on a particular master entry Click on the "Add Row" 3
under the "Manage master entry" section. button provided.

Click on the provided


User has clicked on a particular master entry "Delete" button in front of 4
under the "Manage master entry" section. the attribute row.
Expected Result Actual Result

The user should get navigated to the Manage master entry screen where all
the predefined master entries should get displayed.
NA
All the master entries should be clickable so that the user can add the
attributes under them.

Following options should get opened : -

1)Attribute Name(Field) NA
2)Status.(Combo box)
3)Add Row(Button)
4)Save(Button)
5)Delete(Button)

A validation message should get displayed as "Please enter the attribute NA


name"

A validation message should get displayed as "This attribute already exists" NA

Attribute should get added in that particular master entry and it should get NA
displayed on the website as it's status is Active.

The user should get navigated to the Manage master entry screen where all
the predefined master entries should get displayed. NA
The attribute(s) added under that master entry should get displayed along NA
with the options of updating and deleting.

A validation message should get displayed as "Please enter the attribute NA


name"

A validation message should get displayed as "This attribute already exists" NA

The attribute name should get updated successfully. NA

The attribute should get inactive from the website. NA

A new row should get added having the same fields and buttons which are :
1)Attribute name(Field) NA
2)Status(Combo box)
3)Save(Button)
4)Delete(Button)

That particular attribute should get deleted successfully and should no more NA
be displayed under that attribute.
CRUD Tank Type
CRUD Select TANK MANUFACTURER
CRUD CP MAINTENANCE TYPE Select
CRUD UPSS STATUS
CRUD Fuel system

Piping Master entry -

CRUD Piping
CRUD Type
CRUD size NA
CRUD Material
CRUD Manufacturer
CRUD Fuel system

OTHER EQUIPMENT/ITEMS INSTALLED IN UPSS -

CRUD Equipment / Items


CRUD type
CRUD Manufacturer
CRUD Method or Earthling
CRUD records and Certificate Needed
CRUD Tank Split Option
CRUD Tank Type [Pressure / suction]
CRUD Tank CP options
CRUD Tank Lines options
Test Case ID Test Case Summary

Reference - Use Case 4 : CRUD Sites

Verify that the user (Super admin , admin or staff) is able to


TC_Risk_Management_1 add a new site to the website.
Verify that the user (Super admin , admin or staff) is able to
TC_Risk_Management_2 update the details of an already added site.
Verify that the user (Super admin , admin or staff) is able to
TC_Risk_Management_3 change the status of a particular site.

Verify that the user (Super admin , admin or staff) is able to


TC_Risk_Management_4 delete any particular site.

Verify that the user (Super admin , admin or staff) is able to


TC_Risk_Management_5 view the details of an already added site.
Pre - Conditions Test Case Steps

User has logged in to the application and is on Click on the provided "Manage sites" option.
the Dashboard.

Click on the provided "Add Site" button

1)Leave all the fields blank / un selected.


2)Click on the "Save" button.

Select the state from the provided drop down list of


the combo box.

Select any city from the provided drop down list of


the "City" combo box.

Select any suburb from the provided drop down list


of the "Suburb" combo box.

Select the zipcode from the drop down list of the


Zipcode combo box

1)Enter the name of the site in the "Name" field that


already exists in the website's data base
2)Enter the address of the site to be added in the
"Address" field provided.
3)Select the status of the site i.e Active or Inactive
from the combo box provided.
4)Click on the "Save" button.
1)Enter the name of the site to be added in the
"Name" field provided.
2)Enter the address of the site to be added in the
"Address" field provided.
3)Select the status of the site i.e Active or Inactive
from the combo box provided.
4)Click on the "Cancel" button.

1)Enter the name of the site to be added in the


"Name" field provided.
2)Enter the address of the site to be added in the
"Address" field provided.
3)Select the status of the site i.e Active or Inactive
from the combo box provided.
4)Click on the "Save" button.

User has logged in to the application and is on


the "Manage Sites" screen having all the
previously added sited listed. For any of the listed sites click on the provided "Edit"
option.
All the sites are having the options of "Viewing" ,
"Editing" and "Deleting" respectively.

1)Make all the fields blank and de select all the


combo boxes.
2)Click on the "Save" button.

1)Update the "Name" field with the site's name that


already exists in the website's data base.
2)Enter the valid address in the field provided.
3)Select all the combo boxes by choosing the
corresponding details from the drop down.
4)Click on the "Save" button.

1)Update all the fields with valid data.


2)Select all the combo boxes by choosing the
corresponding details from the drop down.
3)Click on the "Save" button.
User has logged in to the application and is on
the "Manage Sites" screen having all the
previously added sited listed. For any of the listed sites click on the provided "Edit"
option.
All the sites are having the options of "Viewing" ,
"Editing" and "Deleting" respectively.

1)Go to the "Status" combo box nad the select the


option "Inactive" from the drop down.
2)Click on the "Save" button.

User has logged in to the application and is on


the "Manage Sites" screen having all the
previously added sites listed. Choose any of the listed site and click on the "Delete"
option in front of it.
All the sites are having the options of "Viewing" ,
"Editing" and "Deleting" respectively.

Note : The user can also add a sites via Escel sheet
upload function.

User has logged in to the application and is on


the "Manage Sites" screen having all the
previously added sites listed. For any of the listed sites click on the provided
"View" option in front of it.
All the sites are having the options of "Viewing" ,
"Editing" and "Deleting" respectively.
Step no. Expected Result Actual Result

The user should get navigated to the manage site screen


1 having all the already added sites listed along with the NA
option of adding a new site.

The user should get navigated to the "Add Site" screen


where the following options should get displayed :

1)State(Drop Down)
2)City(Drop down)
3)Suburb(Drop down)
1.1 4)Zip code(Field) NA
5)Name(Field)
6)Address(Field)
7)Status(Drop Down)
8)Save(Button)
9)Cancel(Button)

Specific & proper validation messages should get


1.2 displayed related to all the mandatory fields which were NA
left blank.

The cities which belongs to that selected state should get


1.3 displayed under the "City" combo box and it's drop NA
down.

The suburbs which belongs to the selected city should


1.4 get displayed under the "Suburb" combo box and it's NA
drop down.

The zipcode which belongs to the selected suburb


1.5 should get displayed under the "Zipcode" combo box NA
and it's drop down.

1.6 The zip code should get selected in the combo box. NA

A validation message should get displayed as "This site


1.7 NA
name already exists"
All the entered details and selected options should get re NA
1.8 set as the user has clicked on the "Cancel" button.

The site should get added successfully in the website as


1.9 well on the list of the sites at the screen "Manage Sites" NA
at the top.
The user should get navigated to the "Update Site"
screen where the following options should get
displayed :

1)State(Drop Down)
2)City(Drop down)
3)Suburb(Drop down)
4)Zip code(Field)
2 NA
5)Name(Field)
6)Address(Field)
7)Status(Drop Down)
8)Save(Button)
9)Cancel(Button)
All , the fields and combo boxes should be pre filled and
pre selected as this is the "Update Site" screen.
Specific & proper validation messages should get
displayed related to all the mandatory fields which were
left blank.
2.1 NA
Also , when the user de selects the primary combo
box(the combo box on which the other combo box is
dependent) , the combo boxes which are dependent on
it should also get de selected automatically.

A validation message should get displayed as "This site


2.2 NA
name already exists"

The details of the site should get updated successfully


2.3 and the user shuold get again navigated back to the NA
"Manage Sites" screen.
The user should get navigated to the "Update Site"
screen where the following options should get
displayed :

1)State(Drop Down)
2)City(Drop down)
3)Suburb(Drop down)
4)Zip code(Field)
3 NA
5)Name(Field)
6)Address(Field)
7)Status(Drop Down)
8)Save(Button)
9)Cancel(Button)

All , the fields and combo boxes should be pre filled and
pre selected as this is the "Update Site" screen.

The status of the site should get changed no "Inactive"


3.1 successfully and it should get inactivated from all over NA
the website.

That particular site should get removed successfully both


4 from the site list on Manage sites screen as well as from NA
the entire website.

The user should get navigated to the "View site" screen


having all the details of that site getting displayed in read
only mode.
5 NA
Along with this a "Back" button should also be given on
clicking on which the user should return back to the
"Manage Site" screen.
Test Case ID

Reference -

TC_Risk_Management_1

TC_Risk_Management_2
Test Case Summary

Use Case 5 : CRUD sites Evaluation / survey already Filled by Staff member

Verify that the user can search and view the survey / evaluation which is already been
added or filled by the staff/user

Verify that the user(Super Admin , Admin or staff) can search and edit the survey /
evaluation which is already been added or filled by the staff/user
Pre - Conditions

ember

User has logged in to the application and is on the Dashboard.

User is on the website's Dashboard.


Test Case Steps Step no.

Click on the provided "CRUD Survey and History" 1


option.

1)Leave all the fields blank / un selected. 1.1


2)Click on the "Save" button.

In order to search the survey of a particular site , select 1.2


the state under which the site belongs.

Select any city from the provided drop down list of the 1.3
"City" combo box.

Select any suburb from the provided drop down list of 1.4
the "Suburb" combo box.

Select the zip code from the drop down list of the Zip 1.5
code combo box

1)Enter the site name in the field provided


2)Select invalid date(i.e. future date) from the provided 1.6
calendar.
3)Click on the provided "Search" button.

1)Enter the site name in the field provided


2)Select valid date for which you need to view the 1.7
survey / evaluation done on this site.
3)Click on the provided "Search" button.

Click on the provided "CRUD Survey and History" 2


option.

1)Leave all the fields blank / un selected. 2.1


2)Click on the "Save" button.

In order to search the survey of a particular site , select 2.2


the state under which the site belongs.

Select any city from the provided drop down list of the 2.3
"City" combo box.
Select any suburb from the provided drop down list of 2.4
the "Suburb" combo box.

Select the zip code from the drop down list of the Zip 2.5
code combo box

1)Enter the site name in the field provided


2)Select valid date for which you need to view the 2.6
survey / evaluation done on this site.
3)Click on the provided "Search" button.

1)Change /update the details of the survey / evaluation


done by the staff member. 2.7
2)Click on the provided "Cancel" button.

1)Change /update the details of the survey / evaluation


done by the staff member. 2.8
2)Click on the provided "Save" button.
Expected Result Actual Result

The user should get navigated to the screen having


the option to search the already added surveys on NA
sites on the basis of date.

Specific & proper validation messages should get


displayed related to all the mandatory fields which NA
were left blank.

The cities which belongs to that selected state should


get displayed under the "City" combo box and it's NA
drop down.

The suburbs which belongs to the selected city


should get displayed under the "Suburb" combo box NA
and it's drop down.

The zip code which belongs to the selected suburb


should get displayed under the "Zip code" combo box NA
and it's drop down.

The zip code should get selected in the combo box. NA

A validation message should get displayed as "Please


select a valid date".
NA
An alternative way should be that only the previous
and current date should be enabled on the calendar

The survey should get displayed successfully having NA


all the details filled during the survey by the staff.

NA
The user should get navigated to the screen having
the option to search the already added surveys on NA
sites on the basis of date.

Specific & proper validation messages should get


displayed related to all the mandatory fields which NA
were left blank.

The cities which belongs to that selected state should


get displayed under the "City" combo box and it's NA
drop down.

The suburbs which belongs to the selected city


should get displayed under the "Suburb" combo box NA
and it's drop down.
The zip code which belongs to the selected suburb
should get displayed under the "Zip code" combo box NA
and it's drop down.

The zip code should get selected in the combo box. NA

The survey should get displayed successfully having


all the details filled during the survey by the staff NA
along with the "Save" and "Cancel" button at the
bottom of the screen.

The changes or updates done by the user should get NA


reset or cancelled.

The details or fields changed /updated by the user


should be visible to admin and the change/update
done by the user to the survey should go for the
admin's approval. NA
Only if the admin approves the changes /updates
done by the user then those change/updates should
take place and will be then visible to other users.
Test Case ID Test Case Summary

Use Case 6 : View / Print Reports

Verify that the user(Super Admin , Admin or Staff) is able to


TC_Risk_Management_1 view the reports and data of the site.
Verify that the user(Super Admin , Admin or Staff) is able to
TC_Risk_Management_2 print the reports and data of the site.
Verify that the user(Super Admin , Admin or Staff) is able to
TC_Risk_Management_3 export the reports and data of the site.
Pre - Conditions Test Case Steps

User has logged in to his account and is on the


"View & Print Report" section where all the
sites are getting listed having the following
options : Without selecting any check boxes click on the provided
"View" button.
1)Select All (Check Box)
2)Check Box in front of every single listed site.
3)View(Button)

1)Select the provided "Check Box" for any single site out of
the several listed sites.

2)Select the Year for which you have to see the report from
the provided option.(By default current year will be
selected )

3)Click on the provided "View report" option.


1)Again go to the "View & Print" report section.

2)Select the provided "Select All" check box in order to


view the report of all the listed sites.

3)Select the Year for which you have to see the report from
the provided option.(By default current year will be
selected )

4)Click on the provided "View report" option.

User has logged in to his account and is on the 1)Select the provided "Check Box" for any single site out of
"View & Print Report" section where all the the several listed sites.
sites are getting listed having the following
options : 2)Select the Year for which you have to see the report from
the provided option.(By default current year will be
1)Select All (Check Box) selected )
2)Check Box in front of every single listed site.
3)View(Button) 3)Click on the provided "View report" option.

Click on the provided "Print" button.

1)Again go to the "View & Print report" section

2)Select the provided "Select All" check box in order to


view the report of all the listed sites.
3)Select the Year for which you have to see the report from
the provided option.(By default current year will be
selected )

4)Click on the provided "View report" option.

Click on the provided "Print" button.


User has logged in to his account and is on the 1)Select the provided "Check Box" for any single site out of
"View & Print Report" section where all the the several listed sites.
sites are getting listed having the following
options : 2)Select the Year for which you have to see the report from
the provided option.(By default current year will be
1)Select All (Check Box) selected )
2)Check Box in front of every single listed site.
3)View(Button) 3)Click on the provided "View report" option.

Click on the provided "Export to excel" button.

1)Again go to the "View & Print report" section

2)Select the provided "Select All" check box in order to


view the report of all the listed sites.

3)Select the Year for which you have to see the report from
the provided option.(By default current year will be
selected )
4)Click on the provided "View report" option.

Click on the provided "Export to excel" button.


Step no. Expected Result Actual Result

A validation message should get displayed as


1 NA
"Please select at least one site"

The report for the selected site should get


displayed successfully along with this, the "Print"
and "Export to excel" options should also get
displayed.

The report generated should be based on the risk


categories which will be pre defined as per the pre
established formulae.
1.1 NA
The report should contain following details :

1)Current year data(Depend upon the selected


year)
2)Past Year Data (Depend upon the selected year)
3)CAT Numbers
4) Risk Status
5)Network Risk Score,
6)UPSS Responsibility
The report for all the sites should get displayed
successfully along with this, the "Print" and "Export
to excel" options should also get displayed.

The report generated should be based on the risk


categories which will be pre defined as per the pre
established formulae.

1.2 The report should contain following details : NA

1)Current year data(Depend upon the selected


year)
2)Past Year Data (Depend upon the selected year)
3)CAT Numbers
4) Risk Status
5)Network Risk Score,
6)UPSS Responsibility

The report for the selected site should get


2 generated successfully along with that "Print" and NA
"Export to excel" options should also get displayed.

The further option for printing the report should


2.1 appear for the user and he should be able to take a NA
print of that report.

The report for all the sites should get generated


2.2 successfully along with that "Print" and "Export to NA
excel" options should also get displayed.

The further option for printing the report should


2.3 appear for the user and he should be able to take a NA
print of that report.
The report for the selected site should get
3 generated successfully along with that "Print" and NA
"Export to excel" options should also get displayed.

The generated report for the selected site should


3.1 NA
get exported to the excel sheet

The report for all the sites should get generated


3.2 successfully along with that "Print" and "Export to NA
excel" options should also get displayed.

3.3 The generated report of all the selected sites NA


should get exported to the excel sheet.
Test Case ID Test Case Summary

Reference - Use Case 7 : Advance Dashboard

Verify that the user is able to view the advance dash


TC_Risk_Management_1 board.
Pre - Conditions Test Case Steps Step no.

User has logged in to the website and is


on the dashboard.
View the advanced dashboard by using the 1
The dashboard is containing the available option.
upcoming events and graphs related to
the risk categories which are predefined.
Expected Result Actual Result

The advanced dashboard should get visible to the user having


the upcoming events and the graphs which will be based on NA
the risk categories.
Test Case ID Test Case Summary Pre - Conditions

Reference - Use Case 8 : Event Module

TC_Risk_Management_ Verify that the user is able to User has logged in to the
1 create a new event. application /website.
TC_Risk_Management_ Verify that the user is able to
view the details of a
2 particular event.
User is on the "Events"
screen.
TC_Risk_Management_ Verify that the user is able to
3 search events on the basis of User is on the "Events"
date. screen.
Test Case Steps Step no. Expected Result

The user should get navigated to the


screen having the following
options :

Click on the "Events" option from 1 1)Add Event (Button)


the dashboard. 2)Search via date(Search field
having calendar)
3)List of already created events
4)View (Button in front of every
event)

User should get navigated to the


"Add Event" screen having the
following fields and buttons :

1)Event Name(Field)
2)Event Location(Field)
3)Event In time and date(Field)
4)Event Out time and date(Field)
5)Event Detail(Field)
6)People to invite(Selection box)
Click on the provided "Add Event" 7)Save(Button)
button 1.1 8)Cancel(Button)

1)Enter event name in the field Specific & proper validation


1)Leave
provided.all the mandatory fields messages should get displayed
blank
2)Enter the event location in the related to all the mandatory fields
2)Click on the "Save" button.
field provided. 1.2 which are left blank.
3)Enter event In date & In time in
the respective fields provided.
4)Enter the event out date in the
field provided which is less than
the event In date entered.
5)Enter event Out time in the field
provided.
6)Enter the event detail in the field
provided.
7)Select the people to be invited A validation message should get
from the provided selection box. displayed as "Event Out date should
8)Click on the "Save" button. 1.3 be greater than the event In date"
1)Enter event name in the field
provided.
2)Enter the event location in the
field provided.
3)Enter event In date & In time in
the respective fields provided.
4)Enter the valid event out date in
the field provided.
5)Enter event out time less than
the event In time entered.
6)Enter the event detail in the field
provided.
7)Select the people to be invited A validation message should get
from the provided selection box. displayed as "Event Out time should
8)Click on the "Save" button. 1.4 be greater than the event In time"

1)Enter event name in the field


provided
2)Enter the event location in the
field provided
3)Enter valid In date in the field
provided.
4)Enter valid In time in the field
provided.
5)Enter valid Out date in the field
provided.
6)Enter valid Out time in the field
provided.
7)Enter the event detail in the field
provided
8)Select the people to be invited The details should get saved and the
from the provided selection box. invitation should get sent to the
9)Click on the "Save" button. 1.5 respective people.

The user should get navigated to the


View Event screen where all the
Click on the "View" button of any details of the event should get
particular event. 2 displayed in read only mode.
Without selecting any date from
the calendar click on the "Search" No Search result should get
button 3 displayed.

1)Select a date in which the event


was performed or is going to be
performed from the calendar of The event should get displayed
the search field provided. having the "View" button in front of
2)Click on the "Search" button. 3.1 it.

1)Select any random date in which


neither any event was performed
nor any event is going to be
performed. A message should get displayed as
2)Click on the "Search" button. 3.2 "No events found"
Actual Result

NA

NA

NA

NA
NA

NA

NA
NA

NA

NA
Test Case ID

Reference -

TC_Risk_Management_1
TC_Risk_Management_2
Test Case Summary

Use Case 9 : Create and Update Survey & View History of Survey

Verify that the user (Staff) is able to add the survey for a particular site.
In case if the user has filled only few details in a survey and yet to fill the complete
survey form , then verify that he is able to save those details and can fill the
complete details later.
Pre - Conditions

vey

User has logged in to the website and is on the dashboard.


User is on the Create & Update Survey screen and has entered
only few details of the survey .

For Example - He has just entered / filled the date & time , site
details , system maintenance responsibility & site classification
and is yet to fill the Tank , piping Abandoned or removed tanks
and records & certificates section's details.
Test Case Steps Step no.

Click on the provided option of "Create and update survey" 1

Without selecting any site from the drop down of the 1.1
combo box click on the provided "Search" button.

1)Select any particular site from the drop down. 1.2


2)Click on the search button.

Click on the provided option "New Survey" 1.3

Without entering any field and selecting any detail click on 1.4
the "Save" button.
1)Select the date&time from the calendar.
2)Enter the site ID in the field provided.
3)Enter the site name in the field provided
4)Enter the site address in the field provided.
5)Enter the name to which the system owner ship is to be
given in the field provided.
6)Enter the name to which the system's maintenance
responsibility is to be given in the field provided.
7)Enter the name to who is going to do the site 1.5
classification.
8)Go to the Tank section and fill the details in the fields
provided.
9)Go to the Piping section and fill the details in the fields
provided.
10)Go to the Abandoned or removed tanks section and fill
the details in the fields provided.
11)Fill the records and certificates in the field provided.
12)Click on the provided "Save" button.

Click on the provided "Save" button 2


Expected Result Actual Result

User should get navigated to the screen having


the following options :
NA
1)Sites (Combo box)
2)Search (Button)

A validation message should get displayed as NA


"Please select a site"

As soon as the search button is clicked an option NA


named "New Survey" should appear.

Following options and fields should get


displayed :

1)Date and time (Calendar)


2)Site ID (Field)
3)Site Name (Field)
4)Site Address(Field)
5)System ownership(Field)
6)System Maintenance Responsibility(Field) NA
7)Site classification carried out by
8)Tank Information(section that will include
further more fields)
9)Piping(section that will include further more
fields)
10)Abandoned or Removed tanks(section that
will include further more fields)
11)Records Certificates(Field)
12)Save (Button)

Specific and proper validation messages should NA


get displayed for all the mandatory fields.
The details entered by the user should get saved
successfully for the user and for the date & time.
NA
A message should get displayed as "Survey
created successfully"

The details which are entered / filled by the


user up till now should get saved. However the
survey should not get created as all the details
are not filled.
NA
Also , next time the user comes to this screen
then the saved details should remain saved and
the user will then only have to fill the remaining
fields of the survey.

You might also like