exam questions

Exam CTFL v4.0 All Questions

View all questions & answers for the CTFL v4.0 exam

Exam CTFL v4.0 topic 1 question 64 discussion

Actual exam question from ISTQB's CTFL v4.0
Question #: 64
Topic #: 1
[All CTFL v4.0 Questions]

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, | want to register to the website, so that | 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?

  • A. The new user enters valid values in the fields of the registration form, except for the email address, where he/she enters an e-mail address provided by a free online mail service that allow to create disposable email addresses. Then he/she is informed by the website about this issue.
  • B. The new user enters valid values in the fields of the registration form, except for the first name, where he/she enters a first name with 10 characters that contains a number. Then he/she is informed by the website about this issue.
  • C. The user accesses the website with a username and password, and successfully places a purchase order for five items, paying by Mastercard credit card.
  • D. The new user enters valid values in all the fields of the registration form, confirms to accept all the terms and conditions, submits the registration request and then receives an e-mail containing the confirmation link to the e-mail address specified in the registration form.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
cb56e21
3 weeks, 4 days ago
Selected Answer: D
4.5.3 ISTQB CTFL Syllabus v4.0: Típicamente, los primeros casos de prueba son positivos, confirmando el comportamiento correcto sin excepciones o condiciones de error, y comprendiendo la secuencia de actividades ejecutadas si todo sale como se espera. Por lo tanto, la opción D es la respuesta correcta.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...