🔥 Live 2,847 QA engineers learning right now — Start Free Automation Roadmap →
📄 Free Download — No Email Required

QA Automation
Master Cheat Sheet

500+ commands, patterns and quick references for Selenium, Cypress, Playwright, API Testing, CI/CD, SQL and more — all in one printable PDF.

🌐 Selenium 🌲 Cypress 🎭 Playwright 🔌 REST Assured 🧪 TestNG 🔵 JUnit 5 ⚙️ GitHub Actions 🐋 Docker 🗄️ SQL 📬 Postman 📋 Manual Testing 🏗️ CI/CD
📄
8 Pages
QA Automation Master Cheat Sheet 2025
A4 PDF · 8 pages · Printable · Dark & Light friendly
Selenium · Cypress · Playwright · API · CI/CD · SQL · Interview
Download Free PDF
2+ QA engineers downloaded this
500+ Commands
12 Tools Covered
8 Pages
A4 Print Ready
100% Free

What's Inside

8 chapters covering every tool a QA engineer or SDET needs to reference daily

🌐
① Selenium WebDriver
Locators (ID/CSS/XPath), WebDriver actions, explicit & fluent waits, alerts, frames, multiple windows, Actions class
Locators XPath Waits Actions Windows
🌲
② Cypress & Playwright
All core Cypress commands, Playwright locators & assertions, network mocking, visual testing, framework comparison table
cy.get() page.locator() Intercept Visual Testing
🔌
③ API Testing
HTTP status codes reference, REST Assured BDD syntax (GET/POST/PUT/DELETE), Postman pre-request scripts, schema validation
Status Codes REST Assured Postman Schema
📋
④ Manual Testing
BVA, Equivalence Partitioning, Decision Table, State Transition, all testing types, full bug lifecycle, Severity × Priority matrix
BVA EP Bug Lifecycle Test Types
🧪
⑤ TestNG & JUnit 5
All annotations with execution order, assertion methods, SoftAssert, @DataProvider, JUnit 5 parameterized tests
Annotations Assertions SoftAssert @DataProvider
⚙️
⑥ CI/CD & DevOps
GitHub Actions YAML pipeline, Jenkins declarative pipeline, Docker + Selenium Grid, essential Git commands for QA teams
GitHub Actions Jenkins Docker Git
🗄️
⑦ SQL for QA
Data verification queries, INSERT/UPDATE/DELETE patterns, JOINs, GROUP BY, NULL handling, test data cleanup safely
SELECT JOIN GROUP BY Test Data
🎓
⑧ SDET Interview Ref
Top 50 QA/SDET terms defined, interview question checklists, what to say for framework design, flaky tests, test pyramid
50 Terms Checklists Framework Q Patterns

Preview — Sample Content

A glimpse of what's inside the cheat sheet

Selenium WebDriver Java
// Locator Strategies
By.id("loginBtn")
By.cssSelector(".card > button.submit")
By.xpath("//button[contains(text(),'Login')]")

// Explicit Wait
new WebDriverWait(driver, Duration.ofSeconds(10))
  .until(ExpectedConditions
    .elementToBeClickable(By.id("btn")));

// Actions class
new Actions(driver)
  .moveToElement(menu)
  .click(subItem)
  .build().perform();
Playwright TypeScript
// Modern locators (no XPath needed!)
await page.getByRole('button', {name: 'Login'}).click();
await page.getByLabel('Email').fill('test@qa.com');
await page.getByPlaceholder('Search...').type('selenium');

// Network mock
await page.route('**/api/users', route => {
  route.fulfill({ json: [{id: 1, name: 'Test'}] });
});

// Visual snapshot
await expect(page).toHaveScreenshot('home.png');
REST Assured API Testing Java
// GET — verify status + body
given()
  .baseUri("https://api.example.com")
  .header("Authorization", "Bearer " + token)
.when()
  .get("/users/1")
.then()
  .statusCode(200)
  .body("name", equalTo("John"))
  .time(lessThan(2000L));

// POST — create resource
given().contentType(ContentType.JSON)
  .body(userJson)
.when().post("/users")
.then().statusCode(201)
  .body("id", notNullValue());
GitHub Actions CI Pipeline YAML
name: Selenium Tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-java@v4
        with: {java-version: "17"}
      - name: Run Tests
        run: mvn test -Dheadless=true
      - uses: actions/upload-artifact@v4
        if: always()
        with:
          name: test-report
          path: target/surefire-reports/
📡 HTTP Status Codes — Quick Reference (from the cheat sheet)
CodeNameMeaning for QA
200OKSuccess — verify response body matches expected data
201CreatedPOST succeeded — assert location header + new ID in body
400Bad RequestValidation failed — test with missing/invalid fields
401UnauthorizedNo/invalid token — test auth boundary cases
403ForbiddenValid auth but wrong role — test RBAC scenarios
404Not FoundResource missing — test deleted or non-existent IDs
429Too Many RequestsRate limit hit — test API throttling behavior
500Server ErrorBackend crash — log, report, investigate server logs
📥
Get the Full 8-Page PDF Free

Download instantly — no email, no signup, no paywall. Just pure QA reference material.

✅ Downloading your QA Cheat Sheet PDF…