You can run the [AI Assistant] on a stub where an error occurred during test execution.

Executing the AI Assistant feature for stub errors

When a stub-related issue is detected during test execution, the [Stub Troubleshooting Guide] dialog appears.

Click [Yes] to open the [Stub View]. Double-click the stub that caused the error to open the [Stub Troubleshooting Guide] dialog. In this dialog, click the [AI Assistant] button to run the [AI Assistant] for stub error analysis.

[AI Assistant] Chatbot

Once the AI response is delivered, you can check the guidance for the stub error in the chatbot of the [AI Assistant View].

Modify Stub Code Based on Chatbot Guidance

The chatbot identifies that the cause of the error is an inappropriate parameter passed to the constructor of the Aircraft class. It suggests passing a valid parameter to the constructor to resolve the issue. To resolve the error, modify the stub code in [Stub] > [Stub Code].

Test execution

Execute the test to verify if the error in the modified test has been resolved. Alternatively, click [Test Compile] from the toolbar in the [Stub View].

Check the test results

You can confirm that the stub error has been resolved.

Ask Additional Questions

If the error is not resolved, ask additional questions using the [AI Assistant] chatbot.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.