当前位置:网站首页>Katalon framework tests web (XXI) to obtain element attribute assertions
Katalon framework tests web (XXI) to obtain element attribute assertions
2022-07-04 03:43:00 【Spinach in spring】
Catalog
Method 1 : First get the property value , Re assertion
Method 2 : Get attribute value assertion directly
Coded view used
Method 1 : First get the property value , Re assertion
msg = Mobile.getAttribute(findTestObject('login/msg'), 'contentDescription', 0)
println(msg)
Mobile.verifyEqual(msg, ' Successful operation ')
Method 2 : Get attribute value assertion directly
Mobile.verifyElementAttributeValue(findTestObject('login/msg'), 'contentDescription', ' Successful operation ', 0)
边栏推荐
- Which product is better for 2022 annual gold insurance?
- Solve the problems encountered by the laravel framework using mongodb
- 2022-07-03: there are 0 and 1 in the array. Be sure to flip an interval. Flip: 0 becomes 1, 1 becomes 0. What is the maximum number of 1 after turning? From little red book. 3.13 written examination.
- [PaddleSeg 源码阅读] PaddleSeg计算Dice
- What is cloud primordial?
- Monitoring - Prometheus introduction
- (practice C language every day) pointer sorting problem
- MySQL maxscale realizes read-write separation
- vue多级路由嵌套怎么动态缓存组件
- [paddleseg source code reading] paddleseg custom data class
猜你喜欢
PID of sunflower classic
选择排序与冒泡排序模板
JVM family -- monitoring tools
渗透实战-guest账户-mimikatz-向日葵-sql提权-离线解密
1day vulnerability pushback skills practice (3)
三菱M70宏变量读取三菱M80公共变量采集三菱CNC变量读取采集三菱CNC远程刀补三菱机床在线刀补三菱数控在线测量
Monitoring - Prometheus introduction
SQL injection (1) -- determine whether there are SQL injection vulnerabilities
MySQL maxscale realizes read-write separation
Dare to climb here, you're not far from prison, reptile reverse actual combat case
随机推荐
Leecode 122. Zuijia timing of buying and selling stocks ②
No clue about the data analysis report? After reading this introduction of smartbi, you will understand!
Es network layer
Setting methods, usage methods and common usage scenarios of environment variables in postman
PID of sunflower classic
Package details_ Four access control characters_ Two details of protected
MySQL is dirty
潘多拉 IOT 开发板学习(HAL 库)—— 实验6 独立看门狗实验(学习笔记)
Objective-C string class, array class
Exercices de renforcement des déclarations SQL (MySQL 8.0 par exemple)
[paddleseg source code reading] paddleseg calculation dice
Zigzag scan
用于TCP协议交互的TCPClientDemo
Deep thinking on investment
Handler source code analysis
Is it really so difficult to learn redis? Today, a fan will share his personal learning materials!
mysql数据库的存储
Explain AI accelerator in detail: why is this the golden age of AI accelerator?
2022 Guangxi provincial safety officer a certificate examination materials and Guangxi provincial safety officer a certificate simulation test questions
疫情来袭--远程办公之思考|社区征文