📄 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
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
🌲
② Cypress & Playwright
All core Cypress commands, Playwright locators & assertions, network mocking, visual testing, framework comparison table
🔌
③ API Testing
HTTP status codes reference, REST Assured BDD syntax (GET/POST/PUT/DELETE), Postman pre-request scripts, schema validation
📋
④ Manual Testing
BVA, Equivalence Partitioning, Decision Table, State Transition, all testing types, full bug lifecycle, Severity × Priority matrix
🧪
⑤ TestNG & JUnit 5
All annotations with execution order, assertion methods, SoftAssert, @DataProvider, JUnit 5 parameterized tests
⚙️
⑥ CI/CD & DevOps
GitHub Actions YAML pipeline, Jenkins declarative pipeline, Docker + Selenium Grid, essential Git commands for QA teams
🗄️
⑦ SQL for QA
Data verification queries, INSERT/UPDATE/DELETE patterns, JOINs, GROUP BY, NULL handling, test data cleanup safely
🎓
⑧ SDET Interview Ref
Top 50 QA/SDET terms defined, interview question checklists, what to say for framework design, flaky tests, test pyramid
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)
| Code | Name | Meaning for QA |
|---|---|---|
200 | OK | Success — verify response body matches expected data |
201 | Created | POST succeeded — assert location header + new ID in body |
400 | Bad Request | Validation failed — test with missing/invalid fields |
401 | Unauthorized | No/invalid token — test auth boundary cases |
403 | Forbidden | Valid auth but wrong role — test RBAC scenarios |
404 | Not Found | Resource missing — test deleted or non-existent IDs |
429 | Too Many Requests | Rate limit hit — test API throttling behavior |
500 | Server Error | Backend 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.
More Free QA Resources
Keep learning with these free tools and guides
✅ Downloading your QA Cheat Sheet PDF…