function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aasif.K1982Aasif.K1982 

reCaptcha Test Class Issue

I am trying to write a test class for reCaptcha functionality implemented using Apex. 
Any ideas on how to set the response for a challenge given by google recaptcha?
Aasif.K1982Aasif.K1982
I got the code for adding captcha from this link https://developer.salesforce.com/page/Adding_CAPTCHA_to_Force.com_Sites (https://developer.salesforce.com/page/Adding_CAPTCHA_to_Force.com_Sites" target="_blank)
Michael MazzottaMichael Mazzotta
I'm was looking for the same thing last week and I did not find an example to use.
Aasif.K1982Aasif.K1982
I looked into google site but couldn't find any instructions on how to write test methods for recaptcha...nothing available in java, .net or other languages as well.