QF-TestFree Trial

11.1+31.1 AI agents: Interact with Java applications during development

The QF-Test MCP server includes the skill "dev-client-connect" for AI agents like Claude Code. It allows an agent to launch a Java UI program during development, either via an IDE or via existing build scripts, and to inspect and directly interact with its UI. This enables agentic development workflows in which the agent automatically verifies any changes it makes in the live application UI.

The skill supports applications based on JavaFX, AWT/Swing, and SWT.

The skill is provided by the QF-Test MCP server as an MCP prompt named dev_client_connect. It is exposed by default, so no separate installation is required. See "MCP Server" for details about the MCP server.

To use the skill, proceed as follows:

  1. Launch QF-Test with the MCP server running, as described in "Set up QF-Test MCP Server".
  2. Connect your AI agent to the QF-Test MCP server, as described in "Set up QF-Test MCP Server".
  3. Tell the agent to use the skill "dev-client-connect" to launch and interact with your application.

Once activated, the agent retrieves the environment variables required to connect an application to QF-Test from the MCP server and starts your application with them, using an IDE run configuration or the build scripts of your project (e.g. Gradle or Maven). It then waits for the application to connect and can use the UI tools of the MCP server to inspect and operate it. After code changes, the agent rebuilds and restarts the application to verify the result.

Use the skill "dev-client-connect" to start the application with the run configuration "MyApp" and check that the new "Export" button in the toolbar opens the export dialog.
Example 31.1:  Prompting an AI agent to use QF-Test to launch and verify changes in a Java application