ISTQB Certified Tester Advanced Level Technical Test Analyst CTAL-TTA Question # 7 Topic 1 Discussion

ISTQB Certified Tester Advanced Level Technical Test Analyst CTAL-TTA Question # 7 Topic 1 Discussion

CTAL-TTA Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

You need to implement a Java class that validates a password entry field. The validation critena states that the password must:

1. be a minimum of 8 characters

2 contain at least one special character.

You are focusing on validation criterion 1 and have written a test class that checks that a 7 character password entry will fail validation.

You have written code designed to make this test class pass, however, on first execution of the test class it has failed

What should you do next9

SELECT ONE OPTION


A.

Repair the failing code and re-execute it for the test class


B.

Develop a test class with a 9 character password containing one special character and re-execute the code


C.

Add code to cover special character validation criterion 2


D.

Refactor the failing code to improve its design and structure


Get Premium CTAL-TTA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.