标题: 用selenium IDE录制后回放报错但是能运行下去 [打印本页] 作者: sudalice 时间: 2010-3-18 16:51 标题: 用selenium IDE录制后回放报错但是能运行下去 我用selenium IDE在firefox下面录制后回放,报了下面的错但是能运行成功
[error] Your browser doesnt support Xml Http Request
想知道我哪边没有设置正确?作者: 小米啊 时间: 2010-3-19 21:48
这个是一个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:
如果修复了请在回复下,验证这个方法是否有效谢谢!作者: sudalice 时间: 2010-3-22 16:35
今天试着跑了个脚本,运行的时候出错,大家帮帮我吧
[error] Element link=Apply Leave not found
selenium ide里面自带的注释是
click(locator)
Arguments:
* locator - an element locator
Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does), call waitForPageToLoad.
我录制的时候的值
Command Target Value
Click link=Apply Leave