Skip to content

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.

    CLI Usage →

  • Live Usage

    Drive a live target keyword-by-keyword in an interactive session; record straight into modules.

    Live Usage →

  • Keyword Usage

    The full keyword catalog: actions, verifications, and flow control for test modules.

    Keyword Usage →

  • Library Usage

    Use Optics as a Python library for programmatic test automation.

    Library Usage →

  • Robot Framework Usage

    Use Optics with Robot Framework: library import, keyword usage, and test organization.

    Robot Framework Usage →

  • REST API Usage

    Programmatic interaction via REST: session management and real-time monitoring.

    REST API Usage →

  • MCP Usage

    Expose every keyword as an MCP tool so an AI client drives a real target.

    MCP Usage →

  • Error Detection

    Define crash dialogs and network errors; Optics scans visible text and reports to JUnit.

    Error Detection →