Advanced assignment 1 Clarification

{
“message”: “Invoke System1_login workflow: The given key was not present in the dictionary.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “12:40:27”,
“processVersion”: “1.0.0”,
“jobId”: “c4a3c997-3bd2-42ff-bef5-2cf62eb665a0”,
“robotName”: “Bot1”,
“machineId”: 192170,
“fileName”: “InitAllApplications”
}

2nd error
{
“message”: “Attach Browser ‘iexplore.exe ACME’: Cannot find the UI element corresponding to this selector: ”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “12:40:58”,
“processVersion”: “1.0.0”,
“jobId”: “c4a3c997-3bd2-42ff-bef5-2cf62eb665a0”,
“robotName”: “Bot1”,
“machineId”: 192170,
“fileName”: “System1_close”
}

3rd error
{
“message”: “Invoke System1_close workflow: Cannot find the UI element corresponding to this selector: ”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “12:40:58”,
“processVersion”: “1.0.0”,
“jobId”: “c4a3c997-3bd2-42ff-bef5-2cf62eb665a0”,
“robotName”: “Bot1”,
“machineId”: 192170,
“fileName”: “CloseAllApplications”
}

4th error

{
“message”: “Applications failed to close normally. Cannot find the UI element corresponding to this selector: at Source: Invoke System1_close workflow: Attach Browser ‘iexplore.exe ACME’”,
“level”: “Warning”,
“logType”: “User”,
“timeStamp”: “12:40:58”,
“processVersion”: “1.0.0”,
“jobId”: “c4a3c997-3bd2-42ff-bef5-2cf62eb665a0”,
“robotName”: “Bot1”,
“machineId”: 192170,
“fileName”: “Main”
}
How to clear this

Hi @soumi_soumiya

  1. It means that the key you want to extract in a dictionary is not present. Example: Config(“Test”).ToString but the key in the dictionary is Config(“Test1”).ToString
  2. It is a selector issue. The selector may be dynamic.
  3. It is a selector issue. The selector may be dynamic.
  4. It is a selector issue. The selector may be dynamic.
2 Likes
  1. Check syntax of your key, it needs to be exact as the one in the Configuration.xlsx file, also try to avoid spaces there
  2. Check the selector, you are probably on the wrong web page
  3. Same, it is a Selector problem
  4. Same, it is a Selector problem

For 2,3,4 try changing static parts with dynamic parts like ? and *

cant get the solution of 1

1 Like

how to check key

I am able to identify where the error had occured

Can you show us the activity where error 1 occurred?
And send a screenshot of the Config.xlsx file.
Thanks

2 Likes

Just see in your flow if the key that you are using is the same key that exists.
For example in_Config(“System1URL”).toString
Check if the System1URL exists in Configuration.xlsx file

This is my config file but i dont know Where the error come how to identify it

hope so this file
error

Maybe it is because of the AMCE_Credential.
It is misspelled.

2 Likes

sorry cant get you

i had changed but still same error comes

1 Like

Can you show us what are the arguments and the values you provide in the Invoked Workflow file of System1_login?

2 Likes