0
0
Testing Fundamentalstesting~20 mins

When to automate vs manual test in Testing Fundamentals - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Automation vs Manual Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
When is automation testing preferred over manual testing?

Choose the best scenario where automation testing is more suitable than manual testing.

ATesting a feature that requires repetitive execution with stable requirements.
BTesting a new feature with frequently changing requirements.
CExploratory testing to find unexpected bugs.
DUsability testing that requires human judgment.
Attempts:
2 left
💡 Hint

Think about when repeating the same steps many times is needed.

🧠 Conceptual
intermediate
2:00remaining
Why might manual testing be chosen over automation?

Identify the reason manual testing is preferred in some cases.

AWhen tests need to be run thousands of times quickly.
BWhen the test is fully scripted and stable.
CWhen the test requires human intuition and visual feedback.
DWhen the test is part of a continuous integration pipeline.
Attempts:
2 left
💡 Hint

Consider tests that need human feelings or opinions.

Predict Output
advanced
2:00remaining
What is the output of this test automation decision code?

Given the following Python code that decides whether to automate or manually test a feature, what will be printed?

Testing Fundamentals
def decide_test_type(repetitive: bool, stable_requirements: bool, needs_human_judgment: bool) -> str:
    if repetitive and stable_requirements and not needs_human_judgment:
        return "Automate"
    elif needs_human_judgment:
        return "Manual"
    else:
        return "Manual"

print(decide_test_type(repetitive=True, stable_requirements=False, needs_human_judgment=False))
AAutomate
BManual
CSyntaxError
DTypeError
Attempts:
2 left
💡 Hint

Check the conditions carefully and see which branch matches the input.

assertion
advanced
2:00remaining
Which assertion correctly verifies automation suitability?

You have a function should_automate(repetitive, stable_requirements, needs_human_judgment) that returns True if automation is suitable. Which assertion correctly tests that automation is chosen for repetitive and stable tests without human judgment?

Testing Fundamentals
def should_automate(repetitive, stable_requirements, needs_human_judgment):
    return repetitive and stable_requirements and not needs_human_judgment
Aassert should_automate(True, True, False) == True
Bassert should_automate(True, False, False) == True
Cassert should_automate(False, True, False) == True
Dassert should_automate(True, True, True) == True
Attempts:
2 left
💡 Hint

Check when the function returns True based on the logic.

framework
expert
2:00remaining
Which test case is best suited for automation in a CI/CD pipeline?

In a continuous integration/continuous deployment (CI/CD) pipeline, which test case below is best suited for automation?

AA test that requires manual approval from a product owner before proceeding.
BA test that requires a tester to evaluate the look and feel of a new UI design.
CA test that involves exploratory steps to find new bugs in a new feature.
DA test that checks if the login page loads correctly every time code is pushed.
Attempts:
2 left
💡 Hint

Think about tests that can run automatically without human input in CI/CD.