ExamGecko
Question list
Search
Search

Related questions











Question 287 - CTFL-2018 discussion

Report
Export

You are performing a review of your colleague's test cases based on the following test basis document:

The Test Cases are as follows:

TC1. Success -- valid 'User Name' and 'Password'; Customer Menu displayed

TC2. Failure -- 'User Name' field has blank entry; Error Number 12 displayed

TC3. Failure -- 'User Id' entered does not exist on database (i.e. unregistered user); Error Number 23 displayed

TC4. Failure -- 'Password' entered does not match user's password on database; Error Number 24 displayed

You are guided by the following checklist in your review:

C1. There must be one test case to cover success

C2. There must be one test case for each error path (e.g. validation failure)

C3. Each test case must use terminology consistent with the test basis document (field names, error numbering, etc.)

Record a separate defect for each missing test case (checklist items C1 and C2) and for each test case that does not meet checklist item C3.

How many defects should you record?

A.
1.
Answers
A.
1.
B.
2.
Answers
B.
2.
C.
3.
Answers
C.
3.
D.
4.
Answers
D.
4.
Suggested answer: C

Explanation:

Defect 1: Missing test case for validation failure of 'Password' field being blank. According to checklist item C2, there must be one test case for each error path. The test basis document specifies that the 'Password' field must be mandatory, and that if it is blank, Error Number 13 should be displayed. However, none of the test cases cover this scenario. Therefore, a test case for this validation failure is missing and should be added.

Defect 2: Incorrect field name in TC3. According to checklist item C3, each test case must use terminology consistent with the test basis document. The test basis document uses the term 'User Name' to refer to the field that identifies the user. However, TC3 uses the term 'User Id', which is inconsistent and confusing. Therefore, TC3 should be corrected to use the term 'User Name' instead of 'User Id'.

Defect 3: Incorrect error number in TC3. According to checklist item C3, each test case must use terminology consistent with the test basis document. The test basis document specifies that if the 'User Name' entered does not exist on the database, Error Number 12 should be displayed. However, TC3 states that Error Number 23 should be displayed, which is incorrect and does not match the test basis document. Therefore, TC3 should be corrected to use Error Number 12 instead of Error Number 23.

asked 18/09/2024
Kefash White
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first