> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/application-management-tests/test-security-am-08.md).

# TEST: SECURITY-AM-08

Testing the unsuccessful creation of a new application when using duplicate records.

## References

* [Application Management](broken://pages/-LyJMkkX_xrto5sCaNnM)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when creating a new application using duplicate records (duplicate Name).

## **Pre-Conditions / Setup**

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

## 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-Me2tCWX7XAZKcb7GSru%2F-Me2v3ZASqQnE0wkEFuU%2F1.jpg?alt=media\&token=b6e7cb9a-19c5-4c50-a673-653049791f03)

Fill out all the fields appropriately and for the Name field, use a name with which an application exists. (for example "Create-Application-Test")

## Expected Behaviour

1- Should navigate to the new Create Application page.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2ZeRl8C3kmFjAPq2q%2F-Me2b41mQfzt-GL-FNvz%2F2.jpg?alt=media\&token=8b076025-cf70-4a8d-887f-2abd1d3a4095)

2- Should show an error message below Name field indicating that duplicate record detected.

![](https://3421852694-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ0_pjgTp_kx4hqTZ3a%2F-Me2vXqhbyKcIQ4JbT1U%2F-Me2wFBNGLqN6dPxgipj%2F4.jpg?alt=media\&token=5a01b0f7-2e73-4822-8678-faedb2bbdee3)
