Hi everyone, I’m having a problem trying to use the robotframework for a flutter app. Robot can’t find xpath to click. Anyone who has used robots to test on flutter app, please guide me.
Thanks all!
Hi Toan,
Is it a mobile app? If so this thread might help → Flutter Testing
If not are you using SeleniumLibrary, BrowserLibrary, something else?
- SeleniumLibrary has a bunch of “Wait Until” keywords like Wait Until Page Contains Element where you can define a timeout to ensure the element is on the page / visible before you try to use it.
- Browser Library has an equivalent in the Wait For Elements State keyword where you use the state type to determine what you are waiting for (
attached
, visible, etc)
Hope that helps,
Dave.
1 Like