Java Cheat Sheet
Java basics, OOP, exception handling, strings, methods, and collections from the Selenium foundation module.
A public reference library for our programming foundations, Selenium, Playwright, and AI-for-QA tracks. These sheets are designed for faster revision, live sessions, interview prep, and daily implementation work.
The structure mirrors the actual course tracks we teach. Instead of one giant mixed reference page, each sheet now maps to a meaningful module cluster: Java and JavaScript foundations, Selenium execution patterns, Playwright core and advanced workflows, plus the AI stack around prompting, RAG, MCP, agents, LangFlow, and n8n.
Java basics, OOP, exception handling, strings, methods, and collections from the Selenium foundation module.
Variables, functions, arrays, objects, async/await, closures, modules, and automation-friendly patterns.
Type annotations, interfaces, unions, generics, narrowing, utility types, and typed Playwright patterns.
Core Selenium commands, waits, locators, alerts, frames, windows, and quick WebDriver reminders.
XPath, CSS selectors, dynamic locators, relative locators, and reliable element targeting strategies.
Implicit waits, explicit waits, fluent waits, ExpectedConditions, and synchronization patterns.
Annotations, lifecycle hooks, DataProviders, assertions, testng.xml, listeners, retries, and parallel runs.
POM, BasePage, DTOs, framework structure, reporting, retries, and maintainable test design.
Selenium Grid architecture, RemoteWebDriver, Docker Grid, capabilities, scaling, and CI usage.
Browser setup, locators, assertions, waits, mocking, frames, tracing, and device testing.
Network interception, mocking, files, dialogs, frames, multiple pages, auth, mobile, and visual testing.
Config, fixtures, reporters, hooks, retries, annotations, parameterization, and debugging flows.
APIRequestContext, request setup, validation, auth, hybrid API+UI checks, and common response patterns.
Framework architecture, data/config handling, Docker, GitHub Actions, reporting, and parallel CI execution.
Branches, commits, pull requests, workflow YAML, matrix builds, artifacts, secrets, and caching.
Jenkins pipelines, agents, Jenkinsfile structure, artifacts, reports, notifications, and QA pipeline usage.
LLM terms, prompting basics, tokens, temperature, hallucinations, evaluation, and QA-oriented usage habits.
Role-based prompting, zero-shot vs precise prompts, STAR, CLEAR, CRISP, RICE POT, and QA prompt templates.
ChatGPT, Claude, Gemini, local LLMs, coding assistants, tool setup, and when to use each workflow.
Chunking, embeddings, vector search, retrieval flow, prompt assembly, and the RAG evaluation triad.
Host, client, server, tools, resources, prompts, transports, and real QA integration patterns.
Agent loop, planning, tool use, memory, guardrails, healing, and testing-oriented agent behaviors.
Flow design, prompts, models, vector stores, tools, RAG flows, and debugging visual pipelines.
Triggers, HTTP requests, code nodes, AI agents, vector stores, credentials, retries, and QA automations.
Requirement analysis, AI test plans, strategies, bug reports, metrics, and automation code generation patterns.
Repo-aware prompting, code review, debugging, automation generation, MCP usage, and guardrails for QA teams.
Local LLM setup, model pulls, CLI usage, API endpoint basics, privacy-friendly workflows, and QA use cases.
Accuracy, safety, hallucination checks, structured output validation, DeepEval, PromptFoo, Trulens, and CI evaluation.
The goal is to keep the cheat-sheet hub practical and stable. Each new page should stay tied to a real teaching module, keep the same structure, and remain lightweight enough to use during a live class or interview revision session.