You can use the AI Assistant to resolve errors encountered during test execution.

Executing the AI Assistant feature for stub errors

If a stub trouble is identified during test execution, the Stub Troubleshooting Guide dialog will appear.

Click [Yes] to open the Stub View. Then double-click the stub with the error to open [Stub Troubleshooting Guide] dialog. In [Stub Troubleshooting Guide] dialog, clicking the [AI Assistant] button executes the AI Assistant feature for stub errors.

The AI Guide of the AI Assistant

Once you receive a response from the AI, you can check the guide for the stub error in [Stub Troubleshooting Guide] > [AI Guide].

In the AI Guide Tab of the Stub Troubleshooting Guide dialog, you can check the last executed AI Guide. The list of previously executed AI guides is in the Recent List section of the AI Assistant View.

Refer to the AI Guide to modify the stub code

According to the AI Guide, the cause of the error is identified as inappropriate parameters for the ‘Aircraft’ class constructor. Additionally, the AI Guide suggests modifying parameters for the Aircraft class constructor as a solution. 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.

Regenerate the AI Guide

If the test case error is not resolved, you can regenerate the AI Guide by clicking the [Regenerate] button in the AI Guide toolbar.

The regeneration is based on the prompts generated when the AI Assistant feature is executed. Any changes to the test information after running the [AI Assistant] will not be reflected.

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

Thanks for your feedback.