18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
how to capture captcha in sahi
hi,
i have a requirement, where my application uses a random no generated captcha. how can i test it?? as for every new browser a new captcha for that page will be generated. Is there any solution for this problem.
Please help me.
Thanks,
Somi
i have a requirement, where my application uses a random no generated captcha. how can i test it?? as for every new browser a new captcha for that page will be generated. Is there any solution for this problem.
Please help me.
Thanks,
Somi
Comments
Please elaborate on captcha. no idea what it is..
Regards,
Pankaj.
for example: while registring a new user in yahoo or gmail at last we need to enter some number/alphabets what it shows right..... that is also a CAPTCHA...
In my application i have to record a similar page like that..... everytime when i go for that page some combination of random number gets generated.... how can i record such scenario??????
please help me in this issue.....
Thanks,
somi
The captcha cannot be read by Sahi. If it could, it defeats the purpose of the captcha.
The way to handle this is to make a backend call to the webserver from your script and figure out what the correct word for the captcha is. Most of the time the word is stored in the database against some key. And the key may be in a cookie or embedded in a page. (There would be some way of getting at this key). Then make a call to your database and get the word against that key. Then use it in your tests.
Pankaj, for more info on captcha, check this out: http://en.wikipedia.org/wiki/Captcha