windows python脚本语言 Appium移动自动化测试

电脑杂谈  发布时间:2018-02-22 05:19:29  来源:网络整理

python是脚本语言吗_windows python脚本语言_脚本语言有哪些

当你点击这一章时,说明你是打算使用 Python 语言编写 appium 自动化测试脚本的。

1、安装Python 语言, Python的安装相对相简单得多。

其实,python-client的项目名称叫:Appium-Python-Client。

推荐pip安装:

(venv) λ pip install Appium-Python-Client
Collecting Appium-Python-Client
  Using cached Appium-Python-Client-0.24.tar.gz
Requirement already satisfied: selenium>=2.47.0 in d:\pyflask\venv\lib\site-packages (from Appium-Python-Client)
Building wheels for collected packages: Appium-Python-Client
  Running setup.py bdist_wheel for Appium-Python-Client ... done
  Stored in directory: C:\Users\fnngj\AppData\Local\pip\Cache\wheels\2e\cf\10\0e3f177c9869147b16584d402f79d9007df1139105ea3ecc2c

Successfully built Appium-Python-Client
Installing collected packages: Appium-Python-Client
Successfully installed Appium-Python-Client-0.24

脚本语言有哪些_python是脚本语言吗_windows python脚本语言

第一步,启动Android模拟器。

第二步,启动 Appium Server。windows python脚本语言

点击右上角三角按钮,注意Appium的启动日志。

脚本语言有哪些_python是脚本语言吗_windows python脚本语言

> Launching Appium server with command: D:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --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","logNoColors":true,"platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug

Appium在启动时默认占用本机的4723端口,即:127.0.0.1:4723

第三步,编写 appnium 测试脚本。windows python脚本语言


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-88147-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 闵帝
      闵帝

      那些所谓的创新公司靠圈钱过日子

    • 太白山神
      太白山神

      美国进入叙利亚经过叙利亚政府

    • 毛超杰
      毛超杰

      父母的美德是一笔巨大的财富

    热点图片
    拼命载入中...