Bird
0
0

Given this acceptance test scenario:

medium📝 Predict Output Q4 of 15
Testing Fundamentals - Testing Types and Levels
Given this acceptance test scenario:
Given the user is on the homepage
When the user clicks the 'Login' button
Then the login page is displayed

What is the expected outcome when this test runs?
AThe login page should appear after clicking the 'Login' button
BThe homepage should reload after clicking the 'Login' button
CAn error message should display after clicking the 'Login' button
DThe user should be logged out automatically
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the scenario steps

    The user starts on the homepage, clicks 'Login', and expects the login page to show.
  2. Step 2: Match expected outcome with scenario

    The login page should appear after clicking the 'Login' button matches the expected result. Other options describe unrelated or incorrect outcomes.
  3. Final Answer:

    The login page should appear after clicking the 'Login' button -> Option A
  4. Quick Check:

    Scenario outcome = Login page appears [OK]
Quick Trick: Match 'Then' step with expected test result [OK]
Common Mistakes:
  • Confusing page reload with navigation
  • Expecting error messages without error conditions
  • Assuming automatic logout without scenario mention

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes