---
schema_version: "1"
id: 595b8cb752ed44d566fb336366e819fc8ccbab37e949b1156749580c07a1c2d7
title: "Step 6: Test the Automation"
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-home/automation-tutorial-test.md
canonical_url: https://docs.mulesoft.com/rpa-home/automation-tutorial-test
source_site: docs.mulesoft.com
content_type: documentation
content_hash: c963814c5efc8005b228d93e124a4d652dd0e2886f42252b42008938d0eac7ba
description: MuleSoft Documentation Site
latest: true
---
---
product: RPA
---

# Step 6: Test the Automation

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

You finished the build phase and the automation project is ready to move to the testing phase, where
you create a test plan to execute the necessary tests on your automation project. You can create
multiple configurations to test your process using different activity parameters and to test for the
completion of user tasks.

For this tutorial, create a simple test that confirms the proper deployment and execution of the
automated process.

## Step 6.1: Create a Test Plan

To create a test plan, open RPA Manager and follow these steps:

1.  In RPA Manager, go to **My RPA** > **My Processes**.

2.  Click the **MuleSoft newsletter sign-up** project.

3.  Click **Publish(Test)**.

4.  Click the confirmation checkbox and then click **Release to Test**.

5.  Inside **Test plans**, click the **Create new test plan** button.

6.  In the **Test plan name** field, write **My Test** and click **Next**.

7.  Click **Next** (this process has no activity parameters).

8.  Click **Next** (this process has no user tasks).

9.  Select **Run test in Secure Session**, check **Enable Taskbar (Start menu, taskbar buttons)**,
    and click **Next**.

    Ensure you followed the steps to configure the
    [Secure Session](https://docs.mulesoft.com/rpa-bot/latest/configuration#secure-session). Otherwise, the bot fails to
    run.

10. Select any of your configured bots and click **Finish**

## Step 6.2: Run the Test, Examine the Results, and Publish to Production

To run the test plan and see the results, follow these steps:

1.  In the **Test plans** panel, click **Start tests**.

2.  In the **Select Configuration to deploy** window, select your test plan and click **Execute**.

    ![The Select Configuration to deploy window](/mulesoft/current/en-us/rpa-home/_images/test-config-deploy.png)

3.  In the **Test Results** panel, click **Update**.

    If there are no results, wait a few minutes for the test to end and click **Update** again.

4.  Verify that there is a new entry for the bot showing **1** in the **Success** column.

    ![The Test Results window showing a successful execution](/mulesoft/current/en-us/rpa-home/_images/bot-test-success.png)

5.  After the test finishes, click **Publish (Production)**.

6.  Click the confirmation checkbox and then click **Release to Production**.

## Next Steps

You created a test plan that executes the automation to ensure that the process runs successfully.
Then, you finished testing the process and released it to the production phase. Now, it is time to
publish the process to Anypoint Exchange by creating an invocable run configuration for this
process.

Continue with [Step 7: Publish the Automation to Exchange](https://docs.mulesoft.com/rpa-home/automation-tutorial-deploy)

## See Also

- [Installing RPA Bot](https://docs.mulesoft.com/rpa-bot/latest/installation)

- [Configuring RPA Bot](https://docs.mulesoft.com/rpa-bot/latest/configuration)
