当前位置:网站首页>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)边栏推荐
- Li Chuang EDA learning notes IX: layers
- 微信公众号网页授权
- system information
- Class summation, shortest row
- Stm32bug [stlink forced update prompt appears in keilmdk, but it cannot be updated]
- Fudan released its first review paper on the construction and application of multimodal knowledge atlas, comprehensively describing the existing mmkg technology system and progress
- Webhook triggers Jenkins for sonar detection
- MySQL data query optimization -- data structure of index
- Third party login initial version
- Contest3145 - the 37th game of 2021 freshman individual training match_ D: Ranking
猜你喜欢

Is it really so difficult to learn redis? Today, a fan will share his personal learning materials!

Rhcsa day 2

Constantly changing harmonyos custom JS components during the Spring Festival - Smart Koi

Zhihu million hot discussion: why can we only rely on job hopping for salary increase? Bosses would rather hire outsiders with a high salary than get a raise?

1day vulnerability pushback skills practice (3)

JVM family -- heap analysis

Don't disagree, this is the most powerful "language" of the Internet

MySQL is dirty

Www 2022 | taxoenrich: self supervised taxonomy complemented by Structural Semantics

Hospital network planning and design document based on GLBP protocol + application form + task statement + opening report + interim examination + literature review + PPT + weekly progress + network to
随机推荐
Formulaire day05
Easy to win insert sort
機器學習基礎:用 Lasso 做特征選擇
Love and self-discipline and strive to live a core life
POSTECH | option compatible reward reverse reinforcement learning
Value transfer communication between components (parent to child, child to parent, brother component to value)
投资深度思考
深入浅出对话系统——使用Transformer进行文本分类
Objective C attribute keyword
Unity controls the selection of the previous and next characters
【.NET+MQTT】.NET6 環境下實現MQTT通信,以及服務端、客戶端的雙邊消息訂閱與發布的代碼演示
Objective-C string class, array class
How to use STR function of C language
Development of digital collection trading platform development of digital collection platform
Class summation, shortest row
New year's first race, submit bug reward more!
Which product is better if you want to go abroad to insure Xinguan?
Add IDM to Google browser
Day05 錶格
Contest3145 - the 37th game of 2021 freshman individual training match_ F: Smallest ball