Trouble with instrumentation preloader in IE10

Bug reports.
dennis.alberti
Posts: 1
Joined: Sat May 11, 2013 3:03 pm

Trouble with instrumentation preloader in IE10

Post by dennis.alberti » Sat May 11, 2013 6:04 pm

Hi,

My flex/flash test cases runs create with Ranorex 4.03 in Internet Explorer 9 with the instrumentation preloader on my workstation (Windows 7, x64).

Now I want to run the gui – tests in a nightly build on a continuous integration system. The build server is an x64 Windows 2008 R2 Enterprise virtual machine, Internet Explorer 10 is installed. So I installed Ranorex 4.0.3 on the build server and go through the instrumentation wizard where I choose all available options:

• Adobe Flash/Flex
• Flash Debug Player for Internet Explorer
• Flash Debug Player for Firefox, Chrome and Safari
• Enable Ranorex Preloader Instrumentation
o Enable Flash Trace Log

The installation goes well, no error message occurred.

Ranorex Tests worked well on the build machine within Firefox and internet explorer 10 compatibility view or internet explorer 10 IE9 browser mode, but not in IE10 standard mode.

Ranorex Spy can’t recognize flash objects in the dom – tree, just pictures in IE10 standard mode. I tried to track a Flash/Flex element in our application -> the Ranorex Technology Limitation warning window pops up.

If I switch to IE9 browser mode everything works well…

Here are the content of the tow Flash Trace Log – Files

When everything works well in IE9 browser mode:

Code: Select all

Ranorex: preloader stage0
Ranorex: preloader stage1
Ranorex: 4.0.3 Flash: WIN 11,7,700,169 ActiveX debug
Ranorex: there seems to be no Flex or we are being preloaded
Ranorex preloader: stage2
Ranorex: load from url: http://localhost/XXXXX/XXXXX.swf
Ranorex: preloader stage3
Ranorex: Init with root: [object _XXXXX_mx_managers_SystemManager] prev:null
Ranorex: playerType: ActiveX
Ranorex: check if setup external interface needed
Ranorex: external interface setup complete.
Command:execute [object LoadInitialLoginDataCommand]
WebOrbLoadRunner instance created
SessionTimeOutReminder Started
faultCode:Client.Error.MessageSend faultString:'Send failed' faultDetail:'Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://localhost/XXXXX/weborb.aspx''
Ranorex: preloader stage0
Ranorex: preloader stage1
Ranorex: 4.0.3 Flash: WIN 11,7,700,169 ActiveX debug
Ranorex: there seems to be no Flex or we are being preloaded
Ranorex preloader: stage2
Ranorex: load from url: http://localhost/XXXXX/XXXXX.swf
Ranorex: preloader stage3
Ranorex: Init with root: [object _XXXXX_mx_managers_SystemManager] prev:null
Ranorex: playerType: ActiveX
Ranorex: check if setup external interface needed
Ranorex: external interface setup complete.
Command:execute [object LoadInitialLoginDataCommand]
WebOrbLoadRunner instance created
SessionTimeOutReminder Started
Command:execute [object LoginCommand]
LoadInitialDataCommand.execute
Command:execute [object LoadInitialDataCommand]
LoadInitialDataCommand.onResult0: GetSessionInfo loaded
LoadInitialDataCommand.onResult2: TranslatedTerms loaded
WebOrbObjectCreationProtection instance created
WeborbObjectTracking instance created
LoadInitialDataCommand.onResult3: Mandator loaded
Call Worker
UpdateAllReports execute
UpdateDirectiveReport execute
Command:execute [object UpdateDirectiveReport]
UpdateEventReport execute
Command:execute [object UpdateEventReport]
UpdateEventReport execute
Command:execute [object UpdateTaskReport]
UpdateSignaturesReport execute
Command:execute [object UpdateSignaturesReport]
UpdateSignaturesMenu execute
Command:execute [object UpdateSignaturesMenu]
CountReportRecords execute
Command:execute [object CountReportRecords]
UpdateShortList execute
Command:execute [object UpdateShortList]
Automatic Updater Started
LoadInitialDataCommand.onResult4: PickList loaded
LoadInitialDataCommand.onResult8: Users loaded
LoadInitialDataCommand.onResultFinished
Ranorex: Update bindings for new appdomain from [object _XXXXX_mx_managers_SystemManager]
And here when the instrumentation preloader failed:

Code: Select all

Ranorex: preloader stage0
Ranorex: preloader stage1
Ranorex: 4.0.3 Flash: WIN 11,7,700,169 ActiveX debug
Ranorex: there seems to be no Flex or we are being preloaded
Ranorex preloader: stage2
Ranorex: load from url: http://localhost/XXXXX/com/XXXXX/asset/customizable/cust_logo_header.png
Ranorex: preloader stage3
Command:execute [object LoadInitialLoginDataCommand]
WebOrbLoadRunner instance created
SessionTimeOutReminder Started
Command:execute [object LoginCommand]
LoadInitialDataCommand.execute
Command:execute [object LoadInitialDataCommand]
LoadInitialDataCommand.onResult0: GetSessionInfo loaded
LoadInitialDataCommand.onResult2: TranslatedTerms loaded
WebOrbObjectCreationProtection instance created
WeborbObjectTracking instance created
LoadInitialDataCommand.onResult3: Mandator loaded
Call Worker
UpdateAllReports execute
UpdateDirectiveReport execute
Command:execute [object UpdateDirectiveReport]
UpdateEventReport execute
Command:execute [object UpdateEventReport]
UpdateEventReport execute
Command:execute [object UpdateTaskReport]
UpdateSignaturesReport execute
Command:execute [object UpdateSignaturesReport]
UpdateSignaturesMenu execute
Command:execute [object UpdateSignaturesMenu]
CountReportRecords execute
Command:execute [object CountReportRecords]
UpdateShortList execute
Command:execute [object UpdateShortList]
Automatic Updater Started
LoadInitialDataCommand.onResult4: PickList loaded
LoadInitialDataCommand.onResult8: Users loaded
LoadInitialDataCommand.onResultFinished
I think the preloader stage 2 is a little bit strange in the failed log - file. It loaded from an PNG image... When the preloader is successful it loaded from an SWF. :?

In Adobe's Tour de Flex I can use Ranorex Spy successful in IE10 standard to track elements in the dom - tree ...

We used evaluation license on both systems, workstation and build server. Ranorex have to work in IE10 on our build server that we can purchase regular licenses :(

Hope you can help me


Regards,
Dennis

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Trouble with instrumentation preloader in IE10

Post by Support Team » Mon May 13, 2013 3:32 pm

Hello,

Thank you for the log files.
Could you please try to instrument Flex without the preloader? Please find a description how to load the Automation Lib on the section "Flash/Flex Testing" on our website.
Did you install any windows updates on the server? Could you send us the ID of the update in order to reproduce the issue?
Thank you!

Regards,
Bernhard
.
Image