Appium Server

Background

Appium server is different on mac vs. windows. This post will focus more on mac - The only reason being that the whole mobile app environment with emulators/simulators , correct drivers for real devices (for debugging from IDE) etc. is easier to do on mac than windows. Also because iApps work only on mac. Sure android can work on windows, but if we have to make a choice, we would choose mac over windows. In general, most forums, help topics and troubleshoot posts on internet will be aligned with mac environment.

Download and install Appium Server

Follow the instructions on appium home page - http://appium.io/ (You can see that it is a nodejs server, and hence you can start the server from command line , however to keep it simple initially, I just download the .dmg file and double click to install and start. Eventually with CI alignment, you would want to go with nodejs server though). The server looks as below after you download and install it (Ignore the verbose statements).Click the "Launch" button

GUI Start iOS Mode

  • The Appium server in the above picture has started in iOS mode (radio button for Apple icon checked)
  • By default Appium server listens on port :4723 on all netework interfaces (0.0.0.0)
  • It is assumed that you have installed Xcode and compatible command line tools aligned with your mac os
  • The appium server version as you can see is 1.4.13
  • At the time of writing this book, we used OSX 10.10.5 Yosemite, Xcode 7.1.1 and the SDKs as shown below

Navigate to Xcode -> Preferences OR if you prefer to check from command line.

==============================================================

GUI Start Android Mode

  • The appium server is started in Android mode (radio button for Android icon checked)
  • By default Appium server listens on port :4723 on all network interfaces (0.0.0.0)
  • It is assumed that you have completed the Android System setup section mentioned at the beginning of this book (basically android sdk should be available in PATH including android tools)
  • The appium server version as you can see is 1.4.13

results matching ""

    No results matching ""