Question

how to do automated testing on forms using captcha ? I am using selenium to create tests ..I got to go past a captcha test and verify the next page that comes.......

No correct solution

OTHER TIPS

You need to build a way to induce a known captcha onto the page. Then you can simply fill in the fields as required and submit the form. If you can do it with an arbitrary captcha, your captcha's not going to do you much good.

Either have a known captcha on the page, as tvanfosson suggests, or a configuration setting to turn off the captcha validation for your test environment.

I used message popup which will be displayed until pressed ok and our execution will be paused so that manually we can enter captcha code. It will be better approach than Thread.sleep();

JOptionPane.showMessageDialog(null, "Hello");

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top