Manidip Sengupta
Manidip Sengupta

Reputation: 3611

What is a good GUI tester?

We need a tool to test a set of fairly complex Java applications. The applications are mostly independent client programs or applets communicating with a servlet or apache server at a remote site. Specs:

  1. Runnable on Windows XP, Vista and 7
  2. Parameterizable (Can specify in a script the sequence of buttons to click, text to type in JTextFields and browser address bar etc.)
  3. Can quit or bail out or display a nasty message if the expected window or dialog box doesn't appear
  4. Record the output on the Java Console of browser in a .txt file (IE is sufficient for now) when the application opens a browser window.
  5. While running, I should be able to see it running with folded hands while it would run for a few minutes

We were thinking of writing an AWTRobot based tool that reads a command file and does this - (don't know how to do #3 or #4 yet - will ask you folks some day how to detect a window on the desktop). Would you suggest an open source tool available to do this? We don't need anything fancy to capture video or screenshots. Thank you, - M.S.

Upvotes: 5

Views: 1047

Answers (7)

ccpizza
ccpizza

Reputation: 31666

If you don't need to test the way the pages are actually rendered by the browser, but instead need to work at the HTTP/HTTPS/etc request level then have a look at JMeter. It has parametrization, dataproviders, graphs, and a proxy component for recording http user sessions.

If you do need browser testing, then, as has already been mentioned, Selenium is probably the best freely available tool. For production I would recommend using Selenium Remote Control server which can be driven by scripts written in Java/Python/C#/Perl/PHP.

To see what tools people use in real production environments, and to do your own research on what is available I recommend www.sqaforums.com.

Upvotes: 5

Sujay Ghosh
Sujay Ghosh

Reputation: 2868

Did you try Squsih - http://www.froglogic.com/products/index.php

Upvotes: 0

DaShaun
DaShaun

Reputation: 3880

I had some pretty good results with Squish from FrogLogic and didn't break the bank: http://www.froglogic.com/products/

Upvotes: 0

William Billingsley
William Billingsley

Reputation: 771

Have a look at Sikuli

The reason I suggest this is it sounds like you need to test both a Java applet and the content of a native browser (launched from Java, but not itself Java) -- so it's not "Java all the way".

I'm not sure what you mean by criteria 4, though. It is worth noting that as Sukuli works by image analysis, it won't be able to copy text to a text file.

Upvotes: 2

billygoat
billygoat

Reputation: 21984

This question is an invitation for sales pitch, don't you think. How about Mercury Quicktest professional ( I believe its HP Quick test now). I do not believe this will be cheap either ( and well its HP, it will probably only work in IE ;)).

Since you want an open source solution, I believe, the most popular option is selenium and yes its a pain to configure sometimes ( like for Flex for example). So you should try Watir.

There is a lot of good buzz around it and when I evaluated it, I loved what I see.Also it does not work for desktop applications, I suggest you try some other solution for that.

(The problem is open source GUI testing tools are not usually all inclusive. If you need one solution to handle all your gui testing needs, then you should check out the more commercial ones like QTP.

Upvotes: 1

Marcelo
Marcelo

Reputation: 2302

I have used IBM Rational Functional Tester. It has everything you need and it's quite easy to learn. The scripting language is either Java or VB.Net so you won't have to worry about learning a language for your tests.

Upvotes: 1

aNish
aNish

Reputation: 1077

For browser based automated testing you can use Selenuim or you can use WebDriver. The selenium project is hosted here

Upvotes: 10

Related Questions