appium移动自动化测试--安装appium
2019-01-31 本文已影响0人
majianping
Appium测试环境的搭建相对比较繁琐,相信不少出学者都没开始学习就已经死在了环境搭建上。所以,我首先会分篇的介绍环境搭建的全过程。
一、安装appium
大多数appium资料会介绍node.js的安装方法,但是这种方式会很慢,我们可以在Appium官方网站上下载操作系统相应的Appium版本。https://bitbucket.org/appium/appium.app/downloads/

当前最新版本为AppiumForWindows_1_4_16_1.zip ,注意这是一个Windows 版本,如果你的电脑为MAC请下载appium-1.5.3.dmg。虽然你已经看到了这些下载包,但我不保证你能下载的下来。原因你懂的~!
所以,再来提供一个百度网盘的下载链接:http://pan.baidu.com/s/1jGvAISu
我们以Windows为例,将下载的AppiumForWindows_1_4_16_1.zip 进行解压,双击“appium-installer.exe”进行安装。根据提示,一步一步进行安装,这里不再啰嗦。最终在会桌面上生成Appium图标,当我双击图标时,那么问题来了。

这个简单,百度“.net framework 4.0” ,百度软件中心提供该框架的下载,将其下载并安装即可。

“.net framework 4.0”安装完成,再次启动Appium,再次弹出提示:

好吧,再次百度“.net framework 4.5”,进行下载安装。再次启动Appium。

你以为环境就搭建好了么?这才刚开始。