How to do automated testing of forms using captcha?

how to do automatic testing of forms using captcha? I am using selenium to create tests. I need to pass the captcha test and check the next page that comes ........

+1


a source to share


4 answers


You need to create a way to call the known captcha on the page. Then you can simply fill in the fields as needed and submit the form. If you can do this with an arbitrary captcha, your captcha won't do you much good.



+2


a source


Either you have a known transcoding on the page, as tvanfosson suggests, or a config setting to disable captcha checking for your test environment.



+1


a source


I used a popup with a message that will be displayed until ok is clicked and our execution will pause so that we can manually enter the captcha code. This would be a better approach thanThread.sleep();

JOptionPane.showMessageDialog(null, "Hello");

      

0


a source


Try a free trial of Automation Anywhere. I think you could create a task and see how it goes.

http://www.automationanywhere.com/solutions/automatedtesting.htm

-1


a source







All Articles