Usage¶
The Usage section of the Optics Framework documentation provides detailed guidance on how to interact with and leverage the framework effectively. Whether you're setting up test automation, executing test cases, or integrating keywords into your workflows, this section covers the essential tools and processes you need to get started and succeed.
Below are the primary usage guides, each tailored to a specific aspect of the framework:
-
CLI Usage
Set up the environment, execute test cases, initialize projects, and manage configurations.
-
Live Usage
Drive a live target keyword-by-keyword in an interactive session; record straight into modules.
-
Keyword Usage
The full keyword catalog: actions, verifications, and flow control for test modules.
-
Library Usage
Use Optics as a Python library for programmatic test automation.
-
Robot Framework Usage
Use Optics with Robot Framework: library import, keyword usage, and test organization.
-
REST API Usage
Programmatic interaction via REST: session management and real-time monitoring.
-
MCP Usage
Expose every keyword as an MCP tool so an AI client drives a real target.
-
Error Detection
Define crash dialogs and network errors; Optics scans visible text and reports to JUnit.