I have been using Ranorex 2.1 and have my object repository for all my forms with XPath. Today I upgraded to Ranorex 3.0.2 and I get the following error
Ranorex.CapabilityNotSupportedException : Item 'FormLogon.Self' is no Form.
Where "FormLogon's definition is
Code: Select all
public FormLogon(RepoGenBaseFolder appFolder) :
base("FormLogon", "/form[@title='Logon']", appFolder, 60000, null)
{
}
Code: Select all
Ranorex.Core.PluginManager.Instance.LoadDefaultPlugins();
Ranorex.Plugin.MsaaFlavor.Instance.FilterCompatibiltyLevel = Ranorex.Plugin.MsaaFlavor.CompatibilityLevel.V2X;
Ranorex.Plugin.Win32Flavor.Instance.UseLegacyFormRole = true;