当前位置:网站首页>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

边栏推荐
- [daily question] sword finger offer II 115. reconstruction sequence
- 分布式爬虫中的增量爬虫
- Statistical learning -- naive Bayesian method
- 【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
- 阿里云镜像地址&网易云镜像
- Default value of dart variable
- 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)
- CEPH in hand, I have!
- 150. Evaluation of inverse Polish expression
- MATLAB自编程系列(1)---角分布函数
猜你喜欢

PADS导出gerber文件
![[daily question 1] 1184. Distance between bus stops](/img/36/2bbb8cc2a1fdd08070a5df7527e692.png)
[daily question 1] 1184. Distance between bus stops

JS cannot get content disposition in headers

LeetCode118. 杨辉三角

数据提交类型 Request Payload 与 Form Data 的区别总结

9 best engineering construction project management systems

Ideal L9, can't cross a pit on the road?

Lidar construction map (overlay grid construction map)

Scavenging vultures or woodpeckers? How to correctly understand short selling

RPC communication principle and project technology selection
随机推荐
【obs】视频包发送的dts_usec 计算
List derivation
Leetcode sword finger offer brush question notes
Get all file names of the current folder
Learn when playing No 7 | don't study this holiday, study only
[cloud native] the ribbon is no longer used at the bottom of openfeign, which started in 2020.0.x
scrapy定时爬虫的思路
Yolov7 model reasoning and training its own data set
Openatom xuprechain open source biweekly report | 2022.7.11-2022.7.22
【刷题笔记】搜索插入位置(二分法的活用)
Learn no when playing 10. Is enterprise knowledge management too boring? Use it to solve!
Elasticserach里delete_by_query的机制是什么?
Rust标准库-实现一个TCP服务、Rust使用套接字
Dynamic memory management
vulnhub CyberSploit: 1
《游戏机图鉴》:一份献给游戏玩家的回忆录
Rambus announces ddr5 memory interface chip portfolio for data centers and PCs
Luo min from qudian, prefabricate "leeks"?
Decrypting numpy is a key difficulty in solving the gradient
Save the sqoop run template