
Announcements
Hello community!
I am working with a Java based program and I am to a spot where a window pops up and once it's done doing what it needs to do the window automatically closes. Performing a "Wait for window" to open works. I am also then able to "Get details of the UI element in window" and grab some text from that window. However the next step is "Wait for window" to close and the flow just sits there. I would love to find a way to capture the closing of the window because this signifies a successful operation and if I add in a time out to this step then I have a possibility of corrupting data.
Thinking that the window title or something is being changed I the UI element Name to "Contains" and then removed most of the information to make it more easily matched. Since I'm new to the scene; is there any other tricks I might be able to try to detect when the window closes?
I am going to try and do a loop on Get details of the UI element and see if maybe it will error out; but I'm open to suggestions!
Thank you
Looks like I may have already have a winner. I created a variable called "JustKeepLooping" and have that set to true. Then I create a Loop Condition that continues while JustKeepLooping is set to True. There are then two different checks I am doing.
The first check on error condition was not set and the flow error out which is why I added it.