![]() PlatformVersion: You can set mobile OS version using this capability.Įxample: Use either of below command. tCapability("platformName","Android") Ĭaps.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android") You can set value as iOS, Android or FirefoxOS.Įxample: Use either of below command. PlatformName: This is used to set the mobile OS platform. Selendroid is used when you want to work with SDK version less than 17 otherwise capabilities take default value as Appium.Įxample: DesiredCapabilities caps = new DesiredCapabilities() Ĭaps.setCapability("automationName","Selendroid") We need to import "import .DesiredCapabilities" library for Java to work with the desired capabilities.ĪutomationName: This capability is used to define the automation engine like Selendroid. Desire capabilities describes the capabilities for the automation session.ĭesired capabilities help us to modify the behavior of the server while automation. ![]() ![]() To send any desired request or to maintain any desired session with the server, a set of Key and value pair is used. Desired capabilities is a JSON Object sent by a client to the server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |