Today, I'm trying to use "user-extensions.js!" in the IDE and put those in the E:\ and referenced them via Options =>Options -> Selenium IDE Extensions.
I'm getting error :
Failed to load user-extensions.js!
files=E:\...\user-extensions.js
lineNumber=1921
error=ReferenceError: HtmlRunnerTestLoop is not define
if anyone have the same problem as me, you can fix this by declaring the XML-Object in datadriven.js before it is called
var XML = {};
XML.serialize = function(node) {
if (typeof XMLSerializer != "undefined")
return (new XMLSerializer()).serializeToString(node) ;
else if (node.xml) return node.xml;
else throw "XML.serialize is not supported or can't serialize " + node;
}
there is no further error with my IDE, for me it works.
文章標籤
全站熱搜