Free QA practice website for test automation
TestYard is a free QA practice website where testers practise test automation on realistic web elements, tricky timing problems, demo applications and a sandboxed REST API. Use it with Selenium, Playwright, Cypress, WebdriverIO, Puppeteer, Postman, REST Assured or any other tool. It is open source, needs no sign-up and every control has a stable test id.
What you can practise
Web elements
Inputs, dropdowns, dialogs, drag & drop, frames, shadow DOM and more.
- Text inputs & forms – A classic data-entry form with client-side validation, error messages and a submitted-data summary.
- Radios, checkboxes & switches – Single and multi selection, indeterminate state, disabled options and enabling controls conditionally.
- Dropdowns & autocomplete – Native select, multi-select, a keyboard-driven autocomplete and a custom listbox with a long scrolling list.
- Date pickers – Native date, month and time inputs plus a custom calendar widget and a validated date range.
- Sliders & ranges – Single range input, a two-handle price range and keyboard control with arrow keys.
- File upload & download – Single and multiple upload with type/size validation, a drop zone, real server upload and genuine file downloads.
- Alerts, modals & popups – Native JavaScript dialogs, an accessible custom modal, cookie banner, entry ad, exit intent and new windows.
- Hover, menus & tooltips – Content revealed only on hover or focus: nested menus, user cards and tooltips.
- Mouse & keyboard actions – Double click, right click with a custom context menu, click-and-hold and keyboard event capture.
- Drag & drop – HTML5 drag and drop: a single draggable, a sortable list and a matching game.
- iFrames & windows – Single and nested iframes plus tabs and popup windows that you must switch between.
- Shadow DOM – Open, nested and closed shadow roots — and what your locator engine can (and cannot) reach.
- Tabs & accordion – ARIA tabs with arrow-key navigation and an accordion where only one panel is open at a time.
- Notifications & add/remove – Auto-dismissing toasts, randomised notification text and elements added or removed at runtime.
- Scrolling & infinite scroll – Elements below the fold, a sticky menu inside a scroll container and content that loads as you scroll.
- Links, redirects & images – Links that return real HTTP status codes, redirect chains and broken versus healthy images.
- SVG elements – Interactive SVG shapes and text. Locators behave differently inside <svg>; learn the namespace gotchas.
Tables & grids
Static, dynamic and paginated data grids with sorting and filtering.
- Static table – A fixed table with a header, footer and totals — the baseline for row/column assertions.
- Dynamic table – Values and even the column order change on every load. Locate cells by header text and row label.
- Data grid: sort, filter, paginate – 120 rows with search, column sorting, page-size control, row selection and delete — all client-side.
Dynamic & timing
Waits, flaky behaviour, slow resources and elements that move.
- Dynamic controls – Elements that are removed, added, enabled and disabled asynchronously after a server-like delay.
- Dynamic loading – Content that is hidden in the DOM, or not rendered at all, until a slow operation finishes.
- Flaky behaviour – A button that sometimes fails, an element that re-renders under your feet and a stale-element trap.
- Slow resources – Images and API calls with a configurable delay. Practise timeouts, spinners and network interception.
- Unstable UI – Layout shifts, random typos, disappearing menu items and a button whose label changes every load.
- Flaky test lab – Twelve classic UI flakes: late buttons, overlays, moving targets, stale nodes, vanishing toasts and more.
- Flaky network & async – Failing-then-succeeding APIs, race conditions, out-of-order results, late options and flapping connections.
- Flaky state & time – Clock-dependent text, leaking storage, random data, viewport and locale differences and slow transitions.
- Flaky root causes & retries – Why tests flake, how to fix each cause, a retry and quarantine checklist and a run-it-N-times simulator.
- Lazy loading & scroll – Load-more buttons, infinite scroll with IntersectionObserver, skeleton screens and lazy images.
- Progress bars & polling – Background jobs with real polling, progress bars, retry with back-off and a live counter.
- Type-ahead & races – A search box where slow, older responses can overwrite newer ones. Debounce, cancel, and wait correctly.
- Lazy tabs & accordions – Tabs and accordion panels that fetch their content on first open and then cache it.
- Changing states – Text, attributes, overlays and shadow content that change after a delay: wait for each kind of change.
- Network waits – Parallel requests, network idle, delayed redirects and responses you must wait for explicitly.
Locators & DOM
Tricky selectors, changing IDs and very large DOM trees.
- Dynamic IDs & classes – Every render generates new ids and class names. Learn selectors that survive: text, role, data attributes and structure.
- Challenging DOM – Three buttons that swap ids, a table whose cells must be found by neighbours, and a canvas with random text.
- Large & deep DOM – A 50 × 50 table (2 500 cells) and a 40-level nested tree — stress for selectors and performance.
- Locator Lab – One workbench for CSS, XPath, axes and Playwright locators: 95+ tricky scenarios with live match checking.
- Locator cheat sheet – CSS, XPath functions and axes, Playwright built-in locators, every key method and Selenium, searchable.
Playwright lab
Auto-waiting, network mocking, tracing, fixtures, clocks and every other Playwright topic.
- Actionability checks – Disabled, covered, moving, off-screen and re-rendered elements: see what Playwright waits for before it acts.
- Web-first assertions – Values that change after a delay: practise retrying expect() matchers, polling and soft assertions.
- Network mocking – A UI that calls real API endpoints and logs every request: mock, block, delay and wait for them.
- API testing with request – Mix the request fixture and the UI: create data over HTTP, then verify it in the browser.
- Auth & storage state – Log in once, save storageState and reuse it. Tokens in localStorage, role cookies and expiring sessions.
- Popups & multiple tabs – window.open popups, target=_blank tabs and a two-tab chat that talks over BroadcastChannel.
- Frames & shadow piercing – A payment iframe, a late-loading frame, nested frames and open/closed shadow roots.
- Dialogs, downloads, uploads – JS dialogs, beforeunload, real downloads and every flavour of file upload, including file choosers.
- Keyboard, mouse & touch – Event loggers for keys, mouse, wheel, pointer drag, touch taps and the clipboard.
- Clock & timers – Countdowns, session timeouts, debounce and dates: control time with page.clock instead of waiting.
- Emulation & permissions – Readouts for viewport, locale, timezone, colour scheme, geolocation, permissions and offline mode.
- Visual & a11y testing – Screenshot baselines with masks, ARIA snapshots and a form with real, fixable accessibility defects.
- Fixtures: scopes & page objects – Learn test.extend: test and worker scope, page-object fixtures, auto and option fixtures, with a simulator and a Todo app to practise on.
Demo applications
Login, notes, shop and booking apps for end-to-end flows.
- Login, register & OTP – A complete account flow backed by the real API: register, log in, reset password, one-time passcode and a profile page.
- Notes app – A task and note manager (create, edit, complete, filter, search, delete) talking to the authenticated Notes API.
- E-commerce shop – Search, filter, sort and paginate products from the API, manage a cart and check out to create a real order.
- Flight booking wizard – A four-step end-to-end flow: search, choose, passenger details and payment, with validation at every step.
- Mini apps: BMI, password, tips – Three small calculators with clear business rules — ideal for boundary-value and equivalence-class testing.
API lab
A real sandboxed REST API, live docs and a request console.
- API reference – Every endpoint of the sandbox REST API, generated live from the OpenAPI document. Your data is private to your sandbox id.
- Request console – A Postman-style request builder built into the page: send requests, inspect responses and copy them as cURL.
- API test challenges – A checklist of API test ideas, from simple status checks to isolation and resilience. Tick them off as you automate them.
Frameworks & learning
Build a full automation framework step by step.
- Build an automation framework – A 22-step roadmap, a maturity checklist and deep starters for Playwright, Selenium, Cypress, API, BDD and more.
- Locators, waits & assertions cheatsheet – The same ideas in Playwright, Selenium (Python) and Cypress side by side.
- CI/CD for test automation – Stages, quality gates, sharding, caching, artifacts, flaky quarantine and the checklist for a trustworthy pipeline.
- GitHub Actions workflows – Copy-paste workflows: sharded PR runs, nightly cross-browser, reusable jobs, Selenium Grid, Newman and Pages reports.
- Jenkins, GitLab & Azure – Jenkinsfile, GitLab CI, Azure Pipelines, CircleCI and Bitbucket pipelines for browser tests.
- Docker & reports – Run tests in containers, wire up HTML, JUnit and Allure reports, read traces and track flake rate.
- Pipeline builder – Pick a CI provider, framework, browsers, sharding and triggers and get a ready-to-edit pipeline file.
Tools & diagnostics
Selector tester, status codes, headers, console and errors.
- HTTP & browser diagnostics – Status code explorer, request headers, your IP and browser information — all served by the real API.
- Cookies, storage, console & errors – Read and write cookies and localStorage, request geolocation, emit console messages and throw real JavaScript errors.
Frequently asked questions
What is a QA practice website?
A QA practice website is a safe site built for testers to practise on. Its pages and APIs are stable and public, so you can automate or manually test them without touching a real product.
Is TestYard free?
Yes. TestYard is open source under the MIT licence. There is no sign-up, no paywall and no advertising.
Which automation tools can I use?
Any of them. Selenium in every language, Playwright, Cypress, WebdriverIO, TestCafe and Puppeteer for UI tests, and Postman, Insomnia, Bruno, REST Assured or Python requests for API tests.
Can I practise API testing?
Yes. The API lab has a real REST API with an OpenAPI document. It covers CRUD, pagination, bearer-token authentication, one-time passwords, validation errors, rate limiting, redirects, delays, flaky responses and file upload and download. Each visitor gets an isolated data sandbox.
What can I practise on the web pages?
Forms and validation, dropdowns, date pickers, drag and drop, iframes, shadow DOM, dynamic waits, data tables, locators and XPath, and complete demo apps such as login, a notes app, an online shop and a flight booking wizard.
Where should a beginner start?
Start with Text inputs and forms, then Dropdowns, Static table and Dynamic loading. Move on to the Login app and finish with the API request console.
Can I host TestYard myself?
Yes. Clone the repository and run npm start, or use the included Dockerfile. It has no dependencies and no build step.