locked
Scroll did not work correctly RRS feed

  • Question

  • User156523 posted

    Hello , i have a problem with function Scroll of Xamarin UITest

    Example : I have a setting menu [ Attach file ] I have a button at the bottom of the list , it didn't appear on the screen of the simulator [ picture 1 ] , and i wanna scroll to that button , when i run test case, it still run and the result is testcase pass [ picture 3 ]

    Pic 2 is my code

    On simulator , i see it didn't scroll.

    I have try with app.Scrolldownto(AddAcc, AddAcc, ScrollStagery.Auto, new timeSpan (0,0,30)) and it didn't work too , it didn't see the element what didn't appear on screen of simulator

    Maybe my code is wrong ! Can you please explain clearly or show me a example code that scrolldown is work ?

    Thursday, September 24, 2015 10:03 AM

Answers

  • User42508 posted

    I use DragCoordinates for scrolling. I have never been able to get Scroll to work.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, October 28, 2015 3:01 PM

All replies

  • User42508 posted

    I use DragCoordinates for scrolling. I have never been able to get Scroll to work.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, October 28, 2015 3:01 PM
  • User156523 posted

    I have solved this problem for a long time , haha Thank you for your help!

    Friday, October 30, 2015 3:44 AM