Which ONE of the following work products TYPICALLY belongs to test execution?
Answer : A
Test execution involves running test cases and documenting results. Test logs (A) provide evidence of executed tests, failures, and actual outcomes. Automated test scripts (B) are part of test implementation, test plans (C) belong to test planning, and test conditions (D) are identified during test analysis.
A virtual service emulating a real third-party service and the automated test scripts (aimed at testing the system under test) that interact with that service, are test work products that are typically created during:
Answer : B
This answer is correct because test implementation is the activity where test work products, such as test cases, test data, test scripts, test harnesses, test stubs, or virtual services, are created and verified. Test implementation also involves setting up the test environment and preparing the test execution schedule. A virtual service emulating a real third-party service and the automated test scripts that interact with that service are examples of test work products that are typically created during test implementation.Reference: ISTQB Glossary of Testing Terms v4.0, ISTQB Foundation Level Syllabus v4.0, Section 2.2.2.3
Which ONE of the following options is NOT a test objective?
Answer : C
The primary objectives of testing, as outlined in the ISTQB CTFL v4.0 syllabus, include verifying whether specified requirements are met (A), detecting failures and defects (B), and validating that the test object functions as expected (D). However, 'finding errors' (C) is not a direct objective. Errors result from human mistakes, but testing primarily identifies defects, which are flaws in the system that cause failures. Testing aims to reveal defects rather than directly identify errors in the code.
Consider the following user story about an e-commerce website's registration feature that only allows registered users to make purchases:
''As a new user, I want to register to the website, so that I can start shopping online''
The following are some of the acceptance criteria defined for the user story:
[a]The registration form consists of the following fields: username, email address, first name, last name, date of birth, password and repeat password
[b]To submit the registration request, the new user must fill in all the fields of the registration form with valid values and must agree to the terms and conditions
[c]To be valid, the email address must not be provided by free online mail services that allow to create disposable email addresses. A dedicated error message must be presented to inform the new user when an invalid address is entered
[d]To be valid, the first name and last name must contain only alphabetic characters and must be between 2 and 80 characters long. A dedicated error message must be presented to inform the new user when an invalid first name and/or the last name is entered
[e]After submitting the registration request, the new user must receive an e-mail containing the confirmation link to the e-mail address specified in the registration form
Based only on the given information, which of the following ATDD tests is most likely to be written first?
Answer : D
Based on the given user story and acceptance criteria, the ATDD (Acceptance Test-Driven Development) approach focuses on defining acceptance tests before development begins. The first test written typically covers the 'happy path' or the most straightforward scenario to ensure the primary functionality works as expected.
The registration form must be filled with valid values.
The user must accept terms and conditions.
An email with a confirmation link must be sent after submission.
Given Acceptance Criteria:The most likely first ATDD test would ensure that a new user can successfully register by filling in all fields with valid data and confirming the registration through an email link. This ensures that the basic and most crucial functionality of the registration feature is working correctly before handling edge cases or error conditions.
ISTQB CTFL Syllabus Section 2.3 on acceptance test-driven development (ATDD).
Which of the following about typical information found within a test plan is false?
Answer : C
A test plan is a document detailing the objectives, resources, schedule, and scope of testing activities. It also outlines the test strategy, environment, tools, and criteria for test completion and suspension.
Option A:Correct as it indicates resource planning which is a crucial part of a test plan.
Option B:Correct as it describes exit criteria which are essential for test completion.
Option C:Incorrect because a test plan typically addresses known risks and mitigation strategies but does not list unmitigated risks post-test execution.
Option D:Correct as it mentions suspension criteria which are also a part of a test plan.
Therefore, option C is false as it does not reflect the typical information found within a test plan.
Consider the followinguser storyand itsacceptance criteria:
User Story:
As a member of the"Agnotoly"association, I want to be able topay the association's dues through an automatic payment methodso that I can forget about payment deadlines.
Acceptance Criteria:
The member can only pay with'Agnesis Master' credit card.
The member must register theircell phone number.
The member must register thecredit cardin the payment system.
The member must select apayment method (monthly or annual).
The member mustaccept the terms and conditionsfor the selected method.
If terms and conditions are accepted, the system sends anOTP(one-time password) to the member's phone for verification.
The payment method isregistered only after OTP verification.
Once the payment method is registered, the system will charge on the first business day of the following month.
Test Cycle Results:
Members successfully paid dues using the credit card.
Payments were processedmonthly and for over a year.
Which ONE of the following options identifies the acceptance criteria that has NOT been fully covered?
Answer : A
Acceptance criteria8states thatthe system should charge the user on the first business day of the following month. However, thetest cycle only verified monthly payments for over a year, without confirming whether payments were processedspecifically on the first business day.
(B) is incorrectbecause the test validatedmonthly and annual payment options.
(C) is incorrectbecause not all criteria were fully validated.
(D) is incorrectbecause OTP verification (6) was tested as part of registration.
Ensuringtimely execution of payments(Criteria 8) requires additional validation.
Which of the following statements is true?
Answer : C
Experience-based test techniques are test design techniques that rely on the experience, knowledge, intuition, and creativity of the testers to identify and execute test cases that are likely to find defects in the software system. Experience-based test techniques are often useful to detect hidden defects that have not been targeted by black-box test techniques, which are test design techniques that use the external behavior and specifications of the software system as the test basis, without considering its internal structure or implementation. Experience-based test techniques can complement black-box test techniques by covering aspects that are not explicitly specified, such as usability, security, reliability, performance, etc. The other statements are false, because:
Experience-based test techniques do not rely on the experience of testers to identify the root causes of defects found by black-box test techniques, but rather to identify the potential sources of defects based on their own insights, heuristics, or exploratory testing. The root causes of defects are usually identified by debugging or root cause analysis, which are activities that involve examining the code or the development process to find and fix the errors that led to the defects.
Some of the most common test basis used by white-box test techniques include the source code, the design documents, the architecture diagrams, and the control flow graphs of the software system. White-box test techniques are test design techniques that use the internal structure and implementation of the software system as the test basis, and aim to achieve a certain level of test coverage based on the code elements, such as statements, branches, paths, etc. User stories, use cases, and business processes are examples of test basis used by black-box test techniques, as they describe the functional and non-functional requirements of the software system from the perspective of the users or the stakeholders.
The primary goal of experience-based test techniques is not to design test cases that can be easily automated using a GUI-based test automation tool, but rather to design test cases that can reveal defects that are not easily detected by other test techniques, such as boundary value analysis, equivalence partitioning, state transition testing, etc. Test automation is the use of software tools to execute test cases and compare actual results with expected results, without human intervention. Test automation can be applied to different types of test techniques, depending on the test objectives, the test levels, the test tools, and the test resources. However, test automation is not always feasible or beneficial,especially for test cases that require human judgment, creativity, or exploration, such as those designed by experience-based test techniques.Reference: ISTQB Certified Tester Foundation Level (CTFL) v4.0 sources and documents:
ISTQB Certified Tester Foundation Level Syllabus v4.0, Chapter 2.2.1, Black-box Test Design Techniques
ISTQB Certified Tester Foundation Level Syllabus v4.0, Chapter 2.2.2, White-box Test Design Techniques
ISTQB Certified Tester Foundation Level Syllabus v4.0, Chapter 2.2.3, Experience-based Test Design Techniques
ISTQB Glossary of Testing Terms v4.0, Experience-based Test Technique, Black-box Test Technique, White-box Test Technique, Test Basis, Test Coverage, Test Automation