Module 1. Software testing fundamentals · Lesson 9 of 41 · 10 min

Introduction to test automation

What and when to automate, tools, Page Object, CI and how a manual tester can get started.

Automated tests in CICommit / PRBuildAutotestsReportsmoke on every commit · regression nightlyscreenshots · traces · log
Automated tests in CI. Every commit triggers the automated tests; results, screenshots and failure traces land in the report.

What to automate

  • Regression you run every release
  • Smoke after every deployment
  • API checks
  • Data-heavy scenarios

What not to automate

  • Features that still change often
  • One-off checks
  • Judging usability and look and feel
  • Exploratory testing

Tools

Task Popular tools
Web UI Playwright, Cypress, Selenium
API Postman/Newman, REST Assured, pytest + requests
Mobile Appium, Espresso, XCUITest
Desktop pywinauto, WinAppDriver
Performance k6, JMeter

Page Object

Each page is a class with its elements and actions. Tests call login_page.sign_in(user) instead of hunting for selectors. When the UI changes, you fix one place.

CI

Automated tests run on every pull request or deployment (GitHub Actions, GitLab CI, Jenkins). Results and failure screenshots end up in the report. In QA Tools a test runner can write results straight into the project next to the manual testing.

How a manual tester can start

  1. Learn the basics of a language (Python, JavaScript/TypeScript or Java).
  2. Pick one framework: Playwright or pytest.
  3. Automate 5 of your own smoke cases.
  4. Add a Page Object and run them in CI.

Key takeaways

  • Automate what's stable and repetitive, not everything.
  • Page Object makes tests resilient to UI changes.
  • Automated tests without CI quickly stop being run.

Check yourself

  1. 1. What should you automate first?

  2. 2. Why use Page Object?

  3. 3. Which tool is for load testing?