I'm intermittently getting the following error message when executing my test suite (Ranorex 7.2.0, Java SWT applicaiton):
According to the logfile the error message is triggered by some of my user code actions. Sometimes code execution continues, but sometimes the whole test runner is inactivated and blocked. Upon analysis I figured out that this is always happening where I'm waiting for the main form-element of the AUT to be displayed after executing the application. As the login window usually takes like 4-5seconds to display and getting ready for input I'm trying to achieve this as follows:LineageGlueRule 'cef_win32_rule' caused NullReferenceException on Execute. Object reference not set to an instance of an object.
Code: Select all
RegressionRepository.Instance.LoginWindow.SelfInfo.WaitForExists(10000); //run code for filling in of username/pw here
Hence, my question is whether there's a better method/best practice for waiting for repo items to exist when there are longer waiting times (Delay?, Host.Local.FindSingle?)? Or does any of you have more information on the LineageGlueRule exception and what might be causing it?
Any help is much appreciated. If you need more info on some techincal details let me know.