For the complete documentation index, see llms.txt. This page is also available as Markdown.

Desktop Test Case Creation

Creating a desktop test case in WalnutAI allows you to automate desktop application workflows using AI Recording. Instead of manually identifying and configuring UI objects, WalnutAI intelligently captures the actions performed on the desktop application and converts them into automated test steps.

Steps to Generate a Desktop Test Case

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

  • Click the AI Recording button in the bottom bar and select the suitable AI Recording mode.

  • Click the Web button in the bottom bar and select Desktop as the test type.

  • In the Application Path field, select the desktop application you want to automate. You can either:

    • Select an application from the Supported Apps dropdown.

    • Manually enter the application's executable path.

To find the path, open Task Manager, locate the required application, right-click it, and select Properties. Under the Security tab, copy the application path and paste it into the Application Path field in WalnutAI.

  • Click the Settings icon and then click Connect to launch the selected desktop application.

  • Describe the workflow you want to automate in the chat panel. For example: "Click on the last opened database and create a current account named QA Current with an initial balance of 10,000. Verify that the account is created successfully, then delete the newly created account."

  • Click Send. The AI agent processes your instructions, performs the required actions on the desktop application, and generates the corresponding test steps.

  • Once the test case is generated, review and customize the 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.

For detailed information on modifying individual test steps, refer to Manage a Test Step.

  • On the Parameters tab, click Chat with AI to generate test data for the generated test case.

  • You can execute test cases and heal failed test steps directly through the chat panel.

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

Last updated