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


边栏推荐
- Global and Chinese market of commercial cheese crushers 2022-2028: Research Report on technology, participants, trends, market size and share
- Six stone management: why should leaders ignore product quality
- 米家、涂鸦、Hilink、智汀等生态哪家强?5大主流智能品牌分析
- The third level of C language punch in
- Pure QT version of Chinese chess: realize two-man, man-machine and network games
- 球面透镜与柱面透镜
- Gifcam v7.0 minimalist GIF animation recording tool Chinese single file version
- Force buckle 146 LRU cache
- Keyword static
- Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL
猜你喜欢

"Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers

Qt发布exe软件及修改exe应用程序图标

【MySQL 15】Could not increase number of max_ open_ files to more than 10000 (request: 65535)

MySQL winter vacation self-study 2022 11 (9)

2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition

RobotFramework入门(三)WebUI自动化之百度搜索
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8](/img/16/33f5623625ba817e6e022b5cb7ff5d.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8

2345文件粉碎,文件强力删除工具无捆绑纯净提取版
![[community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!](/img/aa/af98b588efd61d71b1b02609817c49.png)
[community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!

Building the prototype of library functions -- refer to the manual of wildfire
随机推荐
球面透镜与柱面透镜
[community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Is there a case where sqlcdc monitors multiple tables and then associates them to sink to another table? All operations in MySQL
550 permission denied occurs when FTP uploads files, which is not a user permission problem
LeetCode 103. Binary tree zigzag level order transverse - Binary Tree Series Question 5
MySQL winter vacation self-study 2022 11 (5)
Pure QT version of Chinese chess: realize two-man, man-machine and network games
继承的构造函数
Differences and usage scenarios between TCP and UDP
一位博士在华为的22年
Advanced technology management - what is the physical, mental and mental strength of managers
Network Security Learning - Web vulnerabilities (Part 1)
2022 eye health exhibition, vision rehabilitation exhibition, optometry equipment exhibition, eye care products exhibition, eye mask Exhibition
Lecture 4 of Data Engineering Series: sample engineering of data centric AI
纯Qt版中国象棋:实现双人对战、人机对战及网络对战
RobotFramework入门(三)WebUI自动化之百度搜索
技术管理进阶——什么是管理者之体力、脑力、心力
Black high-end responsive website dream weaving template (adaptive mobile terminal)
Spherical lens and cylindrical lens