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
Ranorex Spy gave Unhandled exception.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex Spy gave Unhandled exception.
Hi Sachin,
Unfortunately, Ranorex V2.1.3 has an unwanted dependency on the .NET 3.0 Framework when automating .NET Windows Forms controls. This dependency will be removed again in the next service release. Meanwhile, please install the .NET 3.0 Framework or higher!
Download .NET Framework 3.5 SP1 from here:
http://www.microsoft.com/downloads/deta ... laylang=en
Regards,
Alex
Ranorex Support Team
Unfortunately, Ranorex V2.1.3 has an unwanted dependency on the .NET 3.0 Framework when automating .NET Windows Forms controls. This dependency will be removed again in the next service release. Meanwhile, please install the .NET 3.0 Framework or higher!
Download .NET Framework 3.5 SP1 from here:
http://www.microsoft.com/downloads/deta ... laylang=en
Regards,
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Ranorex Spy gave Unhandled exception.
Please upgrade to Ranorex V2.1.4 which fixes this bug:
http://www.ranorex.com/download.html
Regards,
Alex
Ranorex Support Team
http://www.ranorex.com/download.html
Regards,
Alex
Ranorex Support Team