How do you test java swing apps in AutoIt?
I am facing now a problem. I have to test application that has only main window titled (415.jpg from attachement - i cover names, so let's call this title "covered"). Every dialog windows that appear has only info like in 414.jpg from attachement.
I have a code like below:
Now, when dialog window appears, there is a mouse click and that's fine, but if there is no window, code waits. When i minimalize it, then code exits.
I'm not 100% sure, when i have my "covered" window active, that every other dialogs (maybe not visible) are not active, but if they will be active, i think it will try to MouseClick on it, but nothing happen.
Is there any method to return every class named objects of running app? Maybe, there is something which blocks it. Do you have any other solution?
Thanks in advance,
Michal
I am facing now a problem. I have to test application that has only main window titled (415.jpg from attachement - i cover names, so let's call this title "covered"). Every dialog windows that appear has only info like in 414.jpg from attachement.
I have a code like below:
[ autoit ]
WinWaitNotActive("covered") If WinActive("[CLASS:SunAwtDialog]") == 0 Then Exit Else MouseClick("left",640,808,1) EndIf
Now, when dialog window appears, there is a mouse click and that's fine, but if there is no window, code waits. When i minimalize it, then code exits.
I'm not 100% sure, when i have my "covered" window active, that every other dialogs (maybe not visible) are not active, but if they will be active, i think it will try to MouseClick on it, but nothing happen.
Is there any method to return every class named objects of running app? Maybe, there is something which blocks it. Do you have any other solution?
Thanks in advance,
Michal