# SWT Library for "Automated GUI Testing"

**URL:** <https://forum.robotframework.org/t/swt-library-for-automated-gui-testing/5490>\
**Category:** Libraries\
**Created:** [24 March 2023 11:54 UTC](https://forum.robotframework.org/t/swt-library-for-automated-gui-testing/5490 "2023-03-24T11:54:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmunoz63](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rmunoz63/32/2481_2.png) [@rmunoz63](https://forum.robotframework.org/u/rmunoz63)\
**Post date:** [24 March 2023 11:54 UTC](https://forum.robotframework.org/t/swt-library-for-automated-gui-testing/5490/1 "2023-03-24T11:54:40Z")

</div>

I am interesting in developing an application for doing “Automated GUI Testing”.  
The desktop application under test (AUT) is written in Java (SWT).  
To carry out this goal, my approach has to do with the following:

- First, try to record several actions on the GUI of the AUT (preferably in python scripts).
- Second, automate actions by executing (replaying) the scripts recorded previously.  
I think, it is mandatory to be used some kind of SWT for JAVA library.  
Could I find some useful material in this site to start with this task?  
If you have any question or other idea to do that, please let me know.  
Thanks so much in advance,

---

<div class="post-metadata">

**Author:** ![Many](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/many/32/658_2.png) [@Many](https://forum.robotframework.org/u/Many)\
**Post date:** [24 March 2023 13:51 UTC](https://forum.robotframework.org/t/swt-library-for-automated-gui-testing/5490/2 "2023-03-24T13:51:58Z")

</div>

We tried to do it only with Robot Framework and the available Libraries.  
I understood that this one could theoretically be used to automate Java SWT Applications:

> **[GitHub - lcarbonn/robotframework-eclipselibrary: This is a RobotFramerwork...](https://github.com/lcarbonn/robotframework-eclipselibrary)**
>
> This is a RobotFramerwork test library for Eclipse RCP apps - GitHub - lcarbonn/robotframework-eclipselibrary: This is a RobotFramerwork test library for Eclipse RCP apps

But we didn’t succeed.

In the end, we combined Robot Framework with a Commercial Tool QF Test that offers a Robot Framework Library

> **[UI Test Automation Tool for Java, Web, Android & Windows - QF-Test](https://www.qfs.de/en/index.html)**
>
> Automate your GUI tests with QF-Test, the professional testing tool! Easy to use ✓ Cross-platform on Windows, Linux, macOS ✓ Cross-browser ✓

So in the end, we used the steering engine (for Java SWT) from that Tool, but wrote our tests and keywords in Robot Framework syntax.

Maybe that approach is also a possibility for you
