Forum Discussion

omerj28's avatar
omerj28
Occasional Contributor
14 years ago

How to input the changing reCAPTCHA text during test playback

On a page that requires the user to enter the reCAPTCHA text before clicking the Next button, how can TestComplete take in the values that change in the reCAPTCHA box? These values are going to be different when the test is played backed and will not match the values that were recorded during the test recording process. Is there a way to automatically get the new reCAPTCHA

values during test playback?


1 Reply

  • Hello,



    I've read somewhere about this, and someone from AQA replied that TC cannot read CAPTCHA text.



    Here's the quote from ""Does Test Complete Support reading Captcha image" thread:



    "Since
    CAPTCHA's goal is to ensure that the data is entered by a human,
    CAPTCHA is generated to avoid recognizing its text by any modern
    recognition tool. Besides that, the characters in the image you
    provided can hardly be recognized even by a human, so I don't think
    that you will be able to recognize the characters automatically.

    I
    recommend that you contact your developers and ask them to provide a
    workaround (for example, to make the web application print the expected
    code somewhere on the web page for debug purposes).".



    Another solution would be to disable validation so that whatever you enter in the text box as captcha is consider a good value. This worked in my case.