Logging
Enable detailed logging to better understand what your agent is doing during execution. This is particularly useful for debugging and monitoring automation workflows.Basic Logging
- Detailed information about each action
- Element detection results
- Screen capture details
- Any errors or warnings
Reporting
AskUI’s reporting system allows you to generate detailed reports of your agent’s actions. This is useful for:- Debugging automation workflows
- Documenting test runs
- Sharing results with team members
- Analyzing automation performance
Using the Simple HTML Reporter
- Screenshots of each action
- Timestamps
- Action details
- Success/failure status
Creating Custom Reporters
You can create custom reporters by implementing theReporter
interface:
Using Multiple Reporters
You can use multiple reporters simultaneously. Their methods will be called in the order they are listed:Best Practices
-
Logging Levels
- Use DEBUG for development and troubleshooting
- Use INFO for normal operation
- Use WARNING for potential issues
- Use ERROR for critical problems
-
Reporting
- Generate reports for important test runs
- Include relevant screenshots
- Document any failures or issues
- Share reports with team members
-
Custom Reporters
- Implement specific reporting needs
- Add custom metrics or analytics
- Integrate with your existing tools
- Format reports for your team’s needs