Recall & Review
beginner
What is evidence collection in debugging?
Evidence collection means gathering information like logs, screenshots, and error messages during test runs to understand what happened.
Click to reveal answer
beginner
How does collecting screenshots help in debugging Selenium tests?
Screenshots show the exact state of the web page when a test fails, helping to see visual problems or unexpected page content.
Click to reveal answer
beginner
Why are logs important for debugging automated tests?
Logs record step-by-step actions and errors, making it easier to find where and why a test failed.
Click to reveal answer
intermediate
What role does evidence collection play in fixing bugs faster?
It provides clear clues about the problem, so developers spend less time guessing and more time fixing the issue.
Click to reveal answer
intermediate
Can evidence collection prevent repeated test failures? How?
Yes, by understanding the root cause through collected evidence, tests can be improved or fixed to avoid the same failure again.
Click to reveal answer
What type of evidence is most useful to see the exact page state during a Selenium test failure?
✗ Incorrect
Screenshots capture the visual state of the page at failure time, which logs or scripts cannot show.
Why are logs collected during automated tests?
✗ Incorrect
Logs help track what happened during the test, including errors and actions.
How does evidence collection support faster bug fixing?
✗ Incorrect
Clear clues reduce guesswork, helping developers fix bugs quickly.
Which of these is NOT a form of evidence collection in Selenium testing?
✗ Incorrect
Writing test scripts is creating tests, not collecting evidence during test runs.
What can happen if you do NOT collect evidence during debugging?
✗ Incorrect
Without evidence, debugging is guesswork and takes longer.
Explain why collecting screenshots and logs during Selenium test failures helps debugging.
Think about what each type of evidence shows you.
You got /3 concepts.
Describe how evidence collection can prevent repeated test failures.
Focus on how knowing the problem helps improve tests.
You got /3 concepts.