Well, what is a 'Captcha' image?
Captcha is a type of challenge-response test used in computing to ensure that the response is not generated by a computer i.e., Captcha images are designed to prevent automated logins to the system
Often we come across scenarios like entering text (shown in captcha image) to proceed further.
Example: User registration. After filling all the mandatory fields, captcha text has to be entered in order to complete the registration process.
Is it possible to automate Captcha image?
Yes but it is not at all recommended to automate captcha images as they are designed to prevent automated logins.
What are the alternatives?
- Request the development team to remove the Captcha code for certain time to perform automation
- If captcha comes into picture while automating – then we need to enter the text manually but following should be tested
b). Whether displayed image is a link or not
3. Use a OCR to read and capture the captcha text
4. There is an exceptional case with a very poor design of web page with Captcha : developer exposing
the CAPTCHA's value, we can get this in ‘View’ – ‘Page Source’ option
Reference links