Skip to main content
Documentation

Getting Started

Start your test automation journey in under 5 minutes. No signup required, no API keys needed.

Quick Start: API Testing

Step 1: Try the API

bash
# Test from command line
curl https://api.testauto.app/api/v1/tasks

# Or open in browser
https://api.testauto.app/api/v1/tasks

Step 2: View API Documentation

Open Swagger UI to explore all available endpoints interactively.

Step 3: Write Your First Test

javascript
// JavaScript/Node.js
import axios from 'axios';

const response = await axios.get('https://api.testauto.app/api/v1/tasks');
console.log(`Found ${response.data.totalElements} tasks`);

// Python
import requests

response = requests.get('https://api.testauto.app/api/v1/tasks')
print(f"Found {response.json()['totalElements']} tasks")

Quick Start: UI Testing

Choose Your Mode

πŸŽ“ Beginner: SSR Mode

AI can help, simpler testing

Try SSR Mode

⚑ Advanced: SPA Mode

Real browser automation required

Try SPA Mode

Install Playwright (Recommended)

bash
npm install @playwright/test
npx playwright install

Write Your First UI Test

typescript
import { test, expect } from '@playwright/test';

test('task manager loads', async ({ page }) => {
  await page.goto('http://localhost:3000/task-manager');
  await expect(page.locator('h1')).toContainText('Task Manager');
  
  const taskCount = await page.locator('.task-table tbody tr').count();
  console.log(`Found ${taskCount} tasks`);
});

What to Test?

API Testing Checklist

  • βœ… List all tasks (GET /tasks)
  • βœ… Get single task (GET /tasks/:id)
  • βœ… Create task (POST /tasks)
  • βœ… Update task (PUT /tasks/:id)
  • βœ… Delete task (DELETE /tasks/:id)
  • βœ… Test pagination
  • βœ… Test filtering by status
  • βœ… Test search functionality
  • βœ… Handle 404 errors
  • βœ… Validate response schemas

UI Testing Checklist

  • βœ… Page loads correctly
  • βœ… Search tasks
  • βœ… Filter by status
  • βœ… Create new task
  • βœ… Edit existing task
  • βœ… Delete task
  • βœ… Change task status
  • βœ… Test pagination controls
  • βœ… Verify scorecard counts
  • βœ… Test responsive design

Next Steps

Need Help?

πŸ’¬ Using AI Assistants: For SSR mode, ask Claude or ChatGPT to fetch http://localhost:3000/task-manager and they can read the HTML to help you write tests!

For SPA mode, you'll need real browser automation tools. Check out the UI Testing Guide for detailed setup instructions.