Last updated: Jun 22, 2018 17:05
When executing a script using the Appium value for the "automationName" capability on iOS 11 or on supported iOS 10 devices with the XCUITest value for the "automationName" capability, coordinates retrieved from objects will not be executed correctly using Perfecto’s Touch command.
The reason is that Appium bases the screen size on UI Points, whereas in Perfecto the screen size is based on Rendered Pixels.
For an explanation about the difference, see: https://www.paintcodeapp.com/news/iphone-6-screens-demystified
- For 750 × 1334 resolution XCUITest iOS devices - multiply the screen size values by 2
- For 1242 × 2208 resolution XCUITest iOS devices - multiply the screen size values by 3