Skip to content
You're viewing the v2 docs. Looking for v1?Go to v1 docs
Docs
Arcus
Popular questions
↑↓ to navigate↵ to selectesc to close
Book a demo

CLI

The Arcus CLI validates Testsigma test cases and runs them on your own machine, in the repository you are working in. It runs web test cases and Android mobile test cases.

You run 1 npm command to install the CLI and 1 CLI command to authenticate it. After that you work through Claude Code, which writes the test cases and calls the CLI to validate and run them.

Prerequisites

  • Node.js and npm.
  • Claude Code.
  • A Testsigma account. The free plan supports writing, validating, and pushing test cases.
  • For Android mobile test cases, a device connected through Testsigma Terminal.
  1. Install the CLI globally.

    Terminal window
    npm install -g @testsigma/arcus-cli
  2. Authenticate it against your Testsigma account.

    Terminal window
    testsigma login
  1. Open Claude Code from your project directory.

  2. Run /arcus:test, or ask Claude Code for Testsigma test cases. Claude Code writes code-based test cases and includes the element locators it detects in your source.

  3. Review the test cases Claude Code writes.

  4. Read the validation output. The CLI validates each test case offline and reports errors without running it.

  1. Confirm your browser or device is available.

  2. When Claude Code offers to run the validated test cases, accept the run.

  3. Read the pass and fail results in the output.

Convert existing Playwright or Selenium scripts

Section titled “Convert existing Playwright or Selenium scripts”

If you already have a Playwright or Selenium suite, ask Claude Code to convert those scripts into Testsigma test cases rather than writing them again. The CLI validates the output and reports what did not translate.

  1. Open Claude Code from the directory that holds your existing scripts.

  2. Ask Claude Code to convert the scripts to Testsigma test cases.

  3. Read the validation output for translation errors.

Check each converted test case for:

  • Custom helpers and page objects: any that did not translate
  • Waits, retries, and assertions: any whose Playwright or Selenium form differs from Testsigma’s
  • Hard-coded test data and environment values: any belonging in a test data profile or an environment
  • Steps that act outside the application under test: any that leave the application

Test cases you write locally and test cases generated from pushed developer context land in the same project. Both feed the same QI Metrics.

Review, coverage, test plans, and metrics all happen in QI Home.

Was this page helpful?