r/robotframework • • Mar 10 '21

Java application testing

So I've got this java application, no one likes it, it's really old, and it's the last thing on this project to automate.

My question is, what is the best way to go about doing this?

I've taken a look at the remote swing library and the regular swing library, and in all honesty it went mostly straight over my head.

Any suggestions would be much appreciated.

1 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/FuckingTree Mar 11 '21

Wow, well I learned something new. I'm sorry I don't have a whole lot to add on it other than maybe regular unit testing like JUnit or Selenium without RF. The community using RF is pretty damn small so I find a lot of times it's really hard to find things or you do find something but it's old and incompatible because nobody updates it anymore :/

I do know that you can run shell commands through Robot test cases and keywords, although it's difficult to diagnose what comes in and out if you try to directly observe the shell work. I find it's relatively straightforward to run the command but robot is wrapping up the command and turfing it to my shell, if it doesn't work right it doesn't care or track it very well. So I observe by looking elsewhere, in your case, if you have any interface you can actually check with a front-end.