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


边栏推荐
- Building the prototype of library functions -- refer to the manual of wildfire
- 深度解析链动2+1模式,颠覆传统卖货思维?
- 构建库函数的雏形——参照野火的手册
- 07 单件(Singleton)模式
- [Wu Enda machine learning] week5 programming assignment EX4 - neural network learning
- "Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.3 linear algebra_ Learning thinking and exercise answers
- Easy to use js script
- Patch NTP server at the beginning of DDoS counterattack
- Template_ Find the reverse pair of permutations_ Sort based on merge
- Yyds dry inventory comparison of several database storage engines
猜你喜欢
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16](/img/c3/f3746b161012acc3751b2bd0b8f663.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23](/img/72/a80ee7ee7b967b0afa6018070d03c9.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13](/img/29/49da279efed22706545929157788f0.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15](/img/72/0fe9cb032339d5f1ccf6f6c24edc57.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15

Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator

Pat grade a 1033 to fill or not to fill
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21](/img/73/4050a592fdd99bf06e8fd853b157b6.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21

Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle

从顶会论文看2022年推荐系统序列建模的趋势

一位博士在华为的22年
随机推荐
What should we pay attention to when using the built-in tool to check the health status in gbase 8C database?
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
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24
技术管理进阶——什么是管理者之体力、脑力、心力
RobotFramework入门(三)WebUI自动化之百度搜索
[community personas] exclusive interview with Ma Longwei: the wheel is not easy to use, so make it yourself!
好用的 JS 脚本
Crawler (9) - scrape framework (1) | scrape asynchronous web crawler framework
A copy can also produce flowers
Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator
Pure QT version of Chinese chess: realize two-man, man-machine and network games
如何精准识别主数据?
Accident index statistics
Global and Chinese markets hitting traffic doors 2022-2028: Research Report on technology, participants, trends, market size and share
QT release exe software and modify exe application icon
主数据管理(MDM)的成熟度
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 9
Dachang image library
2345 file shredding, powerful file deletion tool, unbound pure extract version
Qt发布exe软件及修改exe应用程序图标