# TEST: SECURITY-DM-01

## 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.

## **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-MdFYHrDiBr97IyYYcRW%2F-MdFZopHbulT8-kKyNU0%2F1.jpg?alt=media\&token=2a934298-890a-4502-a11d-c115f30dedb4)

2- Fill out the fields appropriately and click the **Save** button. (Name, Model Name, and Operating System are required fields and MUST be filled ).

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIxJkNpcGu5ng46plI%2F-MdIy5vQzJ4UkLz0eGws%2F3.jpg?alt=media\&token=888f0547-6af1-4240-9d2a-de81ceaaa9bb)

## Expected Behaviour

1-  Should navigate to the new Create Device page.<br>

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIxJkNpcGu5ng46plI%2F-MdIxaacVuUSFdr5m4ry%2F2.jpg?alt=media\&token=9e10625d-79d7-42ae-a179-755a81152af8)

2-&#x20;

* Should momentarily display success message in the top right corner
* When navigating to the Devices/Devices page, Should appear New Device(**Create-Device-Test1**)  in the list of devices.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIxJkNpcGu5ng46plI%2F-MdIya12aDhOjmJf5iH8%2F4.jpg?alt=media\&token=e16aeb56-27d6-4b3b-8528-a520cd413d60)

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-MdIxJkNpcGu5ng46plI%2F-MdIycmleHD6ZJu7Jflu%2F5.jpg?alt=media\&token=dd0df5e5-7d0c-4846-8518-b764ff97376e)
