[Webtest] Canoo webtest for AJAX applications

Venkatesh Babu Venkatesh Babu <venkatbabukr@yahoo.com>
Tue, 3 Oct 2006 09:56:08 -0700 (PDT)


Hello All,

We are using canoo webtest for testing our webapp.
Recently we added a few pages makin AJAX requests to
the server. and since then, the webtest is throwing
exceptions:

     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.5.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.4.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.3.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MICROSOFT.XMLHTTP.1.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MICROSOFT.XMLHTTP.1.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MICROSOFT.XMLHTTP.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.5.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.4.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.3.0.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]
     [java] [clickLink] ERROR
(com.gargoylesoftware.htmlunit.ScriptEngine) -
runtimeError: message=[ActiveXObject Error: no map for
MSXML2.XMLHTTP.]
sourceName=[http://fiesta-in.localhost:8080/prelaunch/common/js/prelaunch.js]
line=[614] lineSource=[null] lineOffset=[0]

Can anybody help me and let me know why are we getting
this error? Does canoo support AJAX requests to be
made?

Thank you,
Venkatesh


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com