> 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/security-policy-management-tests/test-security-pm-03.md).

# TEST: SECURITY-PM-03

## References

* [Security Policy Management](broken://pages/-LyJMeXTqUGM9ThfTS7k)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when creating a new policy using invalid OID format.

## Pre-Conditions / Setup

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

## Actions/Steps

1- Click the **Create** button

![](/files/-Me2f3Aa1b3Eqb0HNHvc)

2- Fill out all the fields appropriately and use the incorrect format for OID field and click the **Save** button.

![](/files/-Me2gahaoXV9gxQ3zOqN)

## Expected Behaviour

1- Should navigate to the new Create Policy page.

![](/files/-Me2fEk8BqyT9VhR2m3p)

2- Should show an error message below OID field indicating that OID format is invalid.

![](/files/-Me2hPT4bO40ahlo8D9W)
