[Webtest] [webtest][JIRA] Closed: (WT-370) Javascript error: ReferenceError: "XMLHttpRequest" is not defined

Marc Guillemot (JIRA) Marc Guillemot (JIRA)" <noreply@canoo.com
Fri, 4 Jan 2008 10:32:03 +0100 (CET)


     [ http://webtest-community.canoo.com/jira/browse/WT-370?page=all ]
     
Marc Guillemot closed WT-370:
-----------------------------

    Resolution: Invalid
     Assign To: Marc Guillemot

Setting 
<header name="User-Agent" value="Mozilla/4.0"/>
cause WebTest to simulate IE6 and IE6 doesn't know XMLHttpRequest.

> Javascript error: ReferenceError: "XMLHttpRequest" is not defined
> -----------------------------------------------------------------
>
>          Key: WT-370
>          URL: http://webtest-community.canoo.com/jira/browse/WT-370
>      Project: WebTest
>         Type: Bug

>     Versions: future versions
>  Environment: WebTest build 1646, JBossAS 4.2.2, RichFaces 3.1.3, JDK 1.6.0_10-ea-b08
>     Reporter: Juergen Zimmermann
>     Assignee: Marc Guillemot
>  Attachments: error.XMLHttpRequest.zip
>
> When running a webtest I get this error message:
> JavaScript error loading page http://localhost:8080/hska/faces/kundenverwaltung/createEinenKunden.xhtml: ReferenceError: "XMLHttpRequest" is not defined. (http://localhost:8080/hska/faces/a4j_3_1_3.GAorg/ajax4jsf/framework.pack.js#2052)
> I'll attach my webtest project being reduced to just the failing test

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira