Last updated: Aug 13, 2017 14:39
By Oded Ben-Ami
Select the date of the wheel by calculating its size as percentage of screen
The formula to convert pixel coordinates into percentage coordinates can be found here.
Date picker wheel sample
The Swipe function performs the swipe gesture – It is possible to define the direction vector coordinates and time frame of the swipe.
A touch down is performed at the start coordinates, followed by a touch up at the end coordinates. The Start and End coordinate values can be in pixels or in percentage.
There is no best method to select a required date – it depends on multi other parameters, such as: Are you working on an iOS or Android device? Are you using IDE/UFT/Eclipse? What is your automation level? Etc.
Perfecto Mobile has various methods to handle the picker wheel. Every user/customer can choose their preferred method according.