当前位置:网站首页>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
边栏推荐
- Referenceerror: primordials is not defined error resolution
- Paper notes: limit multi label learning galaxc (temporarily stored, not finished)
- Universal crud interface
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
- LeetCode 103. Binary tree zigzag level order transverse - Binary Tree Series Question 5
- 高数_向量代数_单位向量_向量与坐标轴的夹角
- [Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
- 剑指 Offer 30. 包含min函数的栈
- 力扣今日题-729. 我的日程安排表 I
- Keyword static
猜你喜欢
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
3D drawing ()
[Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
【MySQL 15】Could not increase number of max_open_files to more than 10000 (request: 65535)
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
主数据管理理论与实践
Déduisez la question d'aujourd'hui - 729. Mon emploi du temps I
Zero basic self-study STM32 wildfire review of GPIO use absolute address to operate GPIO
微软语音合成助手 v1.3 文本转语音工具,真实语音AI生成器
Li Kou today's question -729 My schedule I
随机推荐
Sword finger offer 29 Print matrix clockwise
Thinking on Architecture Design (under continuous updating)
MySQL winter vacation self-study 2022 11 (8)
I changed the driver to 5.1.35, but it is still the same error. I can succeed even now, but I will report this every time I do an SQL operation
Global and Chinese markets of nasal oxygen tubes 2022-2028: Research Report on technology, participants, trends, market size and share
Lecture 4 of Data Engineering Series: sample engineering of data centric AI
【机器人手眼标定】eye in hand
Differences and usage scenarios between TCP and UDP
2020.02.11
3D drawing ()
Zero foundation self-study STM32 - Review 2 - encapsulating GPIO registers with structures
How to generate rich text online
"Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
DDoS "fire drill" service urges companies to be prepared
继承的构造函数
Qt发布exe软件及修改exe应用程序图标
【MySQL 15】Could not increase number of max_ open_ files to more than 10000 (request: 65535)
Redis delete policy
2022 edition illustrated network pdf