Assignment 1- CalcualteClientSecuirtyHash- Failed to update First WI5 workitem

Hi All, when i run the client security hash assignment it is failed to select the update for the first workitem and updating for all the remaining workitems and throwing indexout of bounds exception while assigning to TransactionID. please help me if i missed to follow the trick.

{
“message”: “Get Full Text ‘SPAN result-sha1’: Cannot find the UI element corresponding to this selector: ”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “20:57:12”,
“processVersion”: “1.0.0”,
“jobId”: “f34a49ed-ef4a-42a4-856e-ecaf17871b17”,
“robotName”: “lalitarobo1”,
“machineId”: 155808,
“fileName”: “SHA1_Online_GetHashCode”
}

{
“message”: “Invoke SHA1_Online_GetHashCode workflow: Cannot find the UI element corresponding to this selector: ”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “20:57:12”,
“processVersion”: “1.0.0”,
“jobId”: “f34a49ed-ef4a-42a4-856e-ecaf17871b17”,
“robotName”: “lalitarobo1”,
“machineId”: 155808,
“fileName”: “Process”
}

{
“message”: “Assign TransactionID: Index was outside the bounds of the array.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “20:59:52”,
“processVersion”: “1.0.0”,
“jobId”: “f34a49ed-ef4a-42a4-856e-ecaf17871b17”,
“robotName”: “lalitarobo1”,
“machineId”: 155808,
“fileName”: “GetTransactionData”
}

@lalita

Could you please take screenshot of IF condition and show me once in Get TransacionData xaml file.

Thank you @lakshman for quick response.

Blockquote

Here is my GetTransactionData screenshot and xaml file.GetTransactionData.xaml (7.9 KB)

1 Like

@lalita

In assign, it should be like this

out_TransactionItem = dt_WorkItems(in_TransactionNumber - 1)

Check once have you used like this or not. If not then do it and will work.

I have my in_TransactionNumber argument is initial value starts with zero(TransactionNumber =0).

when i tried with if condition in_TransactionNumber < dt_WorkItems.Count now i would not see index out of bounds error but still not able to update the first WI5 workitem.

getting these additional errors
{
“message”: “Get Full Text ‘SPAN result-sha1’: Value does not fall within the expected range.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “21:30:28”,
“processVersion”: “1.0.0”,
“jobId”: “28c161f0-f759-48f2-a0f3-2ef2470aeb2b”,
“robotName”: “lalitarobo1”,
“machineId”: 155808,
“fileName”: “SHA1_Online_GetHashCode”
}

{
“message”: “Invoke SHA1_Online_GetHashCode workflow: Value does not fall within the expected range.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “21:30:28”,
“processVersion”: “1.0.0”,
“jobId”: “28c161f0-f759-48f2-a0f3-2ef2470aeb2b”,
“robotName”: “lalitarobo1”,
“machineId”: 155808,
“fileName”: “Process”
}

hello @lalita
problem is not getTransactionData xaml file.
problem is in the SHA1Online_GetHashCode file.
due to slow internet or processing time SHA1Online site take time to generate code
you can put some delay after enter button may be 2-3 second
image

hope its help

Thanks

1 Like

Thank you @sandeep13 , delay acitivity worked for me and i am able to complete the assignment 1.

1 Like

Mark as solution if post helped you

Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.