Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Best Practices > Desktop Java SWING implem...
Hi,
I'm trying to create a test in a simple java desktop application, but it seems the clicks are not registered. Rapise just finds the main frame (SunAwtFrame) and clicks by coordinates, but it doesn't see the Buttons and TextBoxes.
I installed the Java Bridge and tried it on the provided AUTJAVA app.
It captures AWT (upper) elements okay, as seen on the screenshot in green,
but for all SWING (lower) elements marked with red, it records just clicks on the frame with coordinates on the same frame element.
I also tried testing on few different applications like JMeter, SoapUI, OWASP ZAP that I know are made with Java, but on all I get just the canvas/Frame element and not the inner elements...
I tried implementing Java SWT too (Eclipse IDE), that works great.
If the image is not displayed, this is the link:
https://imgur.com/pVNgf5t
& I also forgot to mention - I tried running the applications with different versions of Java: jre1.8.0_261(x32 and x64), jdk1.8.0_261 and jdk-15 (x64)
Regards
Please could you log a help desk ticket, it is most likely a configuration issue with the Java Bridge.
Here's some other things you can try: https://www.inflectra.com/Support/KnowledgeBase/KB223.aspx
David
And if you have any questions, please email or call us at +1 (202) 558-6885