Manuals / Test Automation / Chapter 6

B · Technical Basics · beginner · Week 3 · Chapter 6 of 12

Your first automated script

Ship the loop: open → act → assert → see it fail → see it pass. Clean structure comes after the dopamine of green. Pick one stack for this chapter only.

Path progress
44%

Step 1 of 4

Pick a stack for this week

Playwright or Cypress are both fine starts. Commit to one for 7 days so tool-hopping does not steal learning.

Pick a stack for this weekDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Pick a stack for tdrag · tap →Try thisdrag · tap →Follow the dashed drag · tap →

Do this now

Install one tool. Run their sample test. Screenshot the green result.

Was this step clear?
Chapter learning outcomes
  • Install a runner
  • Write one happy path
  • Read a failure calmly

Clear these before you leave

Side quest

Happy + negative pair

Two tests: valid login and locked user. Both isolated — no shared state.