Just a blog to share my tricks, code snippets

Wednesday, March 1, 2017

How to update Appium server


Appium 1.6.0 has released a while. Below are steps to update Appium from old version to newest version (1.6.0). Note that Appium 1.6.0 is the Appium server version. It is different with the Appium GUI version which highest version is stilll 1.5.3:
- Update Xcode to newest (8.1): go to Appstore --> search for xcode --> update --> open Xcode to accept license
- Update Appium server:
npm update -g appium
- add desired_caps['automationName'] = 'XCUITest'
- Fix some issues:
+ https://github.com/appium/appium/issues/6978
* use this command: npm install -g appium --no-shrinkwrap
+ install carthage: brew install carthage
+ https://github.com/appium/appium/issues/7242
+ some xpath does not work --> use accessibilityid or XCUI
+ sudo /usr/sbin/DevToolsSecurity --enable

0 comments:

Post a Comment