Running does not work most of the time

I am having issues getting automations to run, even the code from the RPA developer course. In particular, I can run automations that for instance start with an Input Dialog, like those from lesson 4. The input dialog pops up, I can enter a city name and the automatin displays the result.

However, automations that start a web browser do not work at all. When lessing 4 starts there is a new whitish UiPath icon in the bottom bar, and that one disappears when the last dialog is dismissed. But when I start lessing 5.x or lessing 6.1, nothing happens. Worse, the debugger refuses to stop the automation, and the only way to get control back is to kill UiPath using Ctrl-Alt-Del.

I have looked at a number of things already, in particular for the Chrome and IE browsers, and whether the Robot server starts properly. The robot starts, and works given the result of lesson 4. Chrome appears to work too, the only difference is the name of the json file. However, that name differs only slightly and the contents appear the same. Changes are that the helptext related to this is not up-to-date anymore.

There is no logging at all in the logging tab, but there is some in the logging files mentioned under Debug:

Files included as the uploader refuses .txt files for some incomprehensible reason

Blockquote
10:39:56.5917 Info {“message”:“lesson4_practice2 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:39:56.5917403+02:00”,“fingerprint”:“986bbd2b-0153-4242-8ab1-af02bf8967b7”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“8b24920f-dd9f-43e0-bee8-55916de29da9”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
10:40:20.7840 Error {“message”:“Get Full Text ‘SPAN wob_tm’: The UiElement is no longer valid”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:40:20.7840151+02:00”,“fingerprint”:“bf8f49f3-0986-41cf-adde-e532c75739dc”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“8b24920f-dd9f-43e0-bee8-55916de29da9”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
10:40:20.7840 Info {“message”:“lesson4_practice2 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:40:20.7860153+02:00”,“fingerprint”:“fc1e1ad3-0eeb-4891-a341-ccf892e77b27”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“8b24920f-dd9f-43e0-bee8-55916de29da9”,“robotName”:“MAXDO”,“machineId”:0,“totalExecutionTimeInSeconds”:24,“totalExecutionTime”:“00:00:24”,“fileName”:“Main”}
10:57:10.7514 Info {“message”:“lesson4_practice2 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:57:10.735847+02:00”,“fingerprint”:“df131b91-41b5-422e-a17e-4b9778a86147”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“faba5a84-9e03-4236-9560-61313bdf9c8a”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
10:57:30.3464 Info {“message”:“lesson4_practice2 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:57:30.3464187+02:00”,“fingerprint”:“9a88cb86-048a-4bf5-8344-5a3c07e96cc1”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“faba5a84-9e03-4236-9560-61313bdf9c8a”,“robotName”:“MAXDO”,“machineId”:0,“totalExecutionTimeInSeconds”:19,“totalExecutionTime”:“00:00:19”,“fileName”:“Main”}
10:57:55.4247 Info {“message”:“lesson5_practice1 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:57:55.424752+02:00”,“fingerprint”:“7754a44e-4a5f-491c-8ce8-25b458b9ee92”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson5_practice1”,“processVersion”:“1.0.0”,“jobId”:“2c190fb8-ee6e-4a7d-a503-04a7cd32bfff”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
10:58:25.9578 Error {“message”:“Attach Browser ‘LaptopeBay Page’: Cannot find the UI element corresponding to this selector: ”,“level”:“Error”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:58:25.9578682+02:00”,“fingerprint”:“34e41ec4-60fb-4cb4-bf9c-f35f83fd0607”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson5_practice1”,“processVersion”:“1.0.0”,“jobId”:“2c190fb8-ee6e-4a7d-a503-04a7cd32bfff”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
10:58:25.9808 Info {“message”:“lesson5_practice1 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T10:58:25.980863+02:00”,“fingerprint”:“e8416eea-4dea-43a0-899d-9e5c19eefabf”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson5_practice1”,“processVersion”:“1.0.0”,“jobId”:“2c190fb8-ee6e-4a7d-a503-04a7cd32bfff”,“robotName”:“MAXDO”,“machineId”:0,“totalExecutionTimeInSeconds”:30,“totalExecutionTime”:“00:00:30”,“fileName”:“Main”}
12:25:33.3198 Info {“message”:“lesson4_practice2 execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T12:25:33.3188611+02:00”,“fingerprint”:“d973b9bc-819a-4274-a82a-13904b3e3e77”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“11d3fbd1-dcf7-491e-b5f1-cfc0d4defd33”,“robotName”:“MAXDO”,“machineId”:0,“fileName”:“Main”}
12:25:50.3472 Info {“message”:“lesson4_practice2 execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2019-07-22T12:25:50.3462664+02:00”,“fingerprint”:“fb015f2e-9a0b-471a-b469-a3dbc55fc152”,“windowsIdentity”:“DESKTOP-O692JU3\maxdo”,“machineName”:“DESKTOP-O692JU3”,“processName”:“lesson4_practice2”,“processVersion”:“1.0.0”,“jobId”:“11d3fbd1-dcf7-491e-b5f1-cfc0d4defd33”,“robotName”:“MAXDO”,“machineId”:0,“totalExecutionTimeInSeconds”:17,“totalExecutionTime”:“00:00:17”,“fileName”:“Main”}

Hi @svdwal

This seems to be the crucial part of your logs:
Cannot find the UI element corresponding to this selector

This means that after the Chrome was opened, the processed failed to attach to the window. It could be a sign of the Chome extension not working properly, but then the IE should work.

Please go to the Debug tab on the Ribbon and debug your process by pressing Step Into. Each click will move your process one activity further.

Please then post some screenshots of the activity that throws the error, together with the selector of that activity.

unfortunately debugging doesn’t work at all. Maybe after reinstallation

This would be indeed the course of action. See here for a detailed guide: