Input Input_Sn Error while running the workflow

Hi,my project involves retrieving serial number of laptops from the worksheet and entering it on Lenovo’s warranty look up page and capture the warranty period and renter it to the worksheet.

The robot is responsible to capture all the serial numbers of different laptops (in a column), open the web browser (Google chrome), open the Lenovo warranty lookup page and retrieve the warranty period to write it back to the worksheet.

For the first device, the robot successfully records and writes the information back in the right column on the worksheet, however, for the subsequent entries I receive an error on the Type into activity (where the serial number has to be added in the warranty look up field to check the warranty of the device).

**Below are the execution logs **

15:49:38.9017 Info {“message”:“Warranty Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-02T15:49:38.902867+08:00”,“fingerprint”:“e711b02b-46d8-475e-9f52-d224110ed6b7”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“f67dcefe-b166-417c-8211-22df5c694797”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:0}
15:49:46.9150 Info {“message”:“Warranty Automation execution started”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-02T15:49:46.7574031+08:00”,“fingerprint”:“a5ac3ee6-0846-45cb-a0b7-980b710a84a9”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”}
15:49:52.9298 Trace {“message”:“pc0e14q1”,“level”:“Verbose”,“logType”:“User”,“timeStamp”:“2018-10-02T15:49:52.9288024+08:00”,“fingerprint”:“ce7eacbc-6c90-4575-af1a-4cd0d752d8ca”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”}
15:50:08.1680 Trace {“message”:" 289 days remaining",“level”:“Verbose”,“logType”:“User”,“timeStamp”:“2018-10-02T15:50:08.1670693+08:00”,“fingerprint”:“730b6c21-c521-4cf2-8878-3b41da8e8072”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”}
15:50:13.1488 Trace {“message”:“pc0863ps”,“level”:“Verbose”,“logType”:“User”,“timeStamp”:“2018-10-02T15:50:13.1488751+08:00”,“fingerprint”:“4893befa-ee05-462d-acf0-1cbc0a5eedab”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”}
15:50:43.8386 Error {“message”:"Type into ‘INPUT input_sn’ : Cannot find the UI element corresponding to this selector: ",“level”:“Error”,“logType”:“Default”,“timeStamp”:“2018-10-02T15:50:43.8376358+08:00”,“fingerprint”:“2e435de7-7c52-4925-9a9e-f869bd61e6db”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”}
15:50:43.8545 Info {“message”:“Warranty Automation execution ended”,“level”:“Information”,“logType”:“Default”,“timeStamp”:“2018-10-02T15:50:43.8525946+08:00”,“fingerprint”:“415a951f-c5c1-4bc6-9811-be27a68a2248”,“windowsIdentity”:“CORP\tbhure”,“machineName”:“HKCPU03630”,“processName”:“Warranty Automation”,“processVersion”:“1.0.6838.20538”,“fileName”:“Main”,“jobId”:“6640953e-ce1e-48a6-a228-c713ada044de”,“robotName”:“CORP\TBHURE”,“totalExecutionTimeInSeconds”:57,“totalExecutionTime”:“00:00:57”}

I have tried running the workflow both on Chrome and IE, but the problem persists.

If you could observe in the output of the snapshot attached, the robot is unable to execute the task for pc0863ps.

I am using a for each activity to enter the different serial numbers in the worksheet

Please, can anybody advice me on how to solve this problem?

Hi @Tom1989

Your log message points to a problem with the selector:
"Type into ‘INPUT input_sn’ : Cannot find the UI element corresponding to this selector:

Is it possible that the selector of the ‘Type Into’ activity changes after the first entry and is no longer recognized when UiPath tries to input the second one?

Hi@loginerror, I sorted that out. The problem was with the workflow design.

1 Like