Skip to content

Test Plan

NaniiGheorghe edited this page Apr 12, 2019 · 27 revisions

Test plan for next features:

Test case Description
TC-1 The ability of the user/administrator to open a door lock(if has access to it) using an electronic key or fingerprint.
TC-2 The ability of the administrator to create a new office room.
TC-3 The ability of the administrator to give access to a user to a specific office room
TC-4 The ability of the user to see all his accessible/inaccessible door locks(web/mobile).
TC-5 The ability of the administrator to delete a user.

Objective:

Testing basic flows for purpose features.

Environment

  • The project source can be found here

Test cases

TC-1

Feature: The ability of the user/administrator to open a door lock(if has access to it) using an electronic key or fingerprint.

given

my test environment has been set up correctly

when

I scan my finger

then

The door should unlock, and the green bulb must light up.

Pre-conditions

  • My test environment has been set up correctly

Input data

  • Finger scan

Instructions

Step No. Step description Expected result
1. Scan finger Door unlock and green bulb must light up.

Notes

  • Scanner could not read the finger from first time.

TC-2

Feature: The ability of the administrator to create a new office room.

given

the web interface is started

when

I click create button in 'User' overview and fill in all fields and click 'Ok' button

then

a new user is created

Pre-conditions

  • My test environment has been set up correctly
  • The web interface is started

Input data

  • Credentials for a new user:
  1. Username - gnanii
  2. First name - Gicu
  3. Last name - Nanii
  4. Position - developer
  5. Password - pass

Instructions

v

Notes

  • No validation on password are required.

TC-3

Feature: The ability of the administrator to give access to a user to a specific office room

given

the web interface is started and I'm logged in as an administrator

when

I click 'create' button in 'Access Management' overview and fill in all fields and click 'Ok' button

then

a new access is created

Pre-conditions

  • My test environment has been set up correctly
  • The web interface is started and I'm logged in as an administrator

Input data

  • Credentials for an administrator are:
  1. Username - gnanii
  2. Password - pass
  • New added access data are:
  1. User - Gicu Nanii
  2. Room = Development
  3. Door - Door1

Instructions

Step No. Step description Expected result
1. Navigate and click on 'Access Management' tab The access management table content is loaded
2. Click on 'Create' button Create access management pop-up appear
3. Fill in all fields with Input data (given data) All fields are filled in
4. Click 'Ok' button The pop-up disappear and a access appear in content table

Notes

  • Can be used drop-down from selecting user.

TC-4

Feature: The ability of the user to see all his accessible/inaccessible door locks(web/mobile).

given

the web interface is started and I'm logged in as an operator

when

I click on 'Access Management' overview

then

I can see all my accessible and inaccessible door locks

Pre-conditions

  • My test environment has been set up correctly
  • The web interface is started and I'm logged in as an operator

Input data

Instructions

Step No. Step description Expected result
1. Navigate and click on 'Access Management' tab The access management table content is loaded and I'm able to see all my accessible doors

Notes

  • Maybe that functionality is not implemented yet, check with developer ✌️ .

TC-5

Feature: The ability of the administrator to delete a user..

given

the web interface is started

when

I click 'Delete' button in 'User' overview and checkbox is selected for a user and click 'Ok' button

then

selected user is deleted.

  • My test environment has been set up correctly
  • The web interface is started and I'm logged in as an administrator

Input data

  • Deleted username: gnanii

Instructions

Step No. Step description Expected result
1. Open web interface (localhost:4200) The web interface is loaded
2. Navigate and click on 'User' tab The user table content is loaded
3. Select checkbox with username gnanii Check box is selected
4. Click on 'Delete' button User is removed from table content

Notes

Home Page

Clone this wiki locally