Project

General

Profile

Actions

question_answer #4098

open

answer_ana

Added by UserName LastName over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/26/2024
Due date:
% Done:

0%

Estimated time:
answer:

- '选项B: 用例中使用隐式等待或显式等待'
- '选项C: 不使用绝对定位'

answer_analysis:

隐式等待,用例在运行过程中经常会出现不稳定的情况,比如这次可以通过,下次就执行失败,可以在创建完driver 之后设置 隐式等待,隐式等待是全局生效的。每次查找元素的时候都会动态的找到这个元素。使用相对定位可以提升用例稳定性
...

No data to display

Actions

Also available in: Atom PDF