Hi, which browser do you simulate? If you simulate IE6 (which is the default) or IE7, this is strange as ActiveXObject is definitely defined.
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Rhee wrote: > Hi All > > I am validating a cold fusion login page w/ Java script. When i execute > the script below, i get an error. > > . > <setInputField name="txtLogin" value="userid" /> > <setInputField name="txtPassword" value="pwd" /> > <clickButton label ="Login" /> > . > > *JavaScript error loading page http://xx.xx.xx.xx > /recruiters/skin_mainheader.cfm: ReferenceError: "ActiveXObject" is not > defined. (script in http://xx.xx.xx.xx /recruiters/skin_mainheader.cfm > from (207, 32) to (244, 11)#219)* > > The Resulting page in the error page is the correct expected page but > test fails w/ error. Any suggestions? I am unable to move past this error. > > If i add > > * <enableJavaScript description="Enable Disable javascript to avoid java > script errors" > enable="false"/>* > > Then i get error : > > "No suitable form found having field named "txtLogin"" > > In this case Webtest should see the form > > *<td .*.. > <table .. > <form onsubmit="return _CF_checklogin(this)" target="_parent" > method="post" action="/recruiters/dologin.cfm" name="login"/> > <tbody> > </tbody> > </table> > *</td>* > > Thanks > - Rhee > > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

