Why are screenshots not showing up or elements out of focus?
Autify may not take screenshots as expected under certain circumstances or at certain times. This article explains the causes and fixes.
1. Screenshots do not appear when creating a scenario
If screenshots do not appear on the scenario after recording, the problem may be one of the following.
1-1. If all screenshots are not displayed
You may not be able to see any screenshots if access to the website is restricted on the Autify Recorder settings in your Chrome browser (shown below).
Please open settings in your Chrome browser and make sure that the Site Access setting is set to [All Sites].
1-2. If only some screenshots are displayed
The Autify Recorder may not be able to get some screenshots if you're using a low-spec device or if the connection is slow or unstable.
Please try recording after you close all applications other than the browser.
1-3. Steps where screenshots will not be displayed
Please note that you will not see screenshots for the following steps.
- Visit step
- Open window
- Close window
- Switch To Step N (or "Initial") window
- Switch To New Window
- Go To step
- Sleep step
- Open Email With Title Like XXX
- Handle Alert
- Execute Step Group
- Input Text Into Alert
2. A screenshot was taken when the scenario was created, but the actual position of the click is not correct.
A screenshot is taken, but the focus of the frame surrounding the element may be out of focus. In this case, one of the following may be the cause.
2-1. Window size or resolution issues.
One of the following may be the cause.
- The size of the new window opened during recording was changed.
- The zoom in/out function of the browser was used while recording.
- Your PC resolution is low (1280 x 1024 or higher recommended).
If you record under the above conditions, the click position and other information will not be recorded correctly, which may affect not only the screenshot but also the test execution. Please do not resize the browser window or use the zoom in/out function while recording.
2-2. Screenshot timing.
Screenshots are taken after the action is performed.
Therefore, there may be a mismatch between the time of the action and the time of the screenshot, resulting in a screenshot shot that is slightly off from the target element.
Also, due to the above reasons, screenshots may not be taken if the element disappears immediately after the action.
📝In the action is a click, please try recording a long-press click. This will increase the chance that the target element will remain visible when the screenshot is taken.
📝If you cannot see the target element in the screenshot on the Scenario page, please use the Step Name or Memo section on the Scenario Details page to clarify what the action is.
3. For screenshots of test results, the focus is shifted to the target element.
Similar to taking screenshots of scenarios, screenshots of test results are taken after the actual operation. Therefore, the focus of the frame surrounding the element may be shifted.
4. The "At Recording" or "Last Success" screenshots don't appear on the left side of each step on the Test Results page.
4-1. Cases in which the "At Recording" screenshot is not displayed
Steps that have already been deleted in the most recent scenario will not appear in the "At Recording" screenshot.
4-2. Cases in which the "Last success" screenshot is not displayed
If the test has succeeded once in the past in the same environment, the screenshot of the "Last success" will be displayed, but not in the following cases.
The test was run in an environment where it has never been successful before
If the test is newly executed in an environment where it has never been executed before, or if the test has never been successful in that environment, the "At Recording" screenshot will be displayed.
Log retention period has expired.
If the "Last success" screenshot was taken before your contract's log retention period (log retention period varies by contract), the "At Recording" screenshot will be displayed.