Hello,
I’m new to Appium and Robot Framework, at the moment i am testing an App build with flutter/dart and running on an Android Emulation (Android Studio). The Webdriver i use is UiAutomator2
At the Moment i have a Problem, with the building of the Widget Tree (for Webbrowsers that would be the DOM). Simply spoken, my tests are to fast. It also seems that the webdriver somehow interrupts the widget build, as the App shows an automatic scrolldown to my test-object on manual use, which does not happen in the automated tests. Unless i force the test to sleep for some seconds.
I see a lot of ‘Sleep’ Commands as solutions in this Forum, but these have their drawbacks, you can only hope the Tree has finished building after x seconds, rebuilds can be triggered during your fixed Sleeping period, rendering Object Handles stale etc.
For SeleniumLibrary there seems to be a solution to wait until the DOM (webbrowser) build has completed, Is there anything like this for the AppiumLibrary with Flutter Apps?
What is the best praxis here?
Thanks and bye Marc