在Selenium中命令openWindow(url,ID)在IE9中出错。在Firefox 9中正常工作。
这是我简化的Selenium测试用例:
我的测试用例的基本URL是'http:// localhost:8080 /'。测试用例:
<br><br>open | /myPage/index.html | |
<br>openWindow | http://localhost:8181 | A |
在Selenium IDE 1.7.1和Selenium RC 2.12和2.19中针对Firefox 9运行时没有任何问题。通过RC 2.12和2.19对IE9运行会导致以下错误:
info: Executing: |openWindow | http://localhost:8181 | A |<br>
error: Unexpected Exception: Object expected<br>
error: Exception details: message -> Object expected, description -> Object expected, number -> -2146823281, name -> TypeError<br>
warn: currentTest.recordFailure: Command execution failure.<br>
Please search the user group at groups.google.com/forum/#!forum/selenium-users for error details from the log window. The error message is: Object expected