November 1, 2022, 4:52pm
I am running a process in a VM unattended, but I am testing in the VM in Studio, it runs fine if I debug in there.
Once I publish and attempt to run unattended the process can’t even Open chrome or terminal, with errors such as:
Open CMD.exe: Cannot find the UI element corresponding to this selector: <wnd app=‘cmd.exe’
or the same for Open Browser - Chrome.
I am not sure what the issue is as it runs perfectly when I debug within the VM, and also locally. The job starts but fails at first chance.
Any thoughts would be great!
Did you try capturing some screenshots ?
Also does the windows user differs between unattended run and the studio run ?
November 1, 2022, 5:15pm
No screenshots as it fails straight away so nothing opens.
Can you just check the job logs & job info ? Please show the snap of it
November 1, 2022, 5:19pm
The job can’t do the first task of opening CMD, works fine if I am in the VM and start from Uipath Assistant.
Please add a
Take Screenshot activity on initialization failure and save it somewhere for reference.
Try installing the RPA Streaming tool in the VM for bot run monitoring -
Robot Streaming - RPA Component | UiPath Marketplace
Hope this helps.
November 1, 2022, 5:40pm
Even a Take Screenshot flow fails. It’s as if the whole process won’t run correctly.
November 1, 2022, 6:49pm
What happens when you try to run this process with the “UiPath Assistant” inside the VM? It runs?
November 2, 2022, 9:32am
@imloan yes it runs fine!
Could you please try with the robot streaming tool, I feel this issue may be due to the installation mode used - but let’s check.
If the silent run is running on a different virtual machine than the wizard, verify that the paths of the programs you start are common.
Check that when you exit the virtual machine you do not block it because when you close the session the robot does not run
November 5, 2022, 12:24pm
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.