I am writing a Java Desktop Application (SWING) using Netbeans IDE 6.9. I want to do automated GUI testing. All I know about testing is JUnit tests which won't apply for my GUI application. Is there a particular testing framework I can use for testing the GUI application, are there good ones out there? Which ones are easy to use (I need to do testing but I don't have a lot of time for that, however, I don't want to ignore that). My application is basically one frame, with three to 4 tabs (not a big one), my tests shouldn't be complicated, so is there a simple framework that will let me test my application fast and in a strong way to find bugs?
Thanks
Benefits of Automated GUI testingGUI testing is mostly performed manually. However, while assessing the performance of small straightforward testers, a lot of developers write scripts for automated testing.
Automated testing is essential to ensure shorter release cycles and a minimum baseline of quality. Even though manual testing has its role to play, if you're spending time delegating processes that can be automated, you're wasting time. When you waste time, you lose cash and competition.
UI automation testing is a technique where these testing processes are performed using an automation tool. Instead of having testers click through the application to verify data and action flows visually, test scripts are written for each test case. A series of steps to follow when the verifying data is then added.
Benefits of Automated UI TestingEnables teams to increase test coverage rates significantly. Increased test coverage fosters faster debugging. Test scripts once created can be reused; this makes testing easily scalable. Test execution is much faster as compared to manual testing.
I recommend the following open source tools (we are using them on our Java Swing applications):
You can use both or either one of them
From the commercial tools in my opinion the best is IBM Rational Functional Tester - it supports Java applications very well. However it is expensive and is focused on the record & replay approach which is not very reliable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With