Unfortunately, when I try to execute this line:
var AcmeLoginScreen = uiAutomation.Open(AcmeApp.LoginScreen);
I get the error: System.NullREferenceException: ‘Object reference not set to an instance of an object’.
I tried using this code using other libraries with UI Descriptors, but the result is the same.
Do you have any ideas on how to deal with this problem?
No.
In the case of the example from the UiPath documentation, the application name is ‘Acme’, the screen name is ‘LoginScreen’. Similarly, when I used other Ui libraries, the names were also different.