How do test levels relate to the Test Planning phase?

  • Test levels are ignored during test planning.
  • Test levels define the sequence of unit, integration, and system testing.
  • Test levels determine the software architecture.
  • Test levels inform what documentation is necessary.
Test levels, which include stages like unit, integration, system, and acceptance testing, play a critical role in the Test Planning phase. They help in organizing the sequence and scope of testing activities, ensuring that all components of the software are thoroughly evaluated at the appropriate stages.

Which type of test cases are usually NOT a good fit for automation?

  • Database test cases
  • Exploratory test cases
  • Load test cases
  • Regression test cases
Exploratory test cases are based on real-time learning and testers' expertise. Automation is not suitable because these tests are often non-repetitive, less predictable, and leverage the human ability to spot unexpected issues in an ad-hoc manner.

Which of the following is a significant benefit of automated testing?

  • Elimination of human errors in testing
  • Ensuring software is defect-free
  • Immediate feedback to developers
  • Reduction in testing costs
Automated testing significantly reduces the chances of human errors that can be introduced during manual testing. While it doesn't guarantee defect-free software, it provides a consistent and repeatable set of tests, ensuring that previously tested functionality remains intact.

How would you differentiate between a heuristic evaluation in usability testing and standard user interface testing?

  • Method of Analysis
  • Test Execution Speed
  • Tools Used
  • Type of Defects Detected
Heuristic evaluation and standard user interface testing differ mainly in their method of analysis. A heuristic evaluation is a usability inspection method where evaluators, usually usability experts, compare a software product against a set of usability principles or heuristics. In contrast, standard UI testing is often scenario-based.

_______ are typically used as placeholders for activities that should be developed during incremental integration testing.

  • Drivers
  • Simulators
  • Stubs
  • Test Harnesses
Stubs are used in incremental integration testing as placeholders for modules that have not yet been developed. They simulate the behavior of these missing modules and allow testing to continue in the presence of incomplete components.

When managing an automated test suite, what's the primary purpose of regularly updating and maintaining the test suite?

  • To accommodate new testing tools
  • To ensure the test suite matches the current application
  • To integrate with third-party applications
  • To make the suite look appealing
Regularly updating and maintaining an automated test suite is crucial to ensure that the suite is always in sync with the current version of the application. As software evolves, test cases that were once relevant might become obsolete, and new test scenarios may arise. Maintenance ensures the suite remains effective and reflective of current needs.

During a project review, it's revealed that certain parts of the codebase have been overlooked during testing. Which white-box testing metric might help identify these areas?

  • Cyclomatic Complexity
  • Load Testing
  • Reliability Testing
  • Response Time
Cyclomatic Complexity is a white-box testing metric used to determine the complexity of a program. It calculates the number of linearly independent paths through a program's source code. A higher complexity score can indicate areas of the code that might be riskier or overlooked during testing, thus requiring more thorough testing.

In the context of risk management, the term used to describe the level of risk after mitigation efforts have been applied is known as _______ risk.

  • controlled
  • inherent
  • initial
  • residual
Residual risk is the risk that remains after all risk response, mitigation, or prevention activities have been implemented. It represents the remaining threat even after you've taken measures to reduce the severity or likelihood of the adverse event.

Which tool is open-source and widely used for web application automation testing?

  • Appium
  • Cucumber
  • Selenium
  • TestNG
Selenium is an open-source framework specifically designed for web application automation testing. It supports various browsers and languages like Java, C#, and Python. While other tools like Appium, TestNG, and Cucumber have their specialties, Selenium stands out for web automation.

Imagine you are working on a software project with very tight deadlines. The development team frequently releases new features. How would you approach testing in this environment?

  • Conduct tests only after major releases.
  • Implement rigorous regression testing.
  • Prioritize risk-based testing.
  • Stick to exhaustive manual testing.
In environments with tight deadlines and frequent releases, exhaustive testing isn't always feasible. Risk-based testing allows the team to prioritize critical areas and ensures that the most impactful and risk-prone features are tested first. This approach ensures better utilization of limited time and resources.