I've seen this post regarding the Google CAPTCHA test site key and secret key.

How would that be of use while automating through HP UFT?

Automation and bypassing Google No CAPTCHA reCAPTCHA


1 Answer 1


The solution using test keys is separate from test automation entirely.

Key use is embedded in the application. I recommend you approach development to implement a test mode in the application that applies the test keys, allowing CAPTCHA to pass automatically when running your test automation from the controlled test environment.

This behaviour is what you build your test automation on.

  • I was able to bypass the image validation by editing the site key with test key given by google at test run time. Fetched the iframe that has the site key, replaced and fired it again with java script . The problem thet i have now is to fetch the response code and and send the secret key with it for server side validation. I am not able to figure out where to fetch this response code from. Jul 16, 2016 at 14:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.