Page tree
Skip to end of metadata
Go to start of metadata

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


Workaround:


  • 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