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)
{
}
The title is the same with the latest spy too. I have also made changes to the settings as mentioned in the "Breaking Changes" section in http://www.ranorex.com/support/user-guide-20/working-with-2x-projects-in-3x-test-suites.html#c3338. Also I have added the following lines of code to my application
- Code: Select all
Ranorex.Core.PluginManager.Instance.LoadDefaultPlugins();
Ranorex.Plugin.MsaaFlavor.Instance.FilterCompatibiltyLevel = Ranorex.Plugin.MsaaFlavor.CompatibilityLevel.V2X;
Ranorex.Plugin.Win32Flavor.Instance.UseLegacyFormRole = true;
Should I be doing something else to make my objects recognizable?