Problem with Captcha identification!
I have been given a web testing project where, we need to enter some value in a text box and in another text box need to enter captcha code shown as web element object. I have tried with lot of methods to capture the captcha value and insert but no ways of using. please help i have used the below code (sample) to capture the capthca code. any suggestions?
set cP_code=Browser(Bro).Page(Pge).WebElement("index:= 0").getroproperty("text") 'code to capture the captcha code
but this code is not working
Captcha code is designed specifically so the image is not recognisable by automated means (robots, scripts etc.).
You should talk to your developers and ask them to add a QTP readable tag containing the expected captcha text to be entered.
Don't forget to ask them to remove this code before it goes live