I'm having a very strange issue that I've not seen before while automating applications.
My WPF Plugin option is set as -> WpfImprovedOnly
I have correctly automated logging into the AUT, navigated to a few menus but halfway through a Wizard it can't identify anything within the new page. I need to physically click inside the element (a dropdown box on the page) for Spy to recognise and populate the element tree.
I have tried changing the WPF plugin options without any luck, I have also tried switching the plugins during runtime:
I have also tweaked all options within the settings and nothing seems to work, the only thing that works is clicking manually within the pane and then re-spying/re-searching for the element.
Code: Select all
Ranorex.Plugin.WpfConfiguration.WpfApplicationTrees = Ranorex.Plugin.WpfTreeSelection.UiaOnly; Configuration.Current.SaveToUserSettings(); Ranorex.Plugin.WpfConfiguration.WpfApplicationTrees = Ranorex.Plugin.WpfTreeSelection.WpfImprovedOnly; Configuration.Current.SaveToUserSettings();
Does anyone have any idea here?
I am using the latest Ranorex 9.3.2.exe release and the AUT is a x86 application.
Looking at the logs it is throwing the following error, but the resolutions to this (changing options) are not working:
Code: Select all
2020-06-04 11:47:41.090|DEBUG|Ranorex.Report|Plugins: LineageGlueRule 'wpf_root' caused SerializationException on Execute. Unable to find assembly 'Ranorex.Plugin.WpfProxy, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b798506b574ebc9a'. 2020-06-04 11:47:41.090| INFO|Ranorex.Report|LineageGlueRule 'wpf_root' caused SerializationException on Execute. System.Runtime.Serialization.SerializationException: Unable to find assembly 'Ranorex.Plugin.WpfProxy, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b798506b574ebc9a'.