Hi , I have an android application and I have to scroll through the “year” section from the three scrollable sections [DATE,MONTH AND YEAR ] . Using the appium desktop I was able to perform the scrolling using touch action perform and giving the coordinates but the test fails when run on other devices as the coordinates may change depending on the screen size. I am looking for a solution that scrolls only the YEAR section from whatever point it is on currently to the year 1999 . without using COORDINATES.
The year element has its own element ID but I am unable to perform the scrolling function that can work on any device regardless of screen size .
Any help would be appreciated