Close swing application using Jubula client api in java

83 Views Asked by At

I am using Jubula 8.7.1. I am writing my test in Java using client api. The test run s well but at the end application does not close. I tried aut.disconnect(); But this disconnects from AUT and does not close the application. I am looking for something like driver.close() in selenium.

1

There are 1 best solutions below

2
Marvin Mueller On

This should work fine to close a application: AUTIdentifier autId= agent.startAUT(someConfiguration); agent.stopAUT(autId);

agent is the AutAgent you have set up, and someConfiguration is the configuration you are using to start the AUT.