Hi, looking for some guidance on a solution to arather odd issue I have never seen before in UiPath Studio.
In only specific library for a specific old windows app, we;ll call it ‘MIS’ following a re-clone of the library project via Git yesterday afternoon, all of the Ui objects are not working as they cannot see that the application is open. I’m presented instead with the off-line version of the descriptor editor.
I am able to create new objects - screen and element - in the same MIS app, with the same window and target selectors - and they always work, always see the app.
When editing a ‘faulty’ ui object for the MIS app I am able to point it at the open application, if then sees the app ok. I can edit the window selector ok and validate it and then save it. I then re-open the ui object via edit descriptor and it no longer finds the MIS application window.
We’re now seeing this on the remote VMs, as of this morning, executing test cases where that use the activities in the the MIS application library. The first activity to open the application is failing on a wait (check app state) for the application window.
Here’s the odd thing:
- UiExplorer has no problems seeing the app and can validate the same window selector used in the Ui objects (the window selectors are all the same for the same app)!
- It is only one library project where this is happening. We have two other libraries - one for Citrix Workspace and another for MS apps, and they are ok.
- My colleague using the same library project had no problem - at least until today.
We are coming to the conclusion that either:
(a) something has changed on the desktop environment that is corrupting the ability for UiPath to use the UI objects, or more specifically ui objects from one specific library (though this surely would affect all libraires and also Ui Explorer?)
(b) the library project descriptors have somehow been corrupted.
A solution appears to be that we could re-create all ui objects, even in a whole new project. It may even work to copy the entire UI object tree via snippets between and old and new project.
If anyone has experienced this and either:
(a) knows what might have caused this - library project corruption, desktop environment change
(b) has a fix for the errant library project
(c) any other solution to re-creating the entire project (assuming this will work) or else re-create all the Ui objects
We’re using:
UiPath Studio 24.10.18 LTS on Windows 10.
UiPath.System 24.10.8
UiPath.UIAutomation 24.10.14
Many thanks
Steve