<[email protected]>Hi Marc,

Thanks for the pointer - you're most likely right.

There is code early in that .js file that says:

    document.RVWForm.autocomplete = "OFF";
    objXmlDoc = document.createElement("XML");
    objXmlDoc.id = "xmldoc";
    xmlTaskRequestInfo = objXmlDoc.createElement("trqi");
    objXmlDoc.documentElement = xmlTaskRequestInfo;
    var eltScreenInfo = xmlTaskRequestInfo.selectSingleNode("scri");

But, there is no "XMLDOM" anywhere in that .js file ../ilrt/ILRTCore.js
or in the 6 others it calls:
../ilrt/ILRTEventHandler.js
../ilrt/ILRTControls.js
../ilrt/ILRTCalendar.js
../ilrt/ExportAndPrintView.js
../ilrt/ILRTLocalize.js
../ilrt/ILRTTimeInterval.js

or in the additional ones called from the login page:

../ilrt/ILRTSessionWindow.js
../ilrt/ILRTCrypt.js
login_ezelogin_user.js

or in the main .html page at
https://production.jets-safeair.com/jets/security/login_ezelogin.htm
(which you can actually see if you like)

So then I set all ActiveX options for IE for Internet domains to prompt and
deleted all offline content and loaded the page above in a new session,
accepting the security certificate when prompted, and it warns me it wants
to run an activex, and if I say no, page does not load properly.

So you were right as usual marc, thanks for your help. I'm not sure what
I'll do to test this web site but it isn't urgent anyway.

cheers,
            John

On 8/10/07, Marc Guillemot <[EMAIL PROTECTED] > wrote:
>
> Hi John,
>
> seems that your site uses the ActiveX "Microsoft.XMLDOM" (which has the
> selectSingleNode method).
> This ActiveX is not currently simulated by HtmlUnit, therefore this will
> fail.
> Is it an option for you to simulate FF there?
>
> Marc.
>
> John and Pip wrote:
> > Hi,
> >
> > I have a web app that I need to test but which I don't control the
> > technology or architecture of. It is some sort of .net asp application.
> > It's public but secure so I can't post the login details to list either
> > unfortunately.
> >
> > When I login the "home" page has a problem when loading that causes the
> > submit to not return a page, even though in IE6 it does.
> >
> > Here are the details:
> >
> > *Error: *JavaScript error loading page
> > https://production.jets-safeair.com/jets/security/login_ezelogin.htm
> > <https://production.jets-safeair.com/jets/security/login_ezelogin.htm >:
> > TypeError: Cannot call method "selectSingleNode" of undefined (
> > https://production.jets-safeair.com/jets/ilrt/ILRTCore.js#901
> > < https://production.jets-safeair.com/jets/ilrt/ILRTCore.js#901>)
> > javascript errorTypeError: Cannot call method "selectSingleNode" of
> > undefined (
> > https://production.jets-safeair.com/jets/ilrt/ILRTCore.js#901
> > < https://production.jets-safeair.com/jets/ilrt/ILRTCore.js#901>)
> > line901


[snip]


> notifying listeners
> > clickButton <http://www.socialtext.net/jets/index.cgi?clickButton >
> DEBUG
> > (com.canoo.webtest.steps.Step) - <<<< Successful Step: clickButton
> (12/32)
> >
> > So guess I need to find out why this fails when IE seems to accept it.
> > Any advice on how to approach this?
> >
> > I tried downloading HtmlUnit-20070803 but that did not help.
> >
> > regards,
> >            John
>

Reply via email to