Import and export

Move tests in and out of Testinspector.AI in JSON, Selenium and Playwright formats.

Export

Open a test's Code View tab, choose a Code format and select Download. The formats are:

  • TestInspector JSON (.json)
  • New Selenium IDE (.side)
  • Old Selenium IDE (.html)
  • Old Selenium Builder (.json)
  • Playwright TypeScript (.spec.ts)

Gherkin

The Gherkin tab shows a read-only Gherkin version of the test that you can copy.

Playwright export

Each action maps to Playwright code. The mapping is listed on every action page under Playwright equivalent. Variables become constants, and optional steps are wrapped in try and catch.

Import

On a suite page, use Import test or Import suite to upload a TestInspector JSON file, and Export suite to download one. Steps use the same fields shown in the examples on each action page.

{
  "name": "Login",
  "steps": [
    { "command": "open", "target": "https://example.com/login" },
    { "command": "assign", "target": "#email", "value": "{{EMAIL}}" },
    { "command": "click", "target": "button[type='submit']" }
  ]
}