- Print
- DarkLight
During local replay, an error occurred. Why?
An error may occur while Local Replay is automatically performing actions, causing the process to stop.
When an error occurs, the following dialogue will appear:
1.What to do when an error occurs
You can restart or abort Local Replay in one of the following ways:
- Retry: replay the failed step again.
- Abort: abort Local Replay.
- Continue: ignore the failed step or manually perform the action of the failed step and resume Replay where it left off.
You can move the Local Replay dialogue as needed when manually performing the action corresponding to the failed step.
2. Causes of errors and how to handle them
The main causes of errors in "Local Replay" are operation steps that do not support replay, errors that would occur even during test execution, and cases where replay fails even though test execution succeeds.
2-1. Operations that do not support local replay
・File upload step
If the file upload step fails, click [continue] button after the manual upload operation.
2-2. Element not found or error in JS step
・The target element was not found in the operation step (click or input).
In this case, the same error occurs as when the test is executed. If the target element is displayed on the screen where the error occurred, please operate the element manually and continue the replay.
・The content described in the JS step was inappropriate.
In this case, the error occurs as in the test execution. Please review the contents of the described JS Step.
2-3.Test execution succeeds, but "Local Replay" fails.
"Local Replay" and "Test Execution" are two different things, so even if an error occurs in "Local Replay", the test may be executed without any problem. For more information, please also check this article.
Since replay is executed at high speed, the next process may start before the page transition or other process is completed, resulting in an error (stop in the middle) in replay. In such a case, please try to add a wait step after the step that takes a long time to process, so that the replay can proceed without stopping.
See also: Basic Usage of Local Replay