1.系列文章:转载来源:乙醇的cnblog
http://www.kuqin.com/shuoit/20140704/340994.html
2.环境部署:http://www.51testing.com/html/21/31221-862941.html
3.实例:http://www.cnblogs.com/fnng/p/4579152.htmldesired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '4.4.2'
desired_caps['deviceName'] = 'emulator-5554' //换成自己的adb devices设备名
desired_caps['app'] = os.path.abspath(r'D:Program Filesadt-bundle-windows-x86_64-20140702sdkplatformsappsContactManager.apk') //换成自己的apk
desired_caps['appPackage'] = 'com.example.android.contactmanager' //对应apk的包
desired_caps['appActivity'] = '.ContactManager' //对应apk的activity
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps) //4723是dos下appium启动的端口号,wd/hub目录的意思目前还不明白
4.运行:1)启动模拟器 2)启动appium 3)运行py文件(我是直接在eclipse下运行)