I am working with a team that is using Uipath for Regression testing in an FCCS environment. When I started to update the legacy code for aligning with the RE framework, the logging in and then consecutive actions were working as expected. Suddenly, the element exists activity after logging in started giving “False” as Boolean output.
I tried to edit the selectors from Ui explorer and tried again but didn’t work. I asked my teammates if they are able to validate the selector which was present originally in the legacy code, the selector works on their machines.
We tried to change the options of Ui Frameworks from Default to Active Accessibility, and it worked. But, then I had to configure all the activities that are pointing to that element in my application to the Active Accessibility option as a temporary workaround. After the changes, I tried to run the automation again and the activity next to it immediately using selectors is getting failed. It seems like even if I fix these selectors to set with the option of Active Accessibility, there is a high chance that the consecutive activity using the selector will fail again.
We ensured the selectors were not using any variables which were changing like the IDX and that only the reliable selectors are being used which will have fewer chances of changing with time and machine.
Below are the approaches that were tried to fix this problem, but DID NOT work:
- Restarted my machine
- Tried to indicate elements in firefox and edge browser.
- Reinstalled the studio and chrome browser
- After reinstalling the studio, verified again if the extensions are available to the chrome browser.
- Disconnected my laptop from the extended monitor and tried to run again to see if the resolution would have been causing the problem.
None of the above approaches worked except the change in options to Active Accessibility, but it will not be a compatible while merging the code with the rest of the team.
There is already a post with similar issue in community post, but there was no conclusion workaround which could solve the problem for permanently.
Thanks in advance!