Is it possible to read captcha text while creating google account?

Answered

Hi, Is it possible to read captcha text  while creating gmail account. The captcha text is dynamically changing. I used the below code but it is not working.


String captchaValue=driver.findElement(By.xpath(".//*@id='recaptcha_challenge_image']")).getText();

System.out.println("Captcha Value: "+ captchaValue);

Can anyone help me to solve this problem.
Thanks & Regards
Samba.

samba Train Asked on December 12, 2014 in Selenium WebDriver.
Add Comment
1 Answer(s)
Best answer

Hi Samba,

The purpose of captcha is to avoid bots and automation. And I am sure if it is from google, there is not way to break it.:)

If the captch is on Test Environment, then follow the below link:
http://forumsqa.com/question/how-to-automate-image-captcha/

Regards,
Lakshay Sharma

xLov3rDns Professor Answered on December 12, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.