当前位置:网站首页>Robot framework mobile terminal Automation Test ----- 01 environment installation
Robot framework mobile terminal Automation Test ----- 01 environment installation
2022-07-25 07:17:00 【weixin_ thirty-nine million four hundred and thirty thousand fi】
Environmental installation :
1、 install python37 edition
2、 install robotframework
3、 install python Test library -appium-python-client :pip install appium-python-client
4、 install appium library robotframework-appiumlibrary:pip install robotframework-appiumlibrary
5、 Android emulator installed ( This paper uses nocturnal Simulator ).
6、 install appium( Download address :Releases · appium/appium-desktop · GitHub).
1)server Download address :
Releases · appium/appium-desktop · GitHub
2)appium-inspector Download address :
https://github.com/appium/appium-inspector
7、 install andriod sdk( Download address :https://www.androiddevtools.cn/ )
sdk Installation steps :
1) Download installation package :
2) Start installation :

3) After installation , function SDK Manager.exe

4) Choose the package you want to install
Must install :
Tools/Android SDK Tools
Tools/Android SDK Platform-tools
Tools/Android SDK Build-tools
Choose the latest Android Version installed
For automated testing :
Extras/Google USB Driver
Extras/Google Web Driver
5) Click on Install packages Wait for the installation to complete
6) Configure environment variables
In the system variable, create :ANDROID_HOME, The corresponding variable value is :(sdk The installation path )
stay path Add inside %ANDROID_HOME%\tools and %ANDROID_HOME%\platform-tools
7) verification :cmd Input in adb command ;

8、 Start the night God Simulator , stay windwos Command window input command :adb connect 127.0.0.1:62001
Returns the connected;
You can also use commands :
adb devices # Check whether the connected device ;
9、 Positioning elements :
After connecting the device in the previous step, we can open sdk Self contained prime positioning tool , stay .../sdk/tools/uiautomatorviewer.bat
Click the second button to synchronize the phone to the tool for element location

边栏推荐
- 华为无线设备配置WPA2-802.1X-AES安全策略
- Traffic is not the most important thing for the metauniverse. Whether it can really change the traditional way of life and production is the most important
- 一日千里,追风逐月 | 深势科技发布极致加速版分子对接引擎Uni-Docking
- How to use network installation to deploy multiple virtual servers in KVM environment
- PADS导出gerber文件
- MATLAB自编程系列(1)---角分布函数
- List derivation
- 阿里云镜像地址&网易云镜像
- Price reduction, game, bitterness, etc., vc/pe rushed to queue up and quit in 2022
- Openatom xuprechain open source biweekly report | 2022.7.11-2022.7.22
猜你喜欢

Security compliance, non-stop discounts! High quality travel service, "enjoy the road" for you

Devops has been practiced for many years. What is the most painful thing?

Leave the factory and sell insurance

%d,%s,%c,%x

微信小程序switchTab传参以及接收参数

Tp5.1 foreach adds a new field in the controller record, and there is no need to write all the other fields again without changing them (not operating in the template) (paging)

冰冰学习笔记:类与对象(上)

用VS Code搞Qt6:编译源代码与基本配置

Teach you to use cann to convert photos into cartoon style

北京内推 | 微软STCA招聘NLP/IR/DL方向研究型实习生(可远程)
随机推荐
章鱼网络 Community Call #1|开启 Octopus DAO 构建
Dynamic memory management
Xinku online | cnopendata shareholder information data of A-share listed companies
Cluster chat server: summary of project problems
leetcode刷题:动态规划06(整数拆分)
Price reduction, game, bitterness, etc., vc/pe rushed to queue up and quit in 2022
DJI内推码(一码一用,限时内推)
[semidrive source code analysis] [drive bringup] 38 - norflash & EMMC partition configuration
第一启富金怎么样
What are the types of financial products in 2022? Which is suitable for beginners?
【刷题笔记】搜索插入位置(二分法的活用)
QT actual combat case (53) -- using qdrag to realize the drag puzzle function
150. Evaluation of inverse Polish expression
[Yugong series] July 2022 go teaching course 015 assignment operators and relational operators of operators
The relationship between Informatics, mathematics and Mathematical Olympiad (July 19, 2022) C
Leetcode sword finger offer brush question notes
"Wei Lai Cup" 2022 Niuke summer multi school training camp 1 supplementary problem solution (incomplete)
CTF Crypto---RSA KCS1_ Oaep mode
Statistical learning -- naive Bayesian method
Leetcode 206. reverse linked list I