Build faster with clear, guided documentation.
Quick start, API reference, integrations, and advanced guides for teams shipping on AspectIQ.
Start with the quick setup, then move into configuration and test execution.
Commands, examples, and integration paths across the product surface.
Use the table of contents and sidebar to jump between sections instantly.
Get started in 5 minutes
Set up AspectIQ, record your first test, and run it on our cloud infrastructure — all without writing a single line of code.
Step 1: Install the AspectIQ CLI
The AspectIQ CLI lets you run tests, manage configurations, and push results from your terminal or CI pipeline.
# Install globally
npm install -g @aspectiq/cli
# Verify installation
aspectiq --version
# → aspectiq v3.2.1
yarn global add @aspectiq/clibrew tap aspectiq/tap
brew install aspectiqdocker pull aspectiq/runner:latestStep 2: Authenticate
Run the login command to authenticate the CLI with your AspectIQ account. This stores a token in ~/.aspectiq/credentials.
aspectiq auth login
# Or pass your API key directly (useful for CI/CD)
aspectiq auth login --api-key YOUR_API_KEY
# Confirm authentication
aspectiq auth whoami
# → Authenticated as jane@yourcompany.com (Org: Acme Corp)
runs:write for CI usage, admin for full access.Step 3: Initialize a Project
Create an AspectIQ project configuration in your repository. This file defines project-level settings like timeouts, retries, and environment variables.
cd your-project
aspectiq init
# This creates aspectiq.config.yml in your current directory
The generated config file looks like this:
project:
name: my-project
id: proj_xxxxxxxxxxxxxxxx
defaults:
browser: chrome # chrome | firefox | safari | edge
timeout: 30000 # ms per step
retries: 2 # retry count on flake
headless: true
environments:
staging:
base_url: https://staging.yourapp.com
production:
base_url: https://yourapp.com
ai:
self_healing: true # enable AI self-healing
healing_confidence: 0.85 # min match confidence
Step 4: Record Your First Test
Open the AspectIQ recorder to capture a test by interacting with your app in a real browser. No scripting needed.
aspectiq record --name "Login Flow" --env staging
# A browser window opens. Interact naturally with your app.
# Click, type, assert — AspectIQ captures everything.
# Press Ctrl+S or click "Save" in the toolbar when done.
# → Test saved: tests/login-flow.aspect
Step 5: Run the Test
Execute your recorded test locally or push it to AspectIQ's cloud infrastructure for parallel cross-browser execution.
# Run a specific test
aspectiq run tests/login-flow.aspect
# Run all tests in a directory
aspectiq run tests/
# Run on cloud with specific browsers
aspectiq run tests/ --cloud --browsers chrome,firefox,safari
# Run with a specific environment
aspectiq run tests/ --env staging
After a successful run, you'll see output like:
AspectIQ Test Runner v3.2.1
──────────────────────────────────────
Running: Login Flow
Browser: Chrome 124 · Headless
Environment: staging
✓ Navigate to /login 142ms
✓ Fill email field 88ms
✓ Fill password field 62ms
✓ Click "Sign In" button 234ms
✓ Assert: Dashboard heading visible 44ms
✓ Assert: User avatar displayed 38ms
──────────────────────────────────────
✓ 6 steps passed · 0 failed · 608ms total
→ Report: https://app.aspectiq.com/runs/run_a1b2c3
Configuration Reference
Full list of configuration options available in aspectiq.config.yml:
| Key | Type | Default | Required | Description |
|---|---|---|---|---|
project.id | string | — | Required | Your AspectIQ project ID |
defaults.browser | string | chrome | Optional | Default browser for test runs |
defaults.timeout | number | 30000 | Optional | Per-step timeout in milliseconds |
defaults.retries | number | 2 | Optional | Number of retry attempts on failure |
ai.self_healing | boolean | true | Optional | Enable AI-powered self-healing |
ai.healing_confidence | number | 0.85 | Optional | Minimum confidence score (0–1) for element matching |
What's Next?
Now that you've run your first test, explore the rest of the documentation:
- Learn about Locator Strategies and how AspectIQ's AI picks the most resilient selectors
- Set up GitHub Actions integration for CI/CD automation
- Explore Self-Healing configuration options for your team's tolerance levels
- Add Data-Driven testing with parameterized test cases
- Configure Cross-Browser test matrices for parallel execution