Re[2]: [Webtest] WebTest fails with AJAX application: 'Could not retreive a valid progID of Class: Microsoft.XMLDOM'

Andrew Sickorsky Andrew Sickorsky <andrew.sickorsky@texunatech.com>
Mon, 14 May 2007 19:27:27 +0400


------------9713A1FF3DB6D112
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

Hello Marc,

Thanks a lot! It helps!

*jumping with joy*

> Hi Andrew,

> when simulating IE, only the XMLHttpRequest (in its different flavors)
> is currently simulated and therefore not yet Microsoft.XMLDOM

> You can try to simulate Firefox rather than IE, setting a Firefox
> User-Agent header in <config>'s <header>.

> Marc.


> Andrew Sickorsky wrote:
>> Hello, all!

>> I'm testing application wich uses JSF and AJAX. I'v got an error after
>> attempt to invoke a page: =20


>>   com.canoo.webtest.engine.StepFailedException: Step[invoke "open login
>> page" (1/169)]: Script error loading page executing webtest at: invoke
>> Could not retreive a valid progID of Class: Microsoft.XMLDOM. (original
>> exception: null)
>> (http://localhost/services-test/a4j.res/org.ajax4jsf.framework.ajax.Ajax=
Script#2)


>>  WebTest 2.4 and SVN version (rev 2683) were used - both fails with the
>> result above.



>> Thanks in advance



>> --------------------------

>>  Andrew Sickorsky                     =20
>>  mailto:andrew.sickorsky@texunatech.com



> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest


--=20
Best regards,
 Andrew                            mailto:andrew.sickorsky@texunatech.com
------------9713A1FF3DB6D112
Content-Type: text/html; charset=windows-1251
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dwindows-125=
1">
<meta http-equiv=3D"Content-Style-Type" content=3D"text/css">
<style type=3D"text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ---------- Text Styles ---------- */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-weight: bold;
 color: #800000;
}
span.rvts7
{
 font-weight: bold;
 color: #800080;
}
a.rvts8, span.rvts8
{
 color: #0000ff;
 text-decoration: underline;
}
span.rvts9
{
 font-weight: bold;
 color: #800080;
}
span.rvts10
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts11, span.rvts11
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
/* ---------- Para Styles ---------- */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Hello Marc,</p>
<p><br></p>
<p>Thanks a lot! It helps!</p>
<p><br></p>
<p>*jumping with joy*</p>
<p><br></p>
<p><span class=3Drvts6>&gt; Hi Andrew,</span></p>
<p><br></p>
<p><span class=3Drvts6>&gt; when simulating IE, only the XMLHttpRequest (in=
 its different flavors)</span></p>
<p><span class=3Drvts6>&gt; is currently simulated and therefore not yet Mi=
crosoft.XMLDOM</span></p>
<p><br></p>
<p><span class=3Drvts6>&gt; You can try to simulate Firefox rather than IE,=
 setting a Firefox</span></p>
<p><span class=3Drvts6>&gt; User-Agent header in &lt;config&gt;'s &lt;heade=
r&gt;.</span></p>
<p><br></p>
<p><span class=3Drvts6>&gt; Marc.</span></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts6>&gt; Andrew Sickorsky wrote:</span></p>
<p><span class=3Drvts7>&gt;&gt; Hello, all!</span></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; I'm testing application wich uses JSF and A=
JAX. I'v got an error after</span></p>
<p><span class=3Drvts7>&gt;&gt; attempt to invoke a page: &nbsp;</span></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; &nbsp; com.canoo.webtest.engine.StepFailedE=
xception: Step[invoke "open login</span></p>
<p><span class=3Drvts7>&gt;&gt; page" (1/169)]: Script error loading page e=
xecuting webtest at: invoke</span></p>
<p><span class=3Drvts7>&gt;&gt; Could not retreive a valid progID of Class:=
 Microsoft.XMLDOM. (original</span></p>
<p><span class=3Drvts7>&gt;&gt; exception: null)</span></p>
<p><span class=3Drvts7>&gt;&gt; (</span><a class=3Drvts8 href=3D"http://loc=
alhost/services-test/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript#2">http=
://localhost/services-test/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript#2=
</a><span class=3Drvts9>)</span></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; &nbsp;WebTest 2.4 and SVN version (rev 2683=
) were used - both fails with the</span></p>
<p><span class=3Drvts7>&gt;&gt; result above.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; Thanks in advance</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; --------------------------</span></p>
<p><br></p>
<p><span class=3Drvts7>&gt;&gt; &nbsp;Andrew Sickorsky &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span></p>
<p><span class=3Drvts7>&gt;&gt; &nbsp;</span><a class=3Drvts8 href=3D"mailt=
o:andrew.sickorsky@texunatech.com">mailto:andrew.sickorsky@texunatech.com</=
a></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts6>&gt; _______________________________________________=
</span></p>
<p><span class=3Drvts6>&gt; WebTest mailing list</span></p>
<p><a class=3Drvts8 href=3D"mailto:WebTest@lists.canoo.com">&gt; WebTest@li=
sts.canoo.com</a></p>
<p><a class=3Drvts8 href=3D"http://lists.canoo.com/mailman/listinfo/webtest=
">&gt; http://lists.canoo.com/mailman/listinfo/webtest</a></p>
<p><br></p>
<p><br></p>
<p><span class=3Drvts10>--&nbsp;</span></p>
<p><span class=3Drvts10>Best regards,</span></p>
<p><span class=3Drvts10>&nbsp;Andrew &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nb=
sp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=
=3Drvts11 href=3D"mailto:andrew.sickorsky@texunatech.com">mailto:andrew.sic=
korsky@texunatech.com</a></p>

</body></html>
------------9713A1FF3DB6D112--