Selenium IDE回放报错:[error] Window does not exist..急求高人指点 5
用Selenium进行录制时,进入一个网页,点击该网页的任何一部分都会有:selectWindow=name=rawtext_search但是回放时这句语句总是报以下错误...
用Selenium进行录制时,进入一个网页,点击该网页的任何一部分都会有:selectWindow=name=rawtext_search
但是回放时这句语句总是报以下错误:下面是log日志
[error] Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds.
下面是Reference中的解释: 展开
但是回放时这句语句总是报以下错误:下面是log日志
[error] Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds.
下面是Reference中的解释: 展开
2015-03-26
展开全部
这个是一个selenium bug
修复过程
you can fix it by yourself. Here is how I did it:
1. search for "selenium-ide-common.xul" file in "C:\Documents and Settings\<your user
name>\" folder
2. edit it and add the following code in e.g. line 64:
<script type="application/x-javascript"
src="chrome://selenium-ide/content/selenium/scripts/xmlextras.js"/>
3. restart Firefox.
DONE! Good luck
如果修复了请在回复下,验证这个方法是否有!
修复过程
you can fix it by yourself. Here is how I did it:
1. search for "selenium-ide-common.xul" file in "C:\Documents and Settings\<your user
name>\" folder
2. edit it and add the following code in e.g. line 64:
<script type="application/x-javascript"
src="chrome://selenium-ide/content/selenium/scripts/xmlextras.js"/>
3. restart Firefox.
DONE! Good luck
如果修复了请在回复下,验证这个方法是否有!
追问
"selenium-ide-common.xul" 这个文件根本就找不到啊,是这个吗?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询