SynthQA

Automation Guide

Export your test suites as complete, ready-to-run automation projects. Supports Playwright, Cypress, Selenium, Puppeteer, TestCafe, and WebDriverIO.

Guide
Introduction

Overview

What is Automation Export?
Transform your manual test cases into executable automation projects across multiple frameworks.

The Automation Export feature converts your SynthQA test suites into complete, production-ready test projects for your preferred framework. Export once, run anywhere — locally or in your CI/CD pipeline.

  • One-click export of entire test suites
  • Six supported frameworks: Playwright, Cypress, Selenium, Puppeteer, TestCafe, WebDriverIO
  • Complete project structure with all dependencies
  • Pre-configured settings and test files
  • Test data snapshots for reference and validation
  • Ready for CI/CD integration (GitHub Actions, GitLab CI, etc.)
FeatureManual TestingAutomation Export
Execution timeMinutes to hours per testSeconds per test
RepeatabilityVaries by tester100% consistent
Regression testingTime-intensiveRun anytime, instantly
CI/CD integrationNot applicable✓ Full support
Initial setupNone~5 minutes (one-time)
Prerequisites
What you need before exporting tests.
  • Active SynthQA account (Pro plan)
  • At least one test suite with test cases
  • Node.js 18+ installed on your machine (for running tests)
  • Basic understanding of command line operations
  • Optional: Test cases with defined test steps for richer automation
Choose your stack

Supported Frameworks

All supported frameworks
SynthQA exports to all major web automation frameworks.
FrameworkLanguageBest ForSynthQA Support
PlaywrightTypeScript / JSModern web apps, cross-browserFull export
CypressJavaScriptFrontend-heavy apps, E2EFull export
SeleniumJava / Python / JSLegacy apps, enterpriseFull export
PuppeteerJavaScriptChrome automation, scrapingFull export
TestCafeJavaScriptNo-driver cross-browser testingFull export
WebDriverIOJavaScriptWeb + mobile, W3C WebDriverFull export

Quick start

Getting Started

Three simple steps
From test suite to running automation in minutes.
1

Navigate

Go to your test suite and click the "Automation" button to access the Automation Hub.

2

Choose & Export

Select your framework, then click "Export" to download a complete project as a ZIP file.

3

Run

Extract the ZIP, install dependencies, configure your environment, and run your tests.

Step-by-step

Automation Hub

Download

Exporting Tests

Export process
How to export your suite as an automation project.
What happens when you export:
  1. Select your framework in the Automation Hub
  2. Click "Export to [Framework]"
  3. System generates a complete project (5–10 seconds)
  4. ZIP file downloads automatically
  5. File name: synthqa-[framework]-[suite-name].zip

Understanding the export

Project Structure

Configuration

Setup & Installation

Execution

Running Tests

Run commands by framework
Each framework has its own run command — all are pre-configured in the exported package.json.
pnpm test               # headless
pnpm test:headed        # with browser UI
pnpm test:debug         # Playwright Inspector

Advanced

Enhancement Options

Automation metadata
Pre-fill your tests with selectors, URLs, and test data across any framework.

Instead of exporting tests with TODO placeholders, you can enhance test cases with automation metadata to generate pre-filled, near-ready tests regardless of which framework you use.

❌ Without metadata
// TODO: Navigate to login page
await page.goto('???');

// TODO: Fill email field
await page.fill('???', '???');
✅ With metadata
// Navigate to login page
await page.goto('/login');

// Fill email field
await page.fill('#email',
  'test@example.com');
Quality

Best Practices

Selector strategies
Choosing reliable selectors — applies to all frameworks.
✅ Best: Test IDs
[data-testid="login-btn"]
Stable, explicit, purpose-built for testing
⚠️ OK: IDs / Names
#email-input
Reasonable if they're stable and semantic
❌ Avoid: CSS Classes
.btn-primary
Fragile — changes with styling updates
Do's and Don'ts
✅ Do
  • Define test steps before exporting
  • Use descriptive suite and test names
  • Keep tests independent and isolated
  • Use environment variables for test data
  • Re-export when test cases are updated
  • Commit your exported project to version control
❌ Avoid
  • Tests that depend on each other
  • Hardcoded URLs and credentials in tests
  • Exporting suites with no test steps defined
  • Ignoring failed tests without investigation
  • Committing .env files to version control
  • Mixing multiple features in one suite
Common issues

Troubleshooting

FAQ

Frequently Asked Questions

Help

Support

Getting help
Contact options:
  • Email: support@synthqa.app
  • Use the feedback button in your dashboard
When reporting export issues, include:
  • Suite ID and name
  • Framework selected
  • Browser console errors (if any)
  • Whether download started or failed silently
Last updated: March 2026 · Guide version: 2.0