Ranorex Spy gave Unhandled exception.
Posted: Mon Aug 24, 2009 10:59 am
Hi,
I am using Ranorex 2.1.3
When i use Ranorex Spy to get control information respected to my forms,I am getting a unhandled Exception mentioned below:
-----------------------------------------------------------------------------------------------------
System.IO.FileNotFoundException: Could not load file or assembly 'UIAutomationClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'UIAutomationClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Ranorex.Plugin.WinFormsFlavorElement.CanReplace(FlavorElement flavorElem)
at Ranorex.Core.Element.CanReplace(Element element)
at Ranorex.Core.Element.IsChild(Element parentElement, Element& element)
at Ranorex.Core.Element.FindFromPoint(Point screenLocation)
at Ranorex.Controls.TrackerCheckBox.DoTracking(Point location, Element rootElement)
at Ranorex.Controls.TrackerCheckBox.SearchElement_Tick(Object source, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
------------------------------------------------------------------------------------------------------------------
I don't have any key [HKLM\Software\Microsoft\Fusion!EnableLog] in my system.
Please suggest me how to overcome this proble to get controls.
Thanks,
Sachin
I am using Ranorex 2.1.3
When i use Ranorex Spy to get control information respected to my forms,I am getting a unhandled Exception mentioned below:
-----------------------------------------------------------------------------------------------------
System.IO.FileNotFoundException: Could not load file or assembly 'UIAutomationClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'UIAutomationClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
at Ranorex.Plugin.WinFormsFlavorElement.CanReplace(FlavorElement flavorElem)
at Ranorex.Core.Element.CanReplace(Element element)
at Ranorex.Core.Element.IsChild(Element parentElement, Element& element)
at Ranorex.Core.Element.FindFromPoint(Point screenLocation)
at Ranorex.Controls.TrackerCheckBox.DoTracking(Point location, Element rootElement)
at Ranorex.Controls.TrackerCheckBox.SearchElement_Tick(Object source, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
------------------------------------------------------------------------------------------------------------------
I don't have any key [HKLM\Software\Microsoft\Fusion!EnableLog] in my system.
Please suggest me how to overcome this proble to get controls.
Thanks,
Sachin