Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
selenium verifyxpathcount在对象xx没有方法时失败';指数';_Xpath_Selenium - Fatal编程技术网

selenium verifyxpathcount在对象xx没有方法时失败';指数';

selenium verifyxpathcount在对象xx没有方法时失败';指数';,xpath,selenium,Xpath,Selenium,verifyxpathcount正在FF上开发Selenium IDE。但是当相同的ide脚本在Chrome甚至FF上使用Selenium服务器(独立)运行时。我点击下面的错误 信息:正在执行:| verifyXpathCount |//div[@id='collection-3']/genderant::div[@id='work-items']/genderant::div[@class='item']]|${FC1Count}| 错误:意外异常:对象25没有“indexOf”方法 错误:异

verifyxpathcount正在FF上开发Selenium IDE。但是当相同的ide脚本在Chrome甚至FF上使用Selenium服务器(独立)运行时。我点击下面的错误

信息:正在执行:| verifyXpathCount |//div[@id='collection-3']/genderant::div[@id='work-items']/genderant::div[@class='item']]|${FC1Count}| 错误:意外异常:对象25没有“indexOf”方法 错误:异常详细信息: 警告:currentTest.recordFailure:命令执行失败。请从日志窗口中搜索位于的用户组以获取错误详细信息。错误消息是:对象25没有“indexOf”方法


我确实在用户组中搜索了错误。。对象没有方法。。。但没有什么有用的,您可以指定用于selenium RC和编程语言的命令吗?