I have a page in my app with three Entry controls. In UITest, I have a test that clears the first, puts some text in it, clears the second, puts some text in it, clears the third, puts some text in it.
However... the third ClearText is not working, and so the text being entered is concatenated onto what is already there.
Both the second and third Entry fields are positioned such that they are visible, but when the keyboard appears, if there were no scrolling done, the Entry fields would be hidden. I would assume that ClearText would (should?) throw an exception if it actually thought the third Entry field were not visible, but it does not throw. My suspicion therefore is that in at least two ways, ClearText does not handle properly the scrolling that happens when the keyboard appears. Is this the case? Is there a way to use ClearText reliably (i.e. that does not involve any race conditions) in situations where scrolling might occur when the keyboard appears.
(I am currently testing on a physical Android phone).