GDATASoftwareAG / robotframework-flaui

Windows user interface automation library for Robot-Framework. FlaUILibrary is a wrapper for the FlaUI automation library.
MIT License
60 stars 12 forks source link

How to handle mouse busy spinner in desktop Application(Code should wait until mouse completes its loading state) #142

Open vamsivarma94 opened 10 months ago

vamsivarma94 commented 10 months ago

Describe the feature Is there any direct method that is available to handle mouse busy state. We are actually looking for solution to avoid sync issues in our code. Our's is very big application contains lot of data. Navigating B/W windows is taking some time to load all elements in upcoming window. We tried Wait While busy and Wait Until responsive and others as well but still we are getting sync issues.

Workarounds Any workaround to wait until mouse completes its loading state.

image

Nepitwin commented 10 months ago

Mhm currently i don't see any kind of information which can be used from FlaUI to receive this kind of information.

I only see this method

https://github.com/FlaUI/FlaUI/blob/bf949b64af77f27301743ca9d58eb9b5362c3aee/src/FlaUI.Core/Input/Mouse.cs#L304C14-L304C14

But i think in general currently their is no method implemented to indicate such a state. So i think to extend FlaUI first is the way to go.

Or to verify this state by any kind of mouse event handling in python or any kind of thirdparty libary.