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.