当前位置:网站首页>Katalon框架测试web(二十一)获取元素属性断言
Katalon框架测试web(二十一)获取元素属性断言
2022-07-04 03:33:00 【春天的菠菜】
目录
使用了编码视图
方法一:先获取属性值,再断言
msg = Mobile.getAttribute(findTestObject('login/msg'), 'contentDescription', 0)
println(msg)
Mobile.verifyEqual(msg, '操作成功')
方法二:直接获取属性值断言
Mobile.verifyElementAttributeValue(findTestObject('login/msg'), 'contentDescription', '操作成功', 0)边栏推荐
- what does ctrl + d do?
- super_ Subclass object memory structure_ Inheritance tree traceability
- 选择排序与冒泡排序模板
- Recent learning fragmentation (14)
- Contest3145 - the 37th game of 2021 freshman individual training match_ G: Score
- Li Chuang EDA learning notes 13: electrical network for drawing schematic diagram
- 基于PHP的轻量企业销售管理系统
- 微信公众号网页授权
- MySQL one master multiple slaves + linear replication
- What is the difference between enterprise wechat applet and wechat applet
猜你喜欢

If you have just joined a new company, don't be fired because of your mistakes

SQL语句加强练习(MySQL8.0为例)

Recursive structure

Teach you how to optimize SQL

Katalon框架测试web(二十六)自动发邮件

Nbear introduction and use diagram

Summary of Chinese remainder theorem

GUI Graphical user interface programming (XIV) optionmenu - what do you want your girlfriend to wear on Valentine's day

Jenkins configures IP address access

Explain AI accelerator in detail: why is this the golden age of AI accelerator?
随机推荐
Audio and video technology development weekly | 232
How much does it cost to open a futures account in China? Where is it safe to open an account at present?
Contest3145 - the 37th game of 2021 freshman individual training match_ E: Eat watermelon
Aperçu du code source futur - série juc
Third party login initial version
Li Chuang EDA learning notes 13: electrical network for drawing schematic diagram
This function has none of DETERMINISTIC, NO SQL..... (you *might* want to use the less safe log_bin_t
Objective-C string class, array class
2022 attached lifting scaffold worker (special type of construction work) free test questions and attached lifting scaffold worker (special type of construction work) examination papers 2022 attached
Fudan released its first review paper on the construction and application of multimodal knowledge atlas, comprehensively describing the existing mmkg technology system and progress
基於.NetCore開發博客項目 StarBlog - (14) 實現主題切換功能
[source code analysis] model parallel distributed training Megatron (5) -- pipestream flush
Explain AI accelerator in detail: why is this the golden age of AI accelerator?
No clue about the data analysis report? After reading this introduction of smartbi, you will understand!
How about the ratings of 2022 Spring Festival Gala in all provinces? Map analysis helps you show clearly!
Want to do something in production? Then try these redis commands
Constantly changing harmonyos custom JS components during the Spring Festival - Smart Koi
【.NET+MQTT】.NET6 環境下實現MQTT通信,以及服務端、客戶端的雙邊消息訂閱與發布的代碼演示
What are the virtual machine software? What are their respective functions?
Calculate the odd sum of 1~n (1~100 as an example)