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 create a new user.

Objective:

Testing basic flows for purpose features.

Environment

  • The project source can be found here

Test cases

TC-1

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

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

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. Click on 'Create' button Create user pop-up appear
4. Fill in all fields with Input data (given data) All fields are filled in
5. Click 'Ok' button The pop-up disappear and a new user appear in content table

Notes

  • No validation on password are required.

TC-3

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.

Home Page

Clone this wiki locally