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


边栏推荐
- Template_ Find the reverse pair of permutations_ Sort based on merge
- Sword finger offer 30 Stack containing min function
- 纯Qt版中国象棋:实现双人对战、人机对战及网络对战
- 有沒有sqlcdc監控多張錶 再關聯後 sink到另外一張錶的案例啊?全部在 mysql中操作
- 力扣今日题-729. 我的日程安排表 I
- A copy can also produce flowers
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
- 零基础自学STM32-复习篇2——使用结构体封装GPIO寄存器
- 剑指 Offer 30. 包含min函数的栈
- 事故指标统计
猜你喜欢
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6](/img/38/51797fcdb57159b48d0e0a72eeb580.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6

3D drawing ()

Which ecology is better, such as Mi family, graffiti, hilink, zhiting, etc? Analysis of five mainstream smart brands

Force buckle 146 LRU cache
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10](/img/89/1c2f98973b79e8d181c10d7796fbb5.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19](/img/7c/f728e88ca36524f92c56213370399b.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19

Httprunnermanager installation (III) - configuring myql Database & initialization data under Linux

Zero foundation self-study STM32 - Review 2 - encapsulating GPIO registers with structures

2022年版图解网络PDF

【社区人物志】专访马龙伟:轮子不好用,那就自己造!
随机推荐
HDU_ p1237_ Simple calculator_ stack
一位博士在华为的22年
How to check the lock information in gbase 8C database?
我把驱动换成了5.1.35,但是还是一样的错误,我现在是能连成功,但是我每做一次sql操作都会报这个
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
事故指标统计
PAT甲级 1033 To Fill or Not to Fill
Bigder: I felt good about the 34/100 interview, but I didn't receive the admission
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 19
Redis installation
2022.02.13
Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator
SQL table name is passed as a parameter
Building the prototype of library functions -- refer to the manual of wildfire
从顶会论文看2022年推荐系统序列建模的趋势
球面透镜与柱面透镜
ftp上传文件时出现 550 Permission denied,不是用户权限问题
爬虫(9) - Scrapy框架(1) | Scrapy 异步网络爬虫框架
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 23
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22