Cant start Test Case
Posted: Thu Sep 17, 2015 2:19 pm
Can not intercept exception. Debugged program can not be continued and properties can not be evaluated for :
System.TypeInitializationException: The type initializer for 'SI_Automation.Modules.Basic_Functions.Basic_Functions_Check_AllItemsAdministration'
threw an exception. ---> Ranorex.ElementNotFoundException: Failed to find item 'SI_AutomationRepository.WorkspaceWindow.LstPermissions'.
---> Ranorex.ElementNotFoundException: No element found for path '/form[@automationid='WorkspaceWindow']/form[@classname='Popup']/?/?/list[@automationid='lstPermissions']'
within 1m.
at Temp5442771.RecordingRunner.Run
at Temp5442771.RecordingRunner.Main
Hello, this is what happens, I have no idea why, as i can see that element and if i run just that user code, it works, but if i try to run test case then it fails with error.
System.TypeInitializationException: The type initializer for 'SI_Automation.Modules.Basic_Functions.Basic_Functions_Check_AllItemsAdministration'
threw an exception. ---> Ranorex.ElementNotFoundException: Failed to find item 'SI_AutomationRepository.WorkspaceWindow.LstPermissions'.
---> Ranorex.ElementNotFoundException: No element found for path '/form[@automationid='WorkspaceWindow']/form[@classname='Popup']/?/?/list[@automationid='lstPermissions']'
within 1m.
at Temp5442771.RecordingRunner.Run
at Temp5442771.RecordingRunner.Main
Hello, this is what happens, I have no idea why, as i can see that element and if i run just that user code, it works, but if i try to run test case then it fails with error.