In Selenium IDE btnDelete (Button) not found

2019-01-29 09:58发布

Help URL : URL[1]: http://i.stack.imgur.com/s5ZnK.png' This URL also display a delete button code.

Selenium IDE: Command : Target clickAndWait : id=ctl00_Dialogproxy_deletenews_btnDelete

Log Table value: [info] Executing: |clickAndWait | id=ctl00_Dialogproxy_deletenews_btnDelete

[error] Element id=ctl00_Dialogproxy_deletenews_btnDelete not found

Actually i am not understanding what is the real issue because manually delete (button) functionality proper run but selenium IDE give the above error

1条回答
地球回转人心会变
2楼-- · 2019-01-29 10:15

What is likely happening is the previous click element launches this "window" with the btnDelete element. So you need to either use a waitFor ( or worse, a pause (don't use pauses).

<tr>
<td>waitForElementPresent</td>
<td>id=ctl00_Dialogproxy_deletenews_btnDelete</td>
<td></td>
</tr>
查看更多
登录 后发表回答