Can appium studio do test that require hardware capabilities (such as : fingerprint, gyroscope, accelerometer, compass, etc)?

Hi,

I want to ask about Appium Studio, can appium studio do test that require hardware capabilities (such as : fingerprint, gyroscope, accelerometer, compass, etc) ?
if can, can i see the command?

Thank you

Hi @daniel.reinaldo,

There certainly are some restrictions when we talk about these hardware capabilities, but what we do fully support is Fingerprint / TouchID.
What we have done is to programmatically add a set of responses which can be used in order to simulate a finger being pressed.
This is however not fully possible with only Appium, you have to add additionally a JAR file, and a code example looks something like this:

RemoteWebDriver driver = new RemoteWebDriver(new URL("some_url"), dc);
SeeTestClient client = new SeeTestClient(driver); // Our own library to work with driver

client.setAuthenticationReply("AUTHENTICATION_SUCCEEDED", 0);

When we talk about Gyroscope, Accelerometer, Compass, these items require that the device usually needs to be in movement of some sort, what we offer is the capability to work with any Applications on the device, so you certainly can use application that has these features, but the main concern comes down to what you are trying to achieve with these capabilities?