直接配置好Appium环境变量,在Appium 的安装路径下有appium.cmd文件
这里就可以使用命令行,
或者直接在CMD中输入:
appium -a 127.0.0.1 -p 4723
或 appium –address 127.0.0.1 –port 4723 –no-reset –platform-name Android –platform-version 23 –automation-name Appium –log-no-color
出现以下信息表示启动成功:
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {“address”:”127.0.0.1”}
info: Console LogLevel: debug
参考:http://www.cnblogs.com/xinleishare/p/4793539.html
保存日志文件的启动
appium -a 127.0.0.1 -p 4723 -g D:/Project/workspace/XCDAutomationTestNG/loggerFile/appium.log