how to get a specific object reference from VirtualMachine
Currently, I am working with making a automatic test application to test our business application This automatic test app should use JDI(java debug interface) to fulfil the purpose.
My question is how to get a specific object reference from the virtulmachine where I launch the business app. The reason is, for example, I want to click a button in business app or open a window etc to simulate the users behavior to the business app.

