launch_test_client
Boot a 1C /TESTCLIENT process and wait until its TPort listens, returning pid, display, and connection details so scenarios can connect. Use it to start an automation client session.
Instructions
Launch a 1C /TESTCLIENT and wait for its TPort to listen.
Loads the local .ai1c/*.env profile (INFOBASE_PATH / PLATFORM_ROOT / TEST_CLIENT_USER/KIND/PASSWORD),
overridden by any args given. Boots 1cv8 ENTERPRISE /IBConnectionString File="…"; /N<user> /TESTCLIENT -TPort <port>. The client OUTLIVES this call — connect with run_scenario/write_form_value(port=…), then tear down with
stop_test_client(pid, xvfb_pid). Set manage_apache=true for an Apache-served infobase (stops apache2 for the
boot, restart on stop_test_client).
Display (for screenshots): pass display=":101" (or "auto") to OWN an Xvfb on that display and run the
client with DISPLAY=:N — then capture_screenshot(display) works. Default (None) uses xvfb-run -a (no
screenshots). Returns {pid, alive, listening, display, xvfb_pid, connection (password-redacted), out_dir,
launch_environment}. The password is never echoed back. For an explicitly authorized Windows
hardware/network-license contour, set use_hardware_licenses=true; when omitted, ignored runtime state may
opt in with QA_MCP_TESTCLIENT_USE_HW_LICENSES=1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| port | No | ||
| user | No | ||
| display | No | ||
| env_file | No | .ai1c/vanessa-qa-mcp.env | |
| headless | No | ||
| wait_sec | No | ||
| infobase_path | No | ||
| manage_apache | No | ||
| use_hardware_licenses | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||