# Generate test case based on a file

In situations when you have your requirements passed to you in pdf, excel or just screenshots of the app as png, or UML diagram for the login process, now you can feed this information to AI and ask it to create a test case based on this information. <br>

Click the ‘Add test case' button on the main page

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F3TgARL8UlKXLKhlmty1r%2Fimage.png?alt=media&#x26;token=d55601d4-9b57-4893-98bf-c5a87948ee52" alt=""><figcaption></figcaption></figure>

Then select creation of a test case based on a file.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2FyPfD53SCoIUHcGAt3dRF%2Fimage.png?alt=media&#x26;token=856ca125-c700-4e35-a852-a674eeb8617c" alt=""><figcaption></figcaption></figure>

Upload a file in one of the supported formats

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2Fd3ieQCzRSBnRiFJJUcnT%2Fimage.png?alt=media&#x26;token=31e67f08-bbf1-45bf-9e13-f4583b53c631" alt=""><figcaption></figcaption></figure>

Once the file is uploaded, you can optionally add a description to give AI Copilot some context.

<figure><img src="https://3920520305-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyZbW8vbNs5hz8x57emJJ%2Fuploads%2F6W9O1m2dhcq6czR2lIpx%2Fimage.png?alt=media&#x26;token=234be33c-cddc-416d-8502-53e05a7ac504" alt=""><figcaption></figcaption></figure>

Then select the number of steps and path and click the ‘Create’ button.

The AI Copilot will start generating a test case.

Once it’s created, save it, review it further, and make any necessary modifications based on specific needs.

Have feedback? Don't hestitate to share! Email us at **<support@aqua-cloud.io>** or **<feedback@aqua-cloud.io>**
