Assessment Overview

Congratulations on reaching the end of Module 8: Test Automation. This assessment tests your understanding of all topics covered in lessons 8.1 through 8.29, spanning automation strategy, design patterns, tools, frameworks, and best practices.

The assessment has three parts:

PartFormatQuestionsTime Estimate
Part 1Multiple-choice quiz10 questions10 minutes
Part 2Scenario-based questions3 scenarios20 minutes
Part 3Practical exercise1 exercise30 minutes

How to Use This Assessment

Before you begin:

  • Review your notes from Module 8
  • Do not use reference materials during the quiz (Part 1) — test your recall
  • For Parts 2 and 3, you may reference earlier lessons

Scoring:

  • Part 1: 40 points (4 points per question)
  • Part 2: 30 points (10 points per scenario)
  • Part 3: 30 points
  • Passing score: 70+ points

Part 1: Multiple-Choice Quiz

Complete the 10-question quiz in the frontmatter above. Each question has one correct answer. Take your time and read all options before selecting.

Part 2: Scenario-Based Questions

Scenario 1: Framework Selection

Your company is building a new e-commerce web application. The development team uses TypeScript and React. Requirements include:

  • Cross-browser testing (Chrome, Firefox, Safari)
  • Multi-tab testing for OAuth login flows
  • API testing alongside UI testing
  • CI/CD pipeline integration with fast execution
  • Team of 3 QA engineers, all comfortable with TypeScript

Question: Which testing framework (Selenium, Playwright, or Cypress) would you recommend? Justify your choice with at least 3 specific reasons tied to the requirements above. Also identify one limitation of your chosen framework and how you would mitigate it.

Scenario 2: Flaky Test Investigation

Your CI pipeline has a test that fails approximately 10% of the time. The test:

  1. Logs in as admin
  2. Navigates to the user management page
  3. Searches for a specific user
  4. Clicks the “Deactivate” button
  5. Asserts that a “User deactivated” success message appears

Question: List 3 possible root causes for this flakiness, ordered from most to least likely. For each cause, describe the specific fix you would apply. Also describe what preventive measures you would put in place to catch similar issues in future tests.

Scenario 3: Automation Strategy

You join a company with 500 manual regression test cases. The team has no test automation. Management wants to “automate everything” within 3 months.

Question: Create a realistic automation strategy that addresses:

  1. Which tests to automate first and why (prioritization criteria)
  2. Which tests should remain manual and why
  3. A phased timeline for the first 3 months
  4. How you would measure success (specific metrics)
  5. Risks and how to mitigate them

Part 3: Practical Exercise

Exercise: Design a Test Automation Framework

Design the architecture for a test automation framework for a web application with the following requirements:

  • Login page, dashboard, product catalog, shopping cart, checkout
  • API endpoints for user management and order processing
  • Must support both UI and API testing
  • Must generate Allure reports with screenshots on failure
  • Must run in CI/CD (GitHub Actions)

Deliverables:

  1. Project structure — directories, key files, and their purposes
  2. Page Object classes — design (not full implementation) for LoginPage, DashboardPage, and CartPage
  3. Test data strategy — how test data will be created and managed
  4. CI/CD configuration — GitHub Actions workflow outline
  5. Reporting — how test evidence (screenshots, video, Allure) will be captured and stored

Present your design as a document with diagrams or pseudocode. Focus on architecture decisions and justifications rather than complete code.

After Completing the Assessment

If You Scored 90+

Excellent. You have a strong grasp of test automation concepts and are ready for Module 9: CI/CD and DevOps, where you will integrate automation into delivery pipelines.

If You Scored 70-89

Good foundation. Review the lessons corresponding to questions you missed, then proceed to Module 9.

If You Scored Below 70

Review lessons 8.1-8.12 (fundamentals and patterns) and 8.13-8.17 (tools) before retaking the assessment. Focus on understanding the “why” behind each concept, not just the “what.”

What’s Next

Module 9: CI/CD and DevOps builds directly on Module 8. You will learn to integrate the test automation skills from this module into continuous integration pipelines, configure parallel test execution, manage test environments, and implement quality gates that block deployments when tests fail.