|
|
|
|
Can we automate CAPTCHAS through QTP?
|
|
10-15-2008, 09:41 AM
(This post was last modified: 10-15-2008 12:34 PM by Ankur.)
Post: #1
|
|||
|
|||
|
Can we automate CAPTCHAS through QTP?
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? |
|||
|
10-15-2008, 11:03 AM
Post: #2
|
|||
|
|||
|
RE: Human Validation
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. QTP Articles | QTP Training | QTP Jobs |
|||
|
10-15-2008, 11:47 AM
(This post was last modified: 10-15-2008 11:50 AM by venkatesh.)
Post: #3
|
|||
|
|||
RE: Human Validation
Ankur Wrote:One word answer- NO 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
Post: #4
|
|||
|
|||
|
RE: Human Validation
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. QTP Articles | QTP Training | QTP Jobs |
|||
|
10-15-2008, 12:14 PM
Post: #5
|
|||
|
|||
|
RE: Human Validation
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
Post: #6
|
|||
|
|||
RE: Human Validation
venkatesh Wrote:Ankur Wrote:One word answer- NO Hi Venkatesh, We can try below(Descriptive Programing) to get CAPTCHA. Browser("Display Banner - Diversify").Page("Display Banner - Diversify").Image("Register - Custom Animated").Click k=Browser("Display Banner - Diversify").Page("Display Banner - Diversify_2").WebElement("html tag:=FONT").GetROProperty("innertext") msgbox k Browser("Display Banner - Diversify").Page("Display Banner - Diversify_2").WebEdit("tcode").Set k |
|||
|
12-08-2008, 03:03 PM
Post: #7
|
|||
|
|||
|
RE: Can we automate CAPTCHAS through QTP?
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
Post: #8
|
|||
|
|||
RE: Human Validation
(10-15-2008 11:03 AM)Ankur Wrote: One word answer- NO 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
Post: #9
|
|||
|
|||
|
RE: Can we automate CAPTCHAS through QTP?
Hi Ankur,
i have one querry regarding script. I was trying to parametrize the value from datatable, i wrote like this Dim AgentName AgentName=Datatable.value("AgentName") Dialog("Login").Winedit("AgentName:").Set datatable("Agent",dtClobalsheet) When i run the script it was picking the value from datatable and result window was also displaying the value which was taken from the datatable, while it should display some error. Because i wrote dtClobalsheet rather then dtGlobalsheet. Even i did not wrote Option Explicit. Can you let me know why it happened? |
|||
|
11-10-2009, 09:37 AM
Post: #10
|
|||
|
|||
|
RE: Can we automate CAPTCHAS through QTP?
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. Thanks, ~Saket Kumar [Linkedin][pdf Api for QTP] It's so hard when I have to, and so easy when I want to... |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| System Reboots when Terminal emulator is configured for QTP 11 to automate putty | mahesh | 2 | 1,207 |
03-21-2012 08:19 AM Last Post: vIns |
|
| Automate Typeahead objects in Web application with QTP 10 | SweetyChowdhury | 4 | 837 |
03-02-2012 03:01 PM Last Post: sshukla12 |
|
| QTP 10.0 - Automate Oracle Apps Request Set | girishjimmu | 0 | 1,114 |
01-17-2011 05:46 PM Last Post: girishjimmu |
|
| Not able to Automate Adobe Flex 3.0.0 in QTP | Prithviraj | 2 | 1,286 |
11-01-2010 02:38 AM Last Post: rzlzz7 |
|
| wants to Automate Mainframe app, but at start QTP throws "HLLAPI.dll not found". | shirish.ganjewar | 0 | 1,582 |
10-14-2010 01:06 PM Last Post: shirish.ganjewar |
|
User(s) browsing this thread: 1 Guest(s)
|
|

Search
Member List
Calendar
Help



