【发布时间】:2014-09-09 18:54:03
【问题描述】:
我正在使用带有 Selenium2Library 的 Robot Framework 来实现网站测试自动化。我的 HTML 值是
<select class="autoWidth m![Element Locator Error][1]inWidth" id="ctl00_ResultPanePlaceHolder_ctl00_ctl02_ctl01_contentContainer_ddlLanguage" name="ctl00$ResultPanePlaceHolder$ctl00$ctl02$ctl01$contentContainer$ddlLanguage">
<option value=![enter image description here][2]"1118">አማርኛ ‎(ኢትዮጵያ)‎</option>
我正在使用 cmd
Click Element id=ctl00_ResultPanePlaceHolder_ctl00_ctl02_ctl01_contentContainer_ddlLanguage
我得到了
value error: Element locator did not match any element.
如何解决这个问题。
【问题讨论】:
-
你的元素在 iframe 中吗?
标签: robotframework