InvalidElementStateException when attempting to clear text through Selenium

前端 未结 2 1070
小鲜肉
小鲜肉 2020-12-21 18:53

The web application I am testing requires confirmation when deleting a record.

I have created a test to enter in a valid reason for deleting this record.

Th

2条回答
  •  甜味超标
    2020-12-21 19:22

    I was having the same issue, only I was trying to enter a dash in a date field that didn't allow dashes. I figured this out by manually entering a date with a dash and it did not populate. (The field also doesn't accept letters - just numbers). Now, my test enters a date without a dash and it passes successfully!

提交回复
热议问题