I have developed one robot using StudioX community license and it is working perfectly fine if i am running through Studio or through assistant manually.
However, whenever i am scheduling it in my VM and i am not logged in to VM, i end up getting below error always:
“Could not find the user-interface (UI) element for this action. Possible solutions: • Ensure application is opened and the UI element is visible on the screen at execution time • Edit the Target of the UI activity and use Validation to debug the issue. • If needed, re-indicate the element as its properties might have changed • Use “Check state” activity to check the application state before executing the action • Increase the “Delay before” value to allow time to the application to render entirely and become responsive”
If i am logged in to VM and have active session then scheduled robot is working but mostly issue comes when my VM session is not active (Server is on but i am not logged in).
There is no issue with the credentials because Robot is starting automatically and i can see some of the initial logs.
We should have any on going connections with the VM(bot machine) like user logins. to avoid this we have to restart the VM to make sure that no user logged into this VM machine.
Have you installed the Bot which you are running as un attended from orchestrator by using MSI installer since we must install the bot with service mode since service mode bot is required for un attended automation.
Make sure that you assigned un attended bot license for the Bot(VM) which you are trying to run your process un attended.
@Gokul001, Uipath is installed as Service Mode. Please note that the bot is running however it is failing to find the UI element. When i try to login to VM while bot is still running, i can see the browser opened by the running bot but could not go further like cannot enter user name as password.