So im running the appium.app on a MAC machine for ios testing i have the latest appium.app installed. Please bare with me im very new to appium, i want get the latest one thats in beta to test out new feature. Is there like a guide someone can write up and point me in the right direction to get non appium.app working from scatch like all the tools i will need and a step by step guide would be so helpful.
It’s been a while since I really went through setting up Appium, so the best place to start is the official documentation: http://appium.io/slate/en/master/?ruby#setting-up-appium . If you happen to unfortunately run into an issue that isn’t covered in the docs, feel free to post a question here.
Unfortunately, Murphy’s Law dictates that “if something can go wrong, it will go wrong,” so don’t be dismayed if these crude instructions don’t work perfectly. The error logs Appium’s build process prints are quite handy so you always know what to do next.
Off the top of my head, the tools you’ll need to install are:
NPM and Node.js
Git
Xcode - whatever the latest version is
As a side note, you did not mention you were going to run Android tests, so I did not list the Android requirements in the top list. If you do want to run Android tests sometime in the future though, then you’ll need to ensure you have Java, Ant, Maven, and the Android SDK with platform 17 installed.
To run beta releases of Appium, you can use either npm or build Appium from source. To build and run from source, clone the Appium Git repo: https://github.com/appium/appium. Once it has finished cloning, you want to run “./reset.sh --ios” inside Appium’s project directory on your machine. You’ll later to have to authorize Appium by running the “authorize-ios” script in the project directory. You can launch Appium from its project directory by running “node .”.
I recently swapped out some versions of my automation stack, so I do have some updates for setting up Appium if you’re running from source (AKA you got Appium through git. If you got it through NPM, disregard this post):
I’ve noticed that starting on the 1.5 branch of Appium, the reset.sh script was removed. It seems like some of the dependencies Appium used to contain as part of the project have been moved out as separate projects. In this case, setting up Appium is just to run “node install” within the Appium project directory. Node will read the various Node JSON config files (e.g. package.json) to set up Appium’s dependencies.