Issue Details (XML | Word | Printable)

Key: FWK-92
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Kenny MacLeod
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JCaptcha Framework

Expose getResponse() in Captcha interface to allow func testing

Created: 12/Feb/08 02:06 PM   Updated: 07/Aug/09 01:54 PM
Component/s: CORE
Affects Version/s: 1.0_RC3
Fix Version/s: 2.0-alpha-2


 Description  « Hide
In order to carry out automated testing of a captcha-enabled application, it is necessary to allow the test to execute the page flow of the captcha screens. Obviously, the test framework cannot provide the appropriate challenge response, and so it is necessary to furnish the test with the expected response. If the application detects that a test is in progress, it could pre-populate the response field with the expected value.

Unfortunately, the Captcha interface does not expose the expected response. Please add a getResponse() method, or whatever it should be called, and also expose this via the CaptchaService interface. It seems unnecessarily restrictive to not even allow the application internals to obtain the expected response.

Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.