> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/core-features/intelligence-hub/generate-test-cases/smart-recording/manual-recording/sap-test-case-creation.md).

# SAP Test Case Creation

Creating an SAP test case in WalnutAI using **Manual Recording** allows you to create automated test cases by performing the required actions directly in the SAP application. As you perform the business flow, WalnutAI captures the actions and converts them into corresponding automated test steps.

**Steps to Generate an SAP Test Case Using Manual Recording:**

* Navigate to the **Intelligence Hub**, select **Smart Recording**, and ensure the **Agent** is turned on.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FKv6HboeYjnA9aETgPMoR%2FScreenshot%202026-09-29%20at%206.17.43%E2%80%AFPM.png?alt=media&amp;token=4b6d30b7-b320-4a1c-8b3c-6745023a7148" alt=""><figcaption></figcaption></figure>

* Click the **AI Recording** button in the **bottom bar** and select **Manual Recording** as the recording mode.
* Click the **Web** button in the bottom bar and select **SAP** as the test type.
* On the above bar, enter the **SAP Connection Name**.
* To generate the **Connection Name** in SAP, create or use the required SAP connection configuration and provide a unique name in the **Description** field. Save the configuration and copy the **Description Name**. This name is used as the **Connection Name** in WalnutAI.
* Paste the **Connection Name** from SAP into the connection field in WalnutAI and click **Connect**.
* Once the SAP connection is established, the SAP application is opened in the **Live Screen**.
* Perform the required business flow directly in the SAP application. WalnutAI captures the actions performed during the session and generates the corresponding **test steps**.
* Once the required flow is completed, review and customize the generated steps as required. You can **edit objects, skip a step, enable Continue on Failure, add a new step, add a nested test case, cancel a step, or**  [**debug the test case**.](/core-features/intelligence-hub/generate-test-cases/smart-recording/debug-a-test-case-in-smart-recording.md)

{% hint style="info" %}
For detailed information on modifying individual test steps, refer to  [**Manage a Test Step**.](/test-and-quality-management/test-management/test-cases/manage-test-step.md)
{% endhint %}

* Once you have completed the required modifications, click **Disconnect** to end the session and then click **Save** to save the generated test case.
