515,854 views
12 votes
12 votes
Emma is a tester who tests several applications in a day. She is presently testing an online shopping application. Which of these test results should Emma consider as a defect? The Zip Code column does not allow entry of any characters other than numbers. The Submit button of a form is deactivated until mandatory columns are filled. A pop-up screen displays, asking the user to enter the Name correctly. A negative quantity of products appears in the shopping cart.

User Leszek P
by
3.1k points

1 Answer

17 votes
17 votes

Emma should consider the following test results as defects:

  • The Zip Code column does not allow entry of any characters other than numbers: This is a defect because the requirement for the Zip Code field may not specify that it should only accept numbers. If the requirement specifies that the field should accept alphabetic characters or a combination of alphabetic and numeric characters, then this behavior would be considered a defect.
  • A pop-up screen displays, asking the user to enter the Name correctly: This is a defect because the application is not functioning as intended. The Name field should not have any restrictions on the type of characters that can be entered, and the application should not display a pop-up screen asking the user to enter the Name correctly.
  • A negative quantity of products appears in the shopping cart: This is a defect because it is not possible to have a negative quantity of products in a shopping cart. The application should not allow the user to add a negative quantity of products to the cart.

The Submit button of a form being deactivated until mandatory columns are filled is not considered a defect because this is expected behavior. The form should not be submitted until all required fields are filled out, so deactivating the Submit button until the mandatory columns are filled is functioning as intended.

User NickAb
by
2.9k points