Looking for an automatic application

Posted on 2011-03-15
Last Modified: 2013-12-13

I am looking for an application that can 'test' html application by using scripts to click/read/write on the html pages.
I prefer something that can overcome captcha numbers.
Question by:VapiSoft
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 35139753
Have you tried Visual Studios test suite?  

They can perform tests and scale for different users with validation.

Author Comment

ID: 35144977
I see that it costs $549, is there something simplier that is free or low cost?
Also, can it overcome simple captcha numbers?
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 35148287
captcha is designed specifically to prove that you are a human and not an automated system it stands for "Completely Automated Public Turing test to tell Computers and Humans Apart" or recaptcha the google version.  

Many many spammers would love something that can overcome captcha
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 35148678
I know that, but I also knows that there are programs that knows how to overcome simple captch
(for example:
Also, there are some 'code' that overcome simple catcha (I saw one several months ago when I didn't need it).
If you know of a C++ pr PHP code that does it, I will integrate it in my code.


Expert Comment

ID: 35154741
Have you checked Selenium IDE? if not, you should take a look,
This is the best tool for web testing and html.
hope it helps.

Author Comment

ID: 35174435
Hi ModernMatt,

This is something to do with retrieving data fromthe IRS.
The manager that asked for it is meeting today with a lawer to check if it is leagal.
If it is, she will ask me to do it.

Author Comment

ID: 35174445
Hi Adil_H,
This looks like a very good free solution.
I see that I can extensions for it, so in any case I will give you the points.
But do you know any code/extension that deals with captcha?

Accepted Solution

Adil_H earned 500 total points
ID: 35174924
Hi VapiSoft,
If you mean any special codes which deals with captcha, i do not have specific info about that,but if you point Selenium, i am sure that it has some solutions or extensions which will help you about captchas.
Glad that it helps.

Expert Comment

ID: 35174932
PS: By using Selenium, you can analyse the page code with details.

Author Comment

ID: 35174940
What do you mean?
I have something like in the attached picture that I need to read and type (the numbers).
I needs a code that can do OCR on something like that.

Expert Comment

ID: 35174976
After you install or add Selenium to your firefox, then you will have page code screen.While you drag your mouse on the page, you will see the related code part in code screen.
Please try Selenium, then you shall be more clear.

Author Closing Comment

ID: 35202047

Author Comment

ID: 35205513
Hi Adil_H,

I installed the selenium in FireFox, but I cannot see it under the Tools.
Hat do I need to do to see it?

Author Comment

ID: 35206853
Hi Adil_H,

I downloaded and installed Selenioum IDE.
It looks good, but Icould not understand how can I call Javascript functions from it.
I found a JavaScript that can translate Captcha.
How can I call a function: get_catptch() from the IDE ?

Expert Comment

ID: 35207239
Hi VapiSoft,

for the javascript, there are some commands such as, StoreEval, getEval, verifyEval ... You can type these commands on selenium IDE to call the js.

However, if your code is big one, then you need to define a .js file.Like "data.js" and you can embed the whole js code into this file.

Then you should go to menu "Options" -> "Options" then you will see the Selenium IDE extensions with 2nd browse button. You should enter the "data.js" address here. After that you are able to call or run your js code from IDE interface's "Target" pane.

Hope this helps.

Author Comment

ID: 35207514
I did that first with a a very simple javascript junction that only returns '1234'; and placed it in a js file and added it to the Extensions and in IDE I changed the value (of a type command) to
and it worked well.
After that I changed the file to the 'catcha file' that has get_captcha() function.
Now I get: see the picture
 Selenium IDEDoes this mean that the file has JavaScript syntax-Error ?

Expert Comment

ID: 35213171
It should be.Please check your js file and be sure that it has correct format and definitions.

Author Comment

ID: 35232076
Hi Adil_H,

You recommended Selenium.
First I downloaded Selenium IDE and tried it.
It worked OK on the site that I needed, but its commands are limited and difficult to program a true test.
It also runs only under Firefox inside its plugin.
So I downloaded Selenium 2.0 that looks better (works in Java on all browsers).
The problem is that itd does not work on the same page.
It tells me that it does not find the controls.
See attached code, mybe I do something wrong.

package de.vogella.eclipse.ide.Selenium;
	import org.openqa.selenium.By;
	import org.openqa.selenium.WebDriver;
	import org.openqa.selenium.WebElement;
	public class Selenium2Example   {
	    public static void main(String[] args) {
	        // Create a new instance of the Firefox driver
	        // Notice that the remainder of the code relies on the interface, 
	        // not the implementation.
	        WebDriver driver = new InternetExplorerDriver();

	        // And now use this to visit Google

	        System.out.print("Enter Number: ");
	        BufferedReader br = new BufferedReader(new InputStreamReader(;
	        String number = null;
	        try {
	        	number = br.readLine();
	        } catch (IOException e) {
	        System.out.println("The number is " + number);

	        // Find the text input element by its name
	        WebElement element = driver.findElement("ShSecLables1_TxtBox1"));

	        // Enter something to search for

	        element = driver.findElement("Button1"));

	        // Check the title of the page
	        System.out.println("Page title is: " + driver.getTitle());
	        //Close the browser

Open in new window


Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question