Istqb Certified Tester Foundation Level CTFL · Free Practice Question Medium
Question 32
Test script "Transval 001" verifies transaction validation screen "TRN03". According to the specification (PID version 1.3, section 10.2) the validation screen should not accept future dated transactions.
Test script "EOD 004" verifies end of day processing, this script is scheduled to run after data has been entered via screen "TRN03".
During test execution, test script "Transval 001" has passed, but test script "EOD 004" has failed, as future dated transactions appear to have caused the end of day processing to fail.
A defect report needs to be raised, which of the following is the BEST detail to include?
-
A
Title: End of Day failure.
Reproducible: Yes.
Description: Script "EOD 004" fails when the first transaction of the day is future dated. Screen shot of the failure is attached
-
B
Title: Transaction input screen validation.
Reproducible: Yes.
Description: End of Day process fails. Validation of transaction entry on screen TRN03 should not allow future dated transactions – see PID ver 1.3, section 10.2. Screen shot of the failure and evidence of a future dated transaction from the input screen is attached, together with a database query showing the future dated transaction
-
C
Title: Screen TRN03 validation of transaction date.
Reproducible: No.
Description: When a future dated transaction is processed by the end of day process, a failure can occur. Three runs of the end of process passed today so this does not always happen. Screen shot of the failure is attached
-
D
Title: Screen TRN03 validation of transaction date.
Reproducible: Yes.
Description: Script "EOD 004" failed as a transaction was future dated. Screen shot of the failure is attached and also the database query showing the transaction that is future dated. Validation of transaction entry on screen TRN03 should not allow future dated transactions – see PID ver 1.3, section 10.2
Reveal correct answer
Correct answer: D
A.
The defect report is an incomplete incident report because it omits important details such as the fact that the validation screen does not accept future dated transactions.
B.
The defect report incorrectly identifies the end of day process as failing. The failure of the end of day process was due to the transaction validation process failing to report a future dated transaction. The problem was in the transaction validation process.
C.
The defect report incorrectly reports that the failure is not reproducible. It also reports that the end of day process has run successfully but does not point out that the screen validation should not allow future dated transactions to reach the end of day processing. So the failure is incorrectly reported as an intermittent failure.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
