Debugging and Troubleshooting
- Try changing the
24.1.2or the latest version. Close and reopen the
You can find the latest version of RPAFramework here - Release Notes
Yes! You can debug your script in VS Code:
- Run the
Robocorp: Set python executable based on robot.yamlcommand.
- Add a breakpoint on the line(s) you want.
- Click on the Robocorp icon in the Activity Bar on the left.
- Run the robot using the debug button.
The default behavior for browser automation is to save a screenshot whenever a keyword fails. Unnecessary screenshots make the robot log files unnecessarily large. Unnecessary screenshots are those that are taken when retrying a step that you know might fail. Since you know that these steps might fail from time to time, you are not interested in the screenshots for those failures.
Mute Run On Failure keyword from the
RPA.RobotLogListener library prevents keywords from generating a screenshot on failure.