Hi Ankur, This is Venkat. I’m regular visitor of your blog. I’ve a query. While browsing on human validation I found Captcha image value in the view source of the page. Can we automate this one using QTP?
Can we automate CAPTCHAS through QTP?
|
10-15-2008, 11:03 AM
One word answer- NO
Some points to support it:
In one condition, you might validate it, if you know all CAPTCHAS values present in the system. that ways you can store the values with the corresponding image in an array and check the image. If image match, use THAT value. This is not a perfect solution though, I would not recommend automating CAPTCHAS using QTP.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Ankur,
I agree with you. Values changes on every refresh of the page. I did some thing to capture the values in CAPCHAS. Step1: Go through the http://displaybanner.com/ and navigate to user registration page. Step2: Record the script for one user creation, when coming to human validation record please fallow the below steps: * Navigate to page source under the view menu, find the human validation values and copy it and place it in the web text box. * Stop recording. When i run the same script in the view source page its showing another values. So Can not we capture the values for every refresh of the page? Even if we do not know the values. If i am wrong please correct me. Thanks in Advance. Venkatesh. g *
10-15-2008, 12:05 PM
That is a one off case and I would say it's a case of poor design where the developers have exposed the CAPTCHA's value.
Try doing the same thing here... http://mail.google.com/mail/signup, you will not find anything(or perhaps some encoding) in source except the link to CAPTCHA image. As for your question-- it is possible for the specific case shown given by you because the values are populated in innerHTML and innertext run time properties.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
10-15-2008, 12:14 PM
Yes, for Gamil and yahoo we can not find the values of CAPTCHAS in view source page.
Thanks, Veanktesh. g
10-29-2008, 12:09 PM
Hi Venkatesh,
We can try below(Descriptive Programing) to get CAPTCHA. Code: Browser("Display Banner - Diversify").Page("Display Banner - Diversify").Image("Register - Custom Animated").Click
12-08-2008, 03:03 PM
Hi, about this action, I can propose the method of Motevich's:
+save the capcha image +use OCR soft to recognize it +run It only work with the clearly capcha.^-^;others case we cannot(such as the capcha of rapidshare several months ago) Please note it no good for trying to attach or destroy some website by this way!
03-30-2009, 04:18 PM
Hi, I am new to this forum...
Please let me know, if we have any workaround for this captcha automation?? If so, please explain or refer to where we can get substantial info
11-09-2009, 07:15 PM
Hi Ankur,
i have one querry regarding script. I was trying to parametrize the value from datatable, i wrote like this Code: Dim AgentName Even i did not wrote Option Explicit. Can you let me know why it happened?
11-10-2009, 09:37 AM
Hi rahul1234,
your query is not at all related to the original topic of thread. always make sure your are posting under a thread which is relevant to your query or you are answering the thread query. Please dont divert a thread with your new query. You will need to create a new thread for the query. as the original query has been answered, Thread is locked now. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Can we automate installation testing using QTP | uma.kasarla@gmail.com | 0 | 901 |
06-21-2019, 09:45 PM Last Post: uma.kasarla@gmail.com |
|
Can QTP automate VC++ application? | arpan | 0 | 2,227 |
03-18-2014, 08:56 PM Last Post: arpan |
|
[Siebel QTP Automation] Unable to automate SiebCalendar object | vishnu_cec | 0 | 2,699 |
08-08-2013, 12:44 AM Last Post: vishnu_cec |
|
System Reboots when Terminal emulator is configured for QTP 11 to automate putty | mahesh | 3 | 6,837 |
02-08-2013, 11:10 PM Last Post: coolguy |
|
Automate Typeahead objects in Web application with QTP 10 | SweetyChowdhury | 4 | 5,844 |
03-02-2012, 03:01 PM Last Post: sshukla12 |
Users browsing this thread: 3 Guest(s)