I am now unable to get the following to work in iOS.
((Xamarin.UITest.iOS.iOSApp)_app).ScrollTo(styleId, "Line style", ScrollStrategy.Auto, 0.67, 500, true, scrollDuration);
Is this broken for others?
For the methods in iOS which weren't scrolling as expected, I had to use logic like the following:
_app.ScrollDown(x => x.Class("UITableView"));
Instead of scrolling to a specific row, I scroll the table view and see if the row I need is there. I repeat this until the item is found.
Yes, although I'm working on Android and it's not working for me. I can do a ScrollDown but it jumps two lines/items in the list instead of one. The ScrollUpTo, ScrollDownTo and ScrollTo all timeout trying to find the item in the list.
I am having the same problem. ScrollTo() and ScrollDownTo() are no longer working on iOS.
I have recently upgraded to Xamarin.UITest 1.3.8. Before that these methods were working fine.
Is there a fix?
I should add that the actual issue is that there is an exception thrown -
System.MissingMethodException : Method 'IApp.ScrollTo' not found.
I got the scrolling working on IOS with the following code
IOSApp.ScrollDown(c => c.Class("UIScrollView"), ScrollStrategy.Auto, 0.67, 2000, true);
IOSApp.ScrollUp(c => c.Class("UIScrollView"), ScrollStrategy.Auto, 0.67, 2000, true);
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies