# TEST: SECURITY-DM-08

## References

* [Device Management](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/device-management-tests/broken-reference)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when creating a new device leaving the Name, Model Name and Operating System fields blank.

## **Pre-Conditions / Setup**

1. User must be logged into an account with policies granted for creating devices.
2. Navigate to **Administration Panel / Security / Devices / Devices**.

## Actions/Steps

1- Click the **Create** button.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0d5bAqk42ISaoH2K3%2F-Me0e-uapxZIxSTdhjSW%2F1.jpg?alt=media\&token=6b5dbc39-ce7e-46bc-80f6-e94305daef69)

2- Leave Name, Model Name and Operating System fields blank and click the **Save** button.( Name, Model Name and Operating System fields are required fields )&#x20;

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0d5bAqk42ISaoH2K3%2F-Me0f8yHGq5AQbHLt-7n%2F3.jpg?alt=media\&token=8f3621e5-164c-411a-b7db-a5f499e17e2b)

## Expected Behaviour

1- Should navigate to the new Create Device page.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0d5bAqk42ISaoH2K3%2F-Me0eQNmGrJgjF0MivpA%2F2.jpg?alt=media\&token=8bf6a246-08d2-400d-a910-8e4ce7dcfea7)

2- Should show an error message below Name field, Model Name field and Operating System field indicating that required field is missing.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me0d5bAqk42ISaoH2K3%2F-Me0fuV-ZJIU1ZzpXlI_%2F4.jpg?alt=media\&token=bd70bcff-11a4-46f4-ad5b-7a14c9df4fce)
