Tag not monitored by Microsoft.
What is the difference between ScrollDown and ScrollDownTo in Xamarin.UiTests?
I am trying to scroll to a specific element in the listview using Xamarin.Uitest in Android. I have 2 issues here.
First of all ScrollDownTo is much faster than ScrollDown using like below
App.ScrollDownTo(x => x.Marked("listitem3"), y => y.Marked("list"), ScrollStrategy.Auto, timeout: new TimeSpan(0, 0, 30));
App.ScrollDown(x => x.Marked("listitem3"), ScrollStrategy.Auto);
not sure 2nd one is even correct usage because as I understand, listitem1 has to be on the screen, otherwise it is not found an crashing.
Problem with the 1st one;
Maked listitem3 is the last element on the screen, even half of the element is displayed, it does no action because it accepts as it is already on the screen. But I need this element to be fully displayed either on top or in the middle of the screen. If i scroll to next element listitem4, then it scrolls but listitem3 becames off the screen and listitem4 is top item.
So my question is how can i make sure that scrolling to a target item fully brings the item on the screen. Because even half of the item is on the screen, it wont scroll further.