当前位置:网站首页>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 .
边栏推荐
- SQL injection vulnerability (type chapter)
- Leetcode 1249. Remove invalid brackets (awesome, finally made)
- Very important very important very important very important very important very important very important very important very important
- 4 life distributions
- Shichuang Energy sprint Technology Innovation Board: le chiffre d'affaires annuel prévu de 1,1 milliard de RMB est de 0,7 milliard de RMB, en baisse de 36%
- 贝叶斯
- 为什么要分布式 id ?分布式 id 生成方案有哪些?
- Bayes
- 牛客网:旋转数组
- 【上云精品】节能提效!加速纺织业“智造”转型
猜你喜欢

Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)

Ladder side tuning: the "wall ladder" of the pre training model

A difficult mathematical problem baffles two mathematicians

Writing wechat applet with uni app

How to start the phpstudy server

基於Minifilter框架的雙緩沖透明加解密驅動 課程論文+項目源碼

Xishan technology rushes to the scientific innovation board: it plans to raise 660million yuan. Guoyijun and his wife have 60% of the voting rights

CFCA Anxin sign access

Redis6 note02 configuration file, publish and subscribe, new data type, jedis operation

Leetcode 1249. Remove invalid brackets (awesome, finally made)
随机推荐
How to use the markdown editor
Source code analysis of AQS & reentrantlock
redis的dict的扩容机制(rehash)
时创能源冲刺科创板:拟募资11亿 年营收7亿净利反降36%
Kingbasees plug-in DBMS of Jincang database_ OUTPUT
Use of Presto visualization client-yanagishima20.0
Socket communication principle
Apache ShenYu 入门
龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
Big endian and little endian
Niuke.com: Candy distribution
某APP中模拟器检测分析
金太阳教育美股上市:市值3.6亿美元 成小盘中概股
Some assembly instructions specific to arm64
牛客网:主持人调度
Spannable and editable, spannablestring and spannablestring
Kingbasees plug-in DBMS of Jincang database_ RANDOM
SQL注入漏洞(绕过篇)
Detection and analysis of simulator in an app
CMU puts forward a new NLP paradigm - reconstructing pre training, and achieving 134 high scores in college entrance examination English