Bird
Raised Fist0

Consider this acceptance test scenario for a login feature:

medium📝 Predict Output Q13 of Q15
Testing Fundamentals - Testing Types and Levels
Consider this acceptance test scenario for a login feature:
Given the user is on the login page
When the user enters valid credentials
Then the user should see the dashboard

What is the expected outcome when this test runs?
AThe user is redirected to the dashboard page
BThe application crashes
CThe login page reloads without changes
DThe user sees an error message about invalid credentials
Step-by-Step Solution
Solution:
  1. Step 1: Analyze the acceptance test steps

    The scenario says valid credentials are entered, so login should succeed.
  2. Step 2: Determine expected result from scenario

    After successful login, the user should see the dashboard, meaning redirection to dashboard page.
  3. Final Answer:

    The user is redirected to the dashboard page -> Option A
  4. Quick Check:

    Valid login = dashboard shown [OK]
Quick Trick: Valid login leads to dashboard, not error or crash [OK]
Common Mistakes:
MISTAKES
  • Choosing error message for valid credentials
  • Confusing page reload with successful login
  • Assuming crash on valid input

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes