# Create a test case from a test case page

**Generating a test case from a test case page**

You can generate a test case from the test case page itself too. The minimum required to create a test case is a bit of a context, but the more information you contribute, the more comprehensive test case will be generated.

{% hint style="info" %}
Please note that you can create only one test case from a test case page. This is useful when you want to generate a positive path test case alongside a negative one, and vice versa.
{% endhint %}

To create a test case, first click the 'Test' button.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F8R9U0iWaMsxovAVbeCij%2Fimage.png?alt=media&#x26;token=6a8c22b5-b406-4b31-8893-39c46d4fbfb6" alt=""><figcaption></figcaption></figure>

If you have multiple requirements linked to a test case, you need to select only one requirement as a basis to generate more accurate test cases.&#x20;

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FD5HHgWZbjCFcs6F8NKFu%2Fimage.png?alt=media&#x26;token=e6252413-6d23-4baa-910d-8f42cb2de7a1" alt=""><figcaption></figcaption></figure>

If you have only one requirement, then no actions are required, it will be taken as the basis for a test case generation.

If you don't have any requirement linked, then you can decide based on which option you want your test case to be generated.

You can either proceed with a description as context, link a requirement or upload a file.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FHqTmttch1HbhfhqmKiLV%2Fimage.png?alt=media&#x26;token=c2f18549-f4d2-4923-9327-eaf2181047c6" alt=""><figcaption></figcaption></figure>

Once you provided the base information, select number of steps you prefer and a path.

Once a test case is generated, you can add it as an additional test case to the repository or update the existing one.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F4m61isMn8A2B6vfPHbG1%2Fimage.png?alt=media&#x26;token=db51feca-1679-4de9-a030-44272237d3a2" alt=""><figcaption></figcaption></figure>
