当前位置:网站首页>Introduction to robotframework (II) app startup of appui automation
Introduction to robotframework (II) app startup of appui automation
2022-07-06 02:37:00 【Makasa】
Preface
This chapter focuses on appUI A small example of Automation
ps: Although this is a small example , But if you want to pass robot To do appUI automation , It's all the same , You can search for keyword combinations to use
In fact, under normal circumstances , We will use code directly to realize automation , Not in ride Shangxingha , I'll talk about it later robotframework Construction of framework
One 、 Create test cases
- The entire use case is created in the previous blog Said , Don't talk too much here , See the following links for details ~
https://blog.csdn.net/Makasa/article/details/125615199?spm=1001.2014.3001.5502
Two 、app Start step
1、 download robotframework-AppiumLibrary
pip install robotframework-AppiumLibrary
2、 Guide the package in the test suite
- Be careful : The package name should be strictly case sensitive , After downloading the package , Remember to guide again
- Red : It means that the package import failed , black : Then the package is successfully imported
If red is displayed , If you don't know why , Can open Tools–View RIDE Log Look at the specific errors reported in the log
3、UI Use case writing
- keyword :Open Application Start the application
- These parameters are specific adb Command acquisition method , I was introducing appium It has been mentioned when
Details please see :https://blog.csdn.net/Makasa/article/details/121287286
Parameters 1、Appium Where url route ( This is fixed ):http://localhost:4723/wd/hub
Parameters 2、platformName: Name of the tested platform Android/ios
Parameters 3、platformVersion : edition
Parameters 4、deviceName: Equipment name
Parameters 5、appPackage: test app The package name
Parameters 6、appActivity: test app Of activity name
If you don't know how to use specific keywords ? You can press the shortcut key F5, You can search
4、 Run the use case to see the results
边栏推荐
- 更换gcc版本后,编译出现make[1]: cc: Command not found
- Black high-end responsive website dream weaving template (adaptive mobile terminal)
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
- 纯Qt版中国象棋:实现双人对战、人机对战及网络对战
- [Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
- HDU_p1237_简单计算器_stack
- The third level of C language punch in
- 2022年版图解网络PDF
- Déduisez la question d'aujourd'hui - 729. Mon emploi du temps I
- 【机器人手眼标定】eye in hand
猜你喜欢
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
主数据管理(MDM)的成熟度
Qt发布exe软件及修改exe应用程序图标
Shell脚本更新存储过程到数据库
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18
如何精准识别主数据?
Redis delete policy
Black high-end responsive website dream weaving template (adaptive mobile terminal)
PAT甲级 1033 To Fill or Not to Fill
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 7
随机推荐
Pure QT version of Chinese chess: realize two-man, man-machine and network games
DDoS attacks - are we really at war?
Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle
[robot library] awesome robots Libraries
Shell script updates stored procedure to database
JS events (add, delete) and delegates
inherited constructors
高数_向量代数_单位向量_向量与坐标轴的夹角
Gifcam v7.0 minimalist GIF animation recording tool Chinese single file version
Global and Chinese markets hitting traffic doors 2022-2028: Research Report on technology, participants, trends, market size and share
[coppeliasim] 6-DOF path planning
球面透镜与柱面透镜
Universal crud interface
Trends in DDoS Attacks
模板_求排列逆序对_基于归并排序
米家、涂鸦、Hilink、智汀等生态哪家强?5大主流智能品牌分析
PMP每日一练 | 考试不迷路-7.5
在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
零基础自学STM32-复习篇2——使用结构体封装GPIO寄存器
2345文件粉碎,文件强力删除工具无捆绑纯净提取版