Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

iSQI Exam CTAL-ATT Topic 3 Question 48 Discussion

Actual exam question for iSQI's CTAL-ATT exam
Question #: 48
Topic #: 3
[All CTAL-ATT Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Maynard
30 days ago
I think the best approach is to repair the failing code and re-execute the test class. Once that's done, you can move on to implementing the special character validation. Gotta walk before you can run, you know?
upvoted 0 times
...
Tu
1 months ago
Haha, I like how the question is asking what to do 'next' when the test class has already failed. Looks like someone needs to brush up on their testing skills!
upvoted 0 times
Rebeca
4 days ago
Once we fix that, we can move on to adding code for the special character validation.
upvoted 0 times
...
Josephine
6 days ago
Good idea, we need to make sure the 7 character password validation passes.
upvoted 0 times
...
Novella
18 days ago
Let's repair the failing code and re-execute it.
upvoted 0 times
...
...
Clare
1 months ago
Hold on, why would you develop a new test class for the special character validation? That's just adding more complexity. Focus on the problem at hand and fix the existing test class.
upvoted 0 times
Tresa
1 days ago
We should repair the failing code and re-execute it for the test class.
upvoted 0 times
...
Lauran
3 days ago
I agree, let's focus on fixing the existing test class first.
upvoted 0 times
...
...
Markus
2 months ago
Okay, so the issue is with the password length validation. We need to fix that first before moving on to the special character validation. Repair the failing code and re-execute the test class to make sure it passes.
upvoted 0 times
India
1 months ago
Okay, let's focus on fixing the password length validation first.
upvoted 0 times
...
Caprice
2 months ago
A) Repair the failing code and re-execute it for the test class
upvoted 0 times
...
...
Erick
2 months ago
I think we should also develop a test class with a 9 character password to cover all scenarios.
upvoted 0 times
...
Clemencia
2 months ago
I agree with Eden, let's fix the code first before moving on.
upvoted 0 times
...
Eden
2 months ago
I think we should repair the failing code and re-execute it.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77