2015年2月4日 星期三

Appium 執行環境設置 - Linux + RobotFramework + Android

 Setup Jenkins slave machine.

Java

# chmod
$ sudo chmod a+x jre-8u25-linux-x64.tar.gz

# create java folder & unzip
$ sudo mkdir /usr/local/java
$ sudo cp jre-8u25-linux-x64.tar.gz /usr/local/java/
$ cd /usr/local/java
$ sudo tar xvzf jre-8u25-linux-x64.tar.gz 

Android SDK

Download standalone sdk from website & update SDK
$ [SDK_PATH]/tools/android update sdk

genymotion (Android Emulator)

$ chmod +x genymotion-2.3.1_x64.bin
$ ./genymotion-2.3.1_x64.bin
 
# Run Genymotion Via Terminal
$ [PATH]/genymotion/genymotion

appium

Appium 安裝及Tutorial Project 執行 - Linux + Android

appium python client

$ pip install Appium-Python-Client

AppiumLibrary (Robot Framework)

$ sudo pip install robotframework-appiumlibrary 

Jenkins - set slave

Create folder for jenkins job.
$ sudo mkdir /var/jenkins
$ sudo chmod 777 /var/jenkins


Issue

adb: no such file or directory ERROR
Ubuntu 14.04 LTS 解决adb无法运行 提示adb: No such file or directory 安装ia32-libs

沒有留言:

張貼留言