Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UI Testing Tool? [closed]

Looking for a tool to UI testing of a Windows (.NET WinForms) application. The idea is that the analysts will record the tests via some UI and it will be able to be played back over and over again.

Commercial tools are fine but bonus points for free ones.

like image 382
Robert MacLean Avatar asked Sep 11 '09 14:09

Robert MacLean


People also ask

Is TestProject open-source?

TestProject is an end-to-end automation tool that provides capabilities to automate Web, API, and Mobile applications. It is an open-source friendly tool built on top of Selenium and Appium, which enables the QA Engineers to test Web applications along with Android and iOS effortlessly.

What is UI issues in testing?

Some dysfunctional UI elements like buttons or text fields might remain uncovered during initial testing. However, these bugs are critical and can damage the web app's functionality if not eliminated in the early stages. Such bugs might end up crashing an entire mobile or web application.


9 Answers

Some others:

  • NUnitForms
  • Quail

I believe they're both free, and Quail looks really nice!

like image 176
Razzie Avatar answered Oct 06 '22 02:10

Razzie


(I was going to just comment on an answer above, but ran out of room.) We bought Ranorex, and I wouldn't do it again. Their licensing for 1.5 (what we're using) was unclear. Their written license was per user, their marketing said per machine. Still, enforcement was key-based, and not a big deal when a machine got wiped or a replacement tester came in.

For the 2.0 product, their licensing is now tied to the machine. Reimage a machine and you get to relicense it. I'm just not going to support that kind of hassle with my company's thousands of dollars, and we didn't upgrade.

For what they want for the product, a lot of the functionality could be easily written using the UI Automation Framework. Ranorex is a decent product, but I question its value for the money. We're moving a lot of our new tests to just coding to the UI Automation Framework, as we often end up modifying Ranorex-generated code anyway.

like image 21
mikestew Avatar answered Oct 06 '22 01:10

mikestew


TestComplete.

You can definitely use capture-replay to capture and run the test script. But I would suggest that you must at least manually edit your scripts to make them

  1. more readable
  2. easier to maintain.

The good thing about TestComplete is that it is able to look into your form's properties, capture those properties so that you can refer to those properties by their name, not by just screen coordinates.

like image 42
Graviton Avatar answered Oct 06 '22 02:10

Graviton


Like Tom E stated, do take caution while considering going down the record/playback path for test automation.

See Uncle Bob's article on Ruining your Test Automation Strategy.

The main problem is that the record/playback tools couple the tests to the GUI which makes them very fragile.

Uncle Bob's article does point out that some testing needs to occur on the GUI...but that he recommends stubbing out the business rule code.

Sorry I can't provide you with a specific UI test automation tool...but hopefully this caveat will help you make the best decision on how to employ the tool that you eventually use.

like image 26
mezoid Avatar answered Oct 06 '22 03:10

mezoid


So far I have found:

  • Ranorex which looks really good.
  • Test Automation FX, also looks good and seems very well priced.
  • Microsoft's UI Automation Framework, which does not have the recorder but if I had to I could code one using this.
  • white which looks similar to the UI Automation Framework, but has an alpha quality recorder.

Comments please if you have used any of these.

like image 28
Robert MacLean Avatar answered Oct 06 '22 03:10

Robert MacLean


At my company, we decided to go with http://www.sikuli.org/. We felt it was the perfect mix of cost (free), ease-of-use, functionality and extend-ability.

Sikuli is Python based (Jython, really) which is great and its open-source. There's a tiny bit of coding required, but it can be as easy as just calling functions. Their IDE makes it really easy to get started. It is not a record and playback tool. It functions based on computer vision algorithms - you give it screenshots of what to look for and it finds it on the screen and then performs the requested action (click, type, etc) on what it found. This is true independent testing since Sikuli knows nothing about the software its testing. It does not know about underlying APIs - it just does what a real human would do.

We have integrated Sikuli with Robot Framework, http://robotframework.org/, and have created lots of custom python code to build a robust testing platform. This may not be as easy as licensing a tool from a vendor but the time and talent investment in these two open source tools has been well worth it.

like image 35
cbautista Avatar answered Oct 06 '22 03:10

cbautista


There are a bunch of similar questions on SO:

  • automate-interaction-with-a-gui-interface (Edit: no longer available)
  • automated-testing-of-windows-forms (Edit: no longer available)
  • automated-testing-of-gui

In my experience, there are a lot of good open source tools for the web, but not so much selection for open source thick client test automation tools. If you want good support with robust functionality, especially recording, you will need to look at the commercial tools (QTP, RFT, TestPartner, etc...)

like image 27
Tom E Avatar answered Oct 06 '22 01:10

Tom E


You should have a look at http://opensourcetesting.org/functional.php A lot of tools are listed here and you should find something that meet your needs.

like image 31
luc Avatar answered Oct 06 '22 01:10

luc


Visual Studio Team Test 2010 is coming with a tool for recording and playing back UI tests. You'll find some pointers at:

Introduction to Record and Playback Engine in VSTT 2010

like image 38
Alfred Myers Avatar answered Oct 06 '22 02:10

Alfred Myers