1. Step definition is not found

E pytest_bdd.exceptions.StepDefinitionNotFoundError: Step definition is not found: When "xxxudiences"". Line 15 in scenario "xxxx" in the feature "/Users/jasqia/qe/features/lsh/cp/add_audience.feature

原因是: 没有在执行的文件中引入这个step.py文件  

from steps.ui.lsh.audience_steps import *  should add this import to tests folder

2. stale element reference: element is not attached to the page document

selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document
E (Session info: chrome=88.0.4324.150)

我原本是想执行一个拖拽的操作,从左边将数据文件拖拽到右边,但是拖拽到右边的时候,貌似右边元素发生了变化

 

3. element not interactable

E selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable
E (Session info: chrome=88.0.4324.150)

相关文章:

  • 2022-01-11
  • 2022-03-01
  • 2021-06-06
  • 2021-09-21
  • 2022-12-23
  • 2021-12-07
  • 2021-11-06
  • 2021-09-21
猜你喜欢
  • 2022-02-10
  • 2021-05-20
  • 2022-01-08
  • 2021-06-27
  • 2021-11-02
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案