Hi all,
I have an application that generates XML as a query for a
servlet that hits the appropriate databases and sends back results also in XML. So far so good.
What I'd like to do is some performance
testing. I'd like to write a method that sets certain JTextFields with values and then simulates a button press on specific JButtons. Then perhaps add another button to the GUI that just performs this scripted set of UI actions. I can use setText() for the JTextFields, but how can I programmatically trigger action events for the JButtons?
Thanks!