CAPTCHA's

Write testcase for CAPTCHA's?

Questions by mitutitu

Showing Answers 1 - 0 of 0 Answers

abisurd

  • Mar 14th, 2009
 

Captcha should be

1. Human-readable but not computer-readable
2. Have non-dictionary words
3. Have no offensive words
4. Should be sufficiently random

Base your test cases around these requirements.

1 is not very easy to verify, but there may be automated tests that can try (and fail) to make sense of the captcha. For this, input paramaeters would be captcha words/numbers and the text part of it.
2. Can be testing using the API and a representative dictionary.
3. Similar to 2 above, but with a dictionary of offensive words.
4. Run batches of a large number of runs of the Captcha API and store the 'words' returned. Find how many 'words' returned are common between batches. How many is acceptable depends on project management, complexity, security situation.

Test Case For Captcha`s


1. Check whether captcha is case sensitive
2. Check captcha can be only numbers and alphabets
3. Check captcha cannot be more than 6 characters
4. Check captcha is accepted only when the captcha available is same as captcha
typed in the captcha field
5. Check captcha displays a new set of numbers when the page is refreshed or
moved to next page.

Test Cases for CAPTCHA

1. Ensure that the CAPTCHA code screen should be viewable.
2. Ensure that the CAPTCHA code should be in Image format.
3. Ensure that the CAPTCHA code should be reusable.(able to get new code by clicked link)
4. Ensure that the CAPTCHA code should generate new code once the page is refreshed.
5. Ensure that the CAPTCHA code should generate new code once entered the wrong code.
6. Ensure that the CAPTCHA code should not able to copy/paste.
7. Ensure that the CAPTCHA code should be Case Sensitive or vice versa(According to the Requirement).
8. Ensure that the CAPTCHA code should not distruot the other fields in the form, once entered wrong.(Other form fields should not clear)
9. Application should not accept the Invalid CAPTCHA code on form feed and should display proper alert message.
10. Application should accept the Valid CAPTCHA code on form feed.

To check whether the captcha field is defaultly present
To check whether the captcha filed only in alphabets and in numbers
To check whether the captcha filed is changed when the captcha is entered wrongly
To check whether the captcha filed throws proper error message when entered worngly
To check whether the captcha field is case sensitive
To check whether the captcha field is able to copy and paste.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions