Where is ScrollToTop()?

The REPL window has commands like ScrollToTop and ScrollToBottom. Where are those in the UITest API for me to use in my test scripts?


  • I can now see that the method I was remembering in the REPL was
    ScrollToVerticalStart which is ONLY available for Android. Therefore, if I cast my app to an AndroidApp, I can gain access to that method from UITest code. So now how do I do that same thing on iOS. Regular app code could do:
    tableView.ContentOffset = CGPoint.Empty; or something like that. However, I have never figured out how to call Invoke with iOS when the argument to the method I am trying to invoke is not a simple primitive type. How would I construct a CGPoint in UITest code to give to my Invoke call?

Sign In or Register to comment.