当前位置:网站首页>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 .
边栏推荐
- Detection and analysis of simulator in an app
- SQL注入漏洞(繞過篇)
- 時創能源沖刺科創板:擬募資11億 年營收7億淨利反降36%
- 金仓数据库 KingbaseES 插件DBMS_UTILITY
- Kingbasees plug-in DBMS of Jincang database_ UTILITY
- [maintain cluster case set] gaussdb query user space usage
- 过拟合原因及解决
- Upload and modify the use of avatars
- How to start the phpstudy server
- Apache ShenYu 入门
猜你喜欢

寿命分布 4种

A difficult mathematical problem baffles two mathematicians

翌圣生物冲刺科创板:25%收入来自新冠产品销售 拟募资11亿

SystemVerilog (XIII) - enumerate data types

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%

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

Query method and interrupt method to realize USART communication

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

Double tampon transparent cryptage et décryptage basé sur le cadre minifilter

金仓KFS数据集中场景(多对一)部署
随机推荐
Dragon Book tiger Book whale Book gnawing? Try the monkey book with Douban score of 9.5
贝叶斯
Hangzhou / Beijing neitui Ali Dharma academy recruits academic interns in visual generation (talent plan)
How to start the phpstudy server
Comparison between relu and SIGMOD
[maintain cluster case set] gaussdb query user space usage
金仓数据库 KingbaseES 插件identity_pwdexp
wait()、notify()和notifyAll()、sleep()、Condition、await()、signal()
Golden sun education listed in the U.S.: a small cap medium cap stock with a market value of USD 360million
relu与sigmod的比较
Comparator (for arrays.sort)
手机上股票开户安全吗?找谁可以开户啊?
从GEE中免费获取全球人类住区层 (GHSL) 数据集
scrapy+scrapyd+gerapy 爬虫调度框架
At 16:00 today, Mr. sunxiaoming, a researcher of the Institute of computing, Chinese Academy of Sciences, took you into the quantum world
Démarrer avec Apache shenyu
MySQL and Oracle processing CLOB and blob fields
Design and implementation of university laboratory goods management information system based on SSH
Daily 3 questions (2) - find out the lucky numbers in the array
Kingbasees plug-in DBMS of Jincang database_ session