clicking a button to show a popup using doClick() is not releasing the button - JFCUnit
posted 6 years ago
I'm using JFCUnit to automate a Swing application. There are several screens on which I'm programmatically clicking on "Next" button which takes me to the next screen.
I'm using the following code for that:
The problem that I'm facing is, when I click on a non-next button of a screen, like a button when clicked, shows a popup asking for an input, I noticed that the button is not being released and so the new popup is not gaining control, because of which I'm not able to provide the input on the popup
Can somebody please help me on this with a small piece of code.