10
From Apache JMeter's website we get this,
Ability to load and performance test many different server/protocol
types:
Web - HTTP, HTTPS
SOAP / REST
FTP
Database via JDBC
LDAP
Message-oriented middleware (MOM) via JMS
Mail - SMTP(S), POP3(S) and IMAP(S)
Native commands or shell scripts
TCP
So I'm guessing you can't use it to load test Swing Application.
...
9
If the Java GUI application is based on Swing, AssertJ Swing is probably one of the best open source libraries. It's a fork of FEST and has several advantages:
Simulation of user interaction with a GUI (e.g. drag 'n drop)
Reliable GUI component lookup (by type, by name or custom search criteria)
Support for all Swing components included in the JDK
...
4
I know about several open source tools hosted on GitHub but didn't try them yet. Just created a list for future learning. Any additions and comments are welcome.
TestFX - 213*
Automation (Groovy & Java) - 48*
swinger (JRuby, Cucumber-based) - 47*
Marathon - 31*
Window Tester - 5*
This list might be updated in the future. I'm maintaining it at the ...
2
JMeter doesn't mimic any UI actions so you won't be able to interact with Swing UI (at least not more than in 1 thread) so in fact you have 2 options:
T3 protocol is just a subset of Java RMI protocol which in its turn using TCP transport.So if you need to "record and replay" the T3 network activity you could use a sniffer tool like Wireshark and JMeter's ...
1
First of all you have to understand that UI stands for just an User Interface. So this is some way that allows a user to interact with your application (so, when you were interacting with your tests using Excel - Excel was a sort of User Interface that time). There are few ways which have their own advantages and disadvantages:
Command Line Interface (a.k.a....
1
Your issue is that the Object Repository has learned this object with a title or caption including the number (95) which increments.
The solution is to change the property in the Object Repository to a regular expression which will allow the title/caption to match on the parts which are static, so if you have
"Fax Order No. 95"
As your Title property for ...
1
The support matrix is right: Java GUI testing is not supported by Coded UI Test.
Generated code from recoded MTM test-case uses native Windows OS elements to work with and all actions (mouse clicks & key typing) are linked to them, e.g.:
...
Mouse.Click(someClient, new Point(239, 90));
Mouse.Click(someClient, new Point(139, 193));
Mouse.Click(...
answered Jun 29 '16 at 12:05
Ivan Gerasimenko
2,19144 gold badges2020 silver badges4343 bronze badges
1
You can download a 90-day trail of Visual Studio 2015 enterprise to test it out.
The Coded UI testing framework relies on the Microsoft UI Automation framework. Any GUI tool that does not implement MS UI Automation hooks cannot be automated with Coded UI. It seems the Java SWT uses native windows controls and this should be automatable with Coded UI ...
answered Jun 28 '16 at 14:33
Niels van Reijmersdal
31.1k33 gold badges4848 silver badges115115 bronze badges
1
Here is my example of ComponentChooser usage:
JButtonOperator flsButton = new JButtonOperator(mainFrame, new ComponentChooser() {
public boolean checkComponent(Component comp) {
if (comp == null)
return false;
else if (!(comp instanceof JButton))
return ...
answered May 17 '16 at 7:27
Ivan Gerasimenko
2,19144 gold badges2020 silver badges4343 bronze badges
1
Marathon is an OSS Test Automation Tool which has main features to record, playback the events performed on AUT.It allows to debug the test scripts recorded. The test scripts are created in Ruby (Older version supports Python also).
It also has features like Object Mapping , Allure Report Generation,Test Organisation(Features and Stories), Reusable Modules ...
1
Swing Testing Toolkit (uses a semi-automatic test case generation approach aimed at reducing testing instructions to the bare minimum while ensuring that they are as relevant as possible).
It is not a universal GUI testing framework. It focuses on a single library (Swing) to guarantee its level of quality.
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
java-gui × 11java × 7
automated-testing × 6
jemmy × 3
excel × 2
selenium-webdriver × 1
jmeter × 1
load-testing × 1
javascript × 1
page-objects × 1
coded-ui-tests × 1
web-service × 1
mtm × 1
loadrunner × 1
uft × 1
testing-framework × 1
test-script × 1