Fix with AI

Prev Next

※ Please note that parts of this page are machine translated.

This page explains the Fix with AI feature. Fix with AI is a feature where the AI analyzes the cause of a failure and repairs the step if a failure occurs during step execution while replaying a recording or during scenario execution.

Fix with AI feature is available only to customers subscribed to the Nexus AI Agent option. For more information on the Nexus AI Agent, please refer to this document.

When a Failure Occurs During Replay

If a step fails during replay while editing a scenario, please follow the procedure below to fix the step.

  1. When a step fails during replay, a Replay Failed dialog will be displayed.

  2. Click the Fix with AI button shown inside the dialog.

  3. The dialog display will change to AI Running..., and the AI will begin analyzing and fixing the issue. Please wait until the process is complete.

  4. If the fix is successful, the following actions occur automatically:

    • The failed original step is disabled and replaced by a new step generated by the AI.

    • The replay automatically resumes.

If a failure occurs again after the replay resumes, you will be returned to the "Replay Failed" dialog. Check the error details and choose to try Fix with AI again, or select other operations such as Retry or Record from here.

When a Failure Occurs During Test Execution

If a step fails during test execution, follow the steps below to fix the step.

  1. Open the test result details screen.

  2. Click the Fix all with AI button displayed at the top of the screen.

  3. You will transition to the scenario editor, and the scenario replay will start automatically.

  4. If a step fails during replay, the AI will analyze the cause and automatically attempt to fix the failed step.

    • If the fix is successful, the original failed step is disabled, replaced with a new step generated by the AI, and replay will continue.

    • If the failure occurs in an unsupported step or if the auto-fix fails, the auto-fix mode will be canceled and the Replay Failed dialog will appear. Select Fix with AI, Retry, or Record from here as necessary.

  5. Once the error is fixed during replay, you can stop recording and click Save to save the changes.

  6. Run the scenario again if necessary to verify the fixes.

If the scenario execution fails even after the fix, check the error details and try Fix with AI again, or try re-recording or adjusting locator settings.

Unsupported Use Cases

The feature cannot be used in the following cases:

1. Unsupported Actions

  • Generate dynamic value

  • Verify appearance matches (Visual regression)

  • Open mail by subject

  • Natural language steps

2. When Non-Fixed Values are Used

Steps cannot be fixed if the step settings (arguments) use anything other than a "Fixed value" (Specify value). Specifically, steps using the following are unsupported:

  • Data

  • Result of other steps

  • Shared group parameters

  • Workspace variables

  • Fixed mailboxes / Random mailboxes

3. When Referenced by Other Steps

A failed step cannot be fixed if its output result is being used as "Result of other steps" in subsequent steps.

Important Notes

  • The AI analyzes the state of the web page to perform fixes; however, depending on the page structure or state (e.g., complex frame structures, dynamic content), it may not be able to perform an appropriate fix.

  • As a result of an AI fix, a single step may be replaced by multiple steps. Additionally, with the exception of verification (assertion) steps, the AI will not voluntarily add verification steps.