Automate Android , iOS, Windows UWP with Appium | Creating Desired Capabilities
Automating mobile apps
If you're interested in automating your web app in Mobile Safari on iOS or Chrome on Android, Appium can help you. Basically, you write a normal WebDriver test and use Appium as the Selenium server with a special set of desired capabilities.
Desired Capabilities are keys and values encoded in a JSON object, sent by Appium clients to the server when a new automation session is requested. They tell the Appium drivers all kinds of important things about how you want your test to work. Each Appium client builds capabilities in a way specific to the client's language, but at the end of the day, they are sent over to Appium as JSON objects.
Desired Capabilities can be scripted in the WebDriver test or set within the Appium Server GUI (via an Inspector Session)
Let’s consider an example of Desired Capabilities in Appium represented as a JSON object.
{ “platformName”: “Android”, “platformVersion”: “11.0”, “deviceName”: “Samsung A50”, “automationName”: “Appium”, “app”: “path for the app under test” }
Comments
Post a Comment