Automated UAT / Functional Tests for Swing Applications without Source Code
Our team is now working on a great Swing application. Our work is mainly focused on writing extensions to the existing framework. A typical assignment would be to add a new panel / or add a new tab with some additional functionality to suit our need.
FEST seems to help a lot in terms of unit testing our code. I'm going to try it this week. But the question here is if there is a way to do automated functional testing for the entire application. In other words, we not only need to test our code, but also the structure. Ultimately, the UAT is the most important part.
I am currently considering decompiling the jar files that we got into source, then we can identify the components and then use FEST.
So, before I start using this approach, I think I am just asking for ideas and inspiration here. There must be people who have done this kind of thing before. It would be nice if I learned from the veterans who fought against this before.
Thanks,
a source to share
In my opinion, functional tests and unit tests are not well served by the same infrastructure. For functional testing, I would recommend you look at QFTest , which understands Swing components, so you get a more stable test than traditional click and -key, but still at the functional level.
a source to share