How do I do StudioX to proceed when for example: There is a grey square on the screen. I would like to StudioX to wait until the square disappears and only then to proceed. I tried it with check app state but it does not work for me. Any other ideas?
One approach you could take in StudioX is to use the Image Exists activity to continuously check if the grey square is present on the screen. Once the grey square disappears, the activity will return a false value, and you can use a Do While loop to keep checking until the image no longer exists.
Try to use the Element Exists activity in StudioX, which allows you to check if an element is present on the screen. You can set a timeout for how long StudioX should wait for the element to disappear before moving on to the next activity