Manage Your Automation with Advanced Settings
Advanced Settings in Maeris provide powerful configuration options to fine-tune your test automation, optimize execution, and customize behavior to match your specific needs.
Accessing Advanced Settings
Advanced Settings can be configured at multiple levels: globally for all tests, at the test suite level, or for individual test cases.
Settings Levels
- Global Settings: Apply to all tests by default (Platform Settings)
- Suite Settings: Override global settings for specific test suites
- Test Settings: Override suite/global settings for individual tests
Execution Settings
Timeout Configuration
Control how long Maeris waits for operations to complete.
- Element Timeout: Maximum wait time for element to appear
- Page Load Timeout: Maximum time for page to load
- Action Timeout: Maximum time for actions (click, type) to complete
- Navigation Timeout: Maximum time for page navigation
Retry Configuration
Configure automatic retries for failed steps or tests.
- Retry on Failure: Automatically retry failed steps
- Max Retries: Maximum number of retry attempts
- Retry Delay: Time to wait between retries
- Retry Conditions: Specific conditions that trigger retries
Execution Mode
Control how tests are executed.
- Sequential: Run tests one after another
- Parallel: Run multiple tests simultaneously
- Parallel Limit: Maximum number of parallel executions
- Execution Order: Control test execution sequence
Browser Settings
Browser Configuration
- Browser Selection: Choose which browsers to test on
- Browser Version: Specify browser versions if needed
- Headless Mode: Run browsers in headless mode for faster execution
- Window Size: Set browser window dimensions
- User Agent: Customize user agent string
Browser Options
- Disable Images: Speed up tests by disabling image loading
- Disable JavaScript: Test behavior without JavaScript (if needed)
- Accept Downloads: Configure automatic download handling
- Browser Extensions: Enable or disable browser extensions
- Proxy Settings: Configure proxy for browser connections
Auto-Healing Configuration
Auto-healing helps tests adapt to minor UI changes automatically, reducing maintenance overhead.
Auto-Healing Options
- Enable Auto-Healing: Turn on automatic selector adaptation
- Healing Strategies: Choose how Maeris should adapt selectors
- Fallback Selectors: Configure alternative selectors to try
- Healing Confidence: Set minimum confidence level for auto-healing
- Learning Mode: Allow Maeris to learn from successful executions
When Auto-Healing Triggers
- When primary selector cannot find element
- When element attributes have changed
- When element position has shifted
- When element is temporarily unavailable
Screenshot and Video Settings
Screenshot Configuration
- Capture Screenshots: Enable/disable screenshot capture
- Screenshot Frequency: When to capture (on failure, each step, etc.)
- Screenshot Quality: Image quality and format settings
- Full Page Screenshots: Capture entire page or viewport only
- Screenshot Storage: Where to store screenshots
Video Recording
- Record Videos: Enable video recording of test execution
- Video Quality: Resolution and quality settings
- Record on Failure Only: Only record when tests fail
- Video Storage: Storage location and retention policy
Environment Variables and Configuration
Variable Management
- Global Variables: Variables available to all tests
- Environment Variables: Environment-specific values
- Test Variables: Variables specific to individual tests
- Secret Management: Securely store sensitive values
Environment Configuration
- Environment Selection: Choose target environment
- Base URLs: Configure environment-specific URLs
- API Endpoints: Set environment-specific API endpoints
- Database Connections: Configure database settings per environment
Performance and Optimization Settings
Performance Options
- Page Load Strategy: Control when test considers page loaded
- Resource Blocking: Block unnecessary resources to speed up tests
- Cache Control: Configure browser cache behavior
- Network Throttling: Simulate different network conditions
Optimization Features
- Parallel Execution: Run tests in parallel for faster completion
- Test Prioritization: Run critical tests first
- Smart Waits: Use intelligent waiting instead of fixed delays
- Resource Optimization: Optimize resource usage during execution
Logging and Debugging Settings
Log Configuration
- Log Level: Set logging verbosity (debug, info, warn, error)
- Console Logs: Capture browser console messages
- Network Logs: Log network requests and responses
- Performance Logs: Capture performance metrics
- Log Storage: Configure log retention and storage
Debugging Features
- Debug Mode: Enable detailed debugging information
- Pause on Failure: Pause execution when test fails
- Step-by-Step Execution: Execute tests step by step for debugging
- Element Highlighting: Highlight elements during execution
Best Practices
- Start with Defaults: Begin with default settings and adjust as needed
Defaults are optimized for most use cases
- Configure at Appropriate Level: Use global settings for common config, test-specific for exceptions
Maintains consistency while allowing flexibility
- Document Custom Settings: Document why custom settings were needed
Helps team understand configuration decisions
- Test Settings Changes: Verify settings work as expected before applying broadly
Prevents unintended side effects
- Monitor Performance: Track how settings impact execution time and resource usage
Optimize for efficiency
- Review Regularly: Periodically review and update settings
Keeps configuration aligned with needs
Next Steps
Explore more advanced features:
- API Hooks for Tests - Set up before/after hooks
- Verification Library - Explore verification options
- Platform Settings - Configure global platform settings