assertj / assertj-swing

Fluent assertions for Swing apps
Other
108 stars 52 forks source link

Question: How to launch two app simultaneously #207

Closed dextercarrasco closed 7 years ago

dextercarrasco commented 7 years ago

I have this requirement to launch the app with certain parameters, input some data and then retrieve the same data in the same app launched with different parameters. Can this be done? I tried calling ApplicationLauncher twice with different parameters but it doesn't work. Closing the frame terminates the whole test.

dextercarrasco commented 7 years ago

It seems I can cleanup the frame and later launch the application again.

croesch commented 7 years ago

Okay so problem solved? Normally it depends heavily on your main methods logic and what the Frame does when it get's closed. But it's possible to run the application twice, yes.