Friday, December 4, 2015

Apium: Mac Vs Window machine

Appium on Mac machine: Need a component called 'Instrument' to identify the iOS based application object, that's why appium for iOS does not support on windows machine.
  • What we need to automate the iOS application - Specific version of XCode (above 10.5 and above), .ipa build with developer signature (dev team add the UDID of specific device so that testing team can use the device to create the test case).
  • It works fine for Android platform, no need to add UDID.
  • One more thing we use Apium inspector to identify the object of iOS application, which only provides the XPath (not ID, class etc).
  • In case of Android we can use ID, class, xpath etc with help of UIAutomator tool
  • For automation we generally create separate project for iOS and Android to remove the complication. We can only re-use the script steps (actual test cases), we need to handle the application objects(elements) separately for different platform.

Use of Grid in Apium: If we want to use the grid to run same test case on multiple devices simultaneously, then we use the Grid. With the help of Grid we split the Apium server into different node (sections) and define the device detail in xls file on which we want to run the script.

We can also handle this with providing the parameters in TestNG.xml.

No comments:

Post a Comment