Skip to main content

Overview

This agent generates production-ready test programs for the OpenTAP test automation framework—synthesizing documentation, API references, and code examples to help engineers write test steps, instrument drivers, and complete test plans in seconds instead of hours. Built with Agent Composer using the Agentic Search template, available in self-serve.

The Problem

Test engineers spend hours reading documentation and copying patterns to develop test programs for semiconductor and electronics manufacturing. Common challenges:
  • Learning the TestStep base class patterns and lifecycle methods
  • Understanding SCPI command patterns for instrument drivers
  • Implementing proper verdict handling and result publishing
  • Coordinating multi-step test sequences with timing and polling logic

What the Agent Does

Ask the agent: “I need to test a power supply” The agent uses multi-step reasoning to:
  1. Query documentation for TestStep base class patterns
  2. Find relevant examples from the OpenTAP SDK and plugins
  3. Identify proper verdict handling and lifecycle methods
  4. Generate complete, production-ready code with explanations

Example Questions

  • Simple & vague: “I need to test a power supply”
  • Test step generation: “Create an OpenTAP test step that measures the output voltage of a power supply and fails if it’s outside 4.8V to 5.2V”
  • Instrument driver: “Create an OpenTAP SCPI instrument driver for a Keysight 34465A digital multimeter that can measure DC voltage and current”
  • Conceptual: “What’s the difference between PrePlanRun and Run in a test step? When should I use each?”

Try the Demo

Launch Demo

Try the Test Program Generation agent

Agent YAML

This agent uses the Agentic Search template, available in self-serve. You can create your own agent using the YAML below—just replace the datastore ID with your own OpenTAP documentation datastore.

Learn More