UITest 1.3.7 - ScrollTo and ScrollDownTo not working in iOS with latest UITest release

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);
or
_app.ScrollTo(styleId);

Is this broken for others?

Best Answer

Answers

  • tweitztweitz ✭✭ USMember ✭✭

    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.

  • JohnSheehyJohnSheehy USMember

    Hello.

    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?

  • JohnSheehyJohnSheehy USMember

    I should add that the actual issue is that there is an exception thrown -

    System.MissingMethodException : Method 'IApp.ScrollTo' not found.

  • vijaynagvijaynag AUMember

    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);

Sign In or Register to comment.