Testing will always be performed in a fixed context with respect to Appium server and that context will be set by desired capabilities. There are some mandatory desired capabilities and some are device OS-specific, such as Android or iOS. If you navigate to the HomePageSteps class file and the iLaunchQuikr() method, you will note the following mentioned lines:
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("platformVersion", "5.1");
capabilities.setCapability("deviceName", "Nexus");
So, platformName, platformVersion, and deviceName are mandatory desired capabilities, which form the basis of mobile automation.
Here are some of the capabilities that are applicable for both iOS as well as Android devices:
Capability | Description & Usage |
automationName |
This... |