-
Notifications
You must be signed in to change notification settings - Fork 1
Test Plan
NaniiGheorghe edited this page Apr 12, 2019
·
27 revisions
| 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. |
Testing basic flows for purpose features.
- The project source can be found here
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.
- My test environment has been set up correctly
- Finger scan
| Step No. | Step description | Expected result |
|---|---|---|
| 1. | Scan finger | Door unlock and green bulb must light up. |
- Scanner could not read the finger from first time.
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
- My test environment has been set up correctly
- The web interface is started
- Credentials for a new user:
- Username - gnanii
- First name - Gicu
- Last name - Nanii
- Position - developer
- Password - pass
| 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 |
- No validation on password are required.
###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
- My test environment has been set up correctly
- The web interface is started and I'm logged in as an administrator
- Credentials for an administrator are:
- Username - gnanii
- Password - pass
- New added access data are:
- User - Gicu Nanii
- Room = Development
- Door - Door1
| 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 |
- Can be used drop-down from selecting user.
Home Page