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

Last updated: Jul 23, 2019 21:39

supported from v18.6


The Appium driver selects the device to automate as part of the instantiation of the driver object.

Identifying the device to select is based on setting the set of DesiredCapabilitiies.

Perfecto now enables the customer to add Perfecto related capabilities to be included at the process of selecting device.


For example, If the test case you want to run requires a device that supports the set Location feature and does not support the face ID feature, you need to specify the following capabilities:

capabilities.setCapability("perfecto:fingerPrintSupport", false);
capabilities.setCapability("perfecto:setLocationSupport", true);


If the test case you want to run requires a Samsung Galaxy device running Android 5 or Android 6 and supports the motion Injection feature, you need to specify the following capabilities: 

capabilities.setCapability("platformName", "Android");
capabilities.setCapability("platformVersion", "[56].*");
capabilities.setCapability("manufacturer", "Samsung");
capabilities.setCapability("model", "Galaxy.*");
capabilities.setCapability("perfecto:motionInjectionSupport", true);


To select the device based on supported features, use the following capabilities: 

SettingsDescriptionKeyValue Type
Fingerprint support

Whether the device supports the Set fingerprint feature.

perfecto:fingerPrintSupport
boolean
Motion notifications injection supportWhether the device supports the Motion Notifications Injection feature.

perfecto:motionInjectionSupport
boolean
FaceID supportWhether the device supports the Face ID feature.

perfecto:faceIDSupport
boolean
Image injection supportWhether the device supports the Image Injection feature.

perfecto:imageInjectionSupport
boolean
Voice assistant inject supportWhether the device supports the Voice assistant inject feature.

perfecto:voiceAssistantInjectionSupport
boolean
Force touch supportWhether the device supports the Force Touch (3D Touch) feature.

perfecto:forceTouch
boolean
Set location supportWhether the device supports the Set device location feature.

perfecto:setLocationSupport
boolean
Reboot supportWhether the device supports the Reboot Device feature.

perfecto:rebootSupport
boolean