r/javahelp • • Dec 24 '22

How do we automate a java application?

How can we get the DOM structure of a java application and automate it? Can we use JAAPI ?

0 Upvotes

13 comments sorted by

View all comments

6

u/marskuh Dec 24 '22

Is this a fun question? I don’t understand what you are asking?! Are you talking about a GUI application written in Java? What do you want to automate. We need a bit more information

2

u/[deleted] Dec 24 '22

Yes , you are right, how to automate a GUI application written in java. Do we access its DOM structure of it from the jar files ?

5

u/khooke Extreme Brewer Dec 24 '22

Can you explain what it is you're trying to do and why? Browsers have a DOM, Java apps do not.

2

u/[deleted] Dec 24 '22 edited Jan 02 '23

I am trying to automate any java application ( cross framework , cross platform) . I understand now java applications do not have DOM. How do we get the components structure of any java application then.