KaneAI Errors
When a KaneAI step fails, the answer is on screen. You do not have to look anything up.
What KaneAI shows you when a step fails
Every failed step reports the same three things, in the step itself.
| What it tells you | |
|---|---|
| Category | The kind of problem, one of the five below. It tells you where to look first: at your step, at the element, at your application, at your data, or at us. |
| Message | What went wrong, written in your terms and quoting the value that caused it. Never a stack trace. |
| Suggestion | What to do next, phrased as an action you can take on this step. |
Two further fields sit behind those. The reason is the specific fault inside the category, and the diagnostic keeps the raw underlying text, such as an exception string, for debugging. The diagnostic is never used as the headline, so the first thing you read is always an explanation rather than machine output.
Error categories
Every error belongs to one of five categories. The category tells you where to look first.
| Category | Meaning | Where to look |
|---|---|---|
| Instruction error | The step itself is wrong | Rewrite the instruction |
| Element error | The target element could not be found or used | Check the element and how the step describes it |
| Application error | The application or page under test misbehaved | Check the application, not the test |
| Data error | A variable, type, secret, or query is wrong | Check the values the step depends on |
| System error | A problem on our side, not yours | Retry, then contact support |
An assertion that comes back false is not an error. It is recorded as a failed assertion and the test carries on. An error means the step could not be checked at all.
How an error is categorised
The category is decided by where the problem is, not by which part of the system reported it.
- A media, deeplink, GPS, or accessibility action that fails on a mobile app is an application error, because the action reached the app and the app is what failed.
- An action that fails on an element that had already been found is an application error, not an element error. The failure is in performing the action, not in locating the target.
- The agent being unable to continue is a system error, not a defect in your instruction.
Instruction errors
The step itself is wrong. KaneAI could not work out one action and one target from what you wrote, or the action you asked for is not supported.
It covers a step that states a goal instead of an action, a condition that cannot be evaluated, a value that is out of range, and an unsupported operation. The fix is always in the instruction.
Element errors
The target element could not be found or could not be used. The instruction was understood. KaneAI could not act on the thing you named.
The element may not be on the page at that point, the description may match more than one control, the element may be present but hidden or disabled, or something may be covering it. Look at the element and at how the step describes it.
Mobile app tests report the same element errors, with the same guidance, as web tests.