Troubleshooting
Interacting with elements
I added a step to interact with an element (click, fillField, selectPopupLovValue, etc.) but the step fails.
Try one of the following solutions:
- Timeouts: Check if this is caused by a Worksheet or Case Execution Timeout. If yes, increase the corresponding timeout and re-run the test.
- Visibility: There is a probability that the element is not visible, for example because it is covered by another element. To check if the element is actually visible, add a screenshot step just before the failing step, execute the test and inspect the result.
- Loading state: Another possible reason is that the page or additional resources (scripts, images etc.) are not fully loaded. If you opened the page using the navigation step, set their Wait Until option to load. Otherwise, add a waitForLoadState step after the step that triggered the last navigation and set Wait Until to load.
- If none of these solutions work, add a waitForMilliseconds step. Please only use it as a last resort because over-using this step slows down test execution.
Additionally, we recommend to use Assertions, especially after page navigations. This can help to ensure that all needed page elements are available before continuing to the next step.
Variables
My variable
{{XXX}}does not get replaced in execution.
You most likely have a typo or forgot to add that variable. Double-check if the variable name on the Variables page matches the reference in the step. More info about Variables