How to handle Unidentify Exception???

Class library usage, coding and language questions.
NavinS
Posts: 9
Joined: Wed Nov 21, 2012 3:52 pm

How to handle Unidentify Exception???

Post by NavinS » Fri Nov 30, 2012 11:01 am

Could anybody explain me how to handle the following exception:

Can not intercept exception. Debugged program can not be continued and properties can not be evaluated.
System.ExecutionEngineException
at Ranorex.Core.WinApi.Msaa.WindowFromAccessibleObject
at Ranorex.Plugin.MsaaFlavorElement.get_WindowHandle
at Ranorex.Plugin.MsaaFlavorElement.IsFiltered
at Ranorex.Plugin.MsaaFlavorElement.GetChildren
at Ranorex.Plugin.MsaaFlavorElement.get_Children
at Ranorex.Plugin.MsaaChildRule.Execute
at Ranorex.Core.ElementEngine.ApplyGlueRules
at Ranorex.Core.ElementEngine.ApplyGlueRules
at Ranorex.Core.Element.GetChildren
at Ranorex.Core.Element.get_Children
at Ranorex.Core.RxPath.collectAxis
at Ranorex.Core.RxPath.ApplyInternal
at Ranorex.Core.Element.TryFindInternal
at Ranorex.Core.Repository.RepoItemInfo.Find
at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter
at OpeningOrganizationLevelAccessCsvAppFolder.get_OpenWith in c:\Documents and Settings\Admin\Desktop\ExportUserPermission\ExportUserPermission\ExportUserPermissionRepository.cs:line 999
at ExportUserPermission.ExportOrgainizationLevelAccess.Ranorex.Core.Testing.ITestModule.Run in c:\Documents and Settings\Admin\Desktop\ExportUserPermission\ExportUserPermission\ExportOrgainizationLevelAccess.cs:line 186
at Ranorex.Core.Testing.TestSuiteModule.RunInternal
at Ranorex.Core.Testing.TestSuiteModule.RunWithRepeats
at Ranorex.Core.Testing.TestSuiteModule.Run
at Ranorex.Core.Testing.TestModuleRunner.RunStandalone
at Ranorex.Core.Testing.TestModuleRunner.RunStandalone
at TempD484E8.RecordingRunner.Run
at TempD484E8.RecordingRunner.Main

I'm getting this exception while I'm clicking "Radio Button" to open the CSV File from window pop-up.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to handle Unidentify Exception???

Post by Support Team » Fri Nov 30, 2012 1:48 pm

Hello,

Could you please try to install our current version of Ranorex and run your test case.
Download Ranorex 3.3.4 from here.
Please verify if you have all prerequisites of Ranorex installed (System Requirements).

Could you please give us details about how you open your CSV-file?
Do you have all required permission to open this file?

Please post a Snapshot of your application.
Take a look at Creating Ranorex Snapshot Files from our User Guide.

Regards,
Markus (T)

NavinS
Posts: 9
Joined: Wed Nov 21, 2012 3:52 pm

Re: How to handle Unidentify Exception???

Post by NavinS » Fri Nov 30, 2012 3:46 pm

Hello Markus,

After Installed the latest Ranorex version 3.3.4, I'm still facing the same issue. Please check the attached screenshot "UnhandledException.jpg".
I'm Using WindowXP(SP3) and FF12.

To open the CSV file I just click on a button and it opens the pop-up window with options "Open With" and "Save File".

Please let me know if you need more details.

Thanks
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to handle Unidentify Exception???

Post by Support Team » Fri Nov 30, 2012 4:32 pm

Hello,

Please post a Snapshot (not a screenshot) of your application.
This Snapshot is needed in order to analyze your issue.

Have you already verified if all prerequisites of Ranorex are installed on your system?

Regards,
Markus (T)

NavinS
Posts: 9
Joined: Wed Nov 21, 2012 3:52 pm

Re: How to handle Unidentify Exception???

Post by NavinS » Mon Dec 03, 2012 7:55 am

Hello Markus,

Please check the snapshot of window attached.
Let me know if you need more information.

Thanks
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to handle Unidentify Exception???

Post by Support Team » Mon Dec 03, 2012 2:07 pm

Hello,

It looks like an issue with .NET Framework.
Please verify if you have all prerequisites of Ranorex installed.

Please reinstall .NET Framework and try it again.
Download & install .NET Framework from Download Center.

If this is still not working is it possible to get access to your application?

Regards,
Markus (T)

NavinS
Posts: 9
Joined: Wed Nov 21, 2012 3:52 pm

Re: How to handle Unidentify Exception???

Post by NavinS » Tue Dec 04, 2012 12:55 pm

Hello Markus,

I have installed the latest .net Framework but still I'm getting the same error.
Please let me know at what time you want to access my system. Actually this is my Office system and my timing is 11:30 AM to 8:30 PM (IST).

Thanks
Navin Singh

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: How to handle Unidentify Exception???

Post by Support Team » Tue Dec 04, 2012 3:47 pm

Hello,

Unfortunately, we couldn't reproduce this issue.

Do you get an error message if you are using Internet Explorer instead of Firefox?
Could you please try to update Firefox to version 17?

You could also try to delete the following tag in the file 'app.config' in your project:

Code: Select all

<supportedRuntime version="v4.0"/>
In order to analyze this issue we would need access (login credentials) to your application or a sample application. Is that possible?

Regards,
Markus (T)