18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Page not rendering correctly in IE 8

nbiermannbierman Members
edited November -1 in Sahi - Open Source
I am trying to record activities in an https application that runs in IE.

Environment:
Internet Explorer 8.0.6001
Windows XP Version 2002 SP 3
sahi_20091023
Java 1.6

Steps:

Added ..\java\bin\keytool.exe to my path
Created ..\sahi\userdata\certs\<application>_com
Edited sahi.properties to use ssl.client.keystore.type = JKS and ssl.client.cert.path = ../certs (I got the same results before I did this)
Started sahi.bat
Started IE8
Changed proxy settings for http and https to <my pc name>, port 9999. (I also tried localhost, port 9999 with the same results).

Results:

The application url goes to a login screen which functions correctly.
The startup page has a top frame that contains icons in a menu bar and a lower frame that contains a text box and a search icon.
The lower frame loads correctly, but the menu bar does not load.
The application calls javascript to dynamically load the menu bar depending on the user's privileges.


The webpage warning message is: "Failed to load menu XML: System error -2146697208. If I ask for more detail, I get the text below:
<<
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Timestamp: Wed, 25 Nov 2009 15:59:48 UTC

Message: 'g_oMenuXml.parseError' is null or not an object
Line: 68
Char: 5
Code: 0
URI: <application url>/TopNav.js
>>

After a load failure, I have to stop the sahi proxy, go to Internet Options>Advanced Settings and do a reset and restart to get the application page to load correctly.

I am new to sahi and web testing is there some other setting I should use to get my app to function?

I would appreciate any help you can give me.

Comments

  • narayannarayan Administrators
    nbierman,

    Is the menu being fetched as an XML via ajax?
    If you know the url of the ajax request, you may trying adding that url pattern to sahi/userdata/config/exclude_inject.txt, restart Sahi, clear browser cache and try again.
    Let us know what you find.

    Regards,
    Narayan
Sign In or Register to comment.