当前位置:网站首页>9 cases where elements cannot be located
9 cases where elements cannot be located
2022-06-25 11:31:00 【Field test record】
Hello, everyone , I'm Daejeon .
1、 It is possible that the way of positioning is not the only , such as : Do you use id location , The corresponding element is not unique ; The encountered elements are dynamically loaded at runtime , At this time, it cannot be located ;
2、 Whether the code is written incorrectly : The positioning mode needs to be confirmed 、 Location information 、 The page is correct ;
3、 Without reasonable waiting , Sometimes our internet speed is not good 、 If there is not enough memory, the page will not be loaded ;
4、 Elements are nested in frame In the frame , Sometimes when we locate elements , I can't locate it in several different ways , Note that it may be nested in frame The framework of the , At this point we need to switch to frame in ;
5、 The browser opens a new form , Such as : you are here a page , Open the b page , Want to operate at this time b Elements of the page , Can't operate , The reason is that the element driver There is a point , It points to a page ; At this time, you can switch the form ;
6、 Cannot operate after locating element , It may be occlusion and coverage , You can use the mouse to hover to other positions , So the occlusion will disappear ;
7、 When you locate the element , A warning box is prompted 、 Prompt box , You need to deal with these two boxes first ;
8、 Whether the element is visible , Such as : There is an attribute in the element that is not visible , We can't locate it anyway .
9、 The target element is not displayed on the current page , We can use the method of scrolling and searching .
The above is what Daejeon shares today , If you find it useful , You can give Daejeon a compliment ~
Recommended articles :
How to learn software testing ?
So busy every day , Whether to write test cases or not ?
Linux Installation and configuration of
2022.06.24, It's the first day of Datian day shift 139 / 365 God . Each article solves a specific problem .
边栏推荐
- Spark runs wordcount (case 2)
- SQL注入漏洞(绕过篇)
- Arrays. asList()
- Double tampon transparent cryptage et décryptage basé sur le cadre minifilter
- 从GEE中免费获取全球人类住区层 (GHSL) 数据集
- Netease's open source distributed storage system curve officially became the CNCF sandbox project
- Idea uses the fast request interface for debugging
- 翌圣生物冲刺科创板:25%收入来自新冠产品销售 拟募资11亿
- A difficult mathematical problem baffles two mathematicians
- Arrays.asList()
猜你喜欢

Jincang KFS data centralized scenario (many to one) deployment

c盘使用100%清理方法

Netease's open source distributed storage system curve officially became the CNCF sandbox project

一个数学难题,难倒两位数学家

西山科技冲刺科创板:拟募资6.6亿 郭毅军夫妇有60%表决权

Double buffer transparent encryption and decryption driven course paper + project source code based on minifilter framework

Spark history server and event log details

金仓KFS数据集中场景(多对一)部署

Compilation of learning from Wang Shuang (1)

SystemVerilog (XIII) - enumerate data types
随机推荐
What are the functions of arm64 assembly that need attention?
Detection and analysis of simulator in an app
Introduction to socket UDP and TCP
10.1. Oracle constraint deferred, not deferred, initially deferred and initially deferred
An interesting logic SRC mining
Source code analysis of AQS & reentrantlock
兴业证券是国企吗?在兴业证券开户资金安全吗?
How gaussdb counts the response time of user SQL
Ladder Side-Tuning:预训练模型的“过墙梯”
Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)
Apache ShenYu 入门
GaussDB 集群维护案例集-sql执行慢
How to start the phpstudy server
[maintain cluster case set] gaussdb query user space usage
At 16:00 today, Mr. sunxiaoming, a researcher of the Institute of computing, Chinese Academy of Sciences, took you into the quantum world
如何实现移动端富文本编辑器功能
Spannable and editable, spannablestring and spannablestring
Use of comparable (for arrays.sort)
基于C语言的图书信息管理系统 课程论文+代码及可执行exe文件
基于Minifilter框架的双缓冲透明加解密驱动 课程论文+项目源码