Sure. In case of errors like Error #101: Kantu is not connected to a browser tab, I would like to know which Loop was missed to execute. In Error in CSV line No. ${!csvReadLineNumber} ", I would like to get “Error #101: Kantu is not connected to a browser tab”
Here is an sample:
{
“Name”: “Sample”,
“CreationDate”: “2020-11-9”,
“Commands”: [
{
“Command”: “csvRead”,
“Target”: “mails.csv”,
“Value”: “”
},
{
“Command”: “while_v2”,
“Target”: “{!csvReadStatus} == \"OK\"",
"Value": ""
},
{
"Command": "store",
"Target": "true",
"Value": "!ErrorIgnore"
},
{
"Command": "deleteAllCookies",
"Target": "",
"Value": ""
},
{
"Command": "open",
"Target": "{!COL13}”,
“Value”: “”
},
{
“Command”: “echo”,
“Target”: “Status = {!col1}, line = {!csvReadLineNumber}”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “id=MainContentPlaceHolder_DownloadRegister_txtEmailAddress”,
“Value”: “${!COL3}”
},
{
"Command": "clickAndWait",
"Target": "link=Download",
"Value": ""
},
{
"Command": "assertElementPresent",
"Target": "id=MainContentPlaceHolder_txtFirstName",
"Value": ""
},
{
"Command": "if_v2",
"Target": "${!StatusOK}",
"Value": ""
},
{
"Command": "type",
"Target": "id=MainContentPlaceHolder_txtFirstName",
"Value": "${!COL2}"
},
{
"Command": "click",
"Target": "id=btnCreateAccount",
"Value": ""
},
{
"Command": "select",
"Target": "id=MainContentPlaceHolder_DownloadRegister_rptQuestions_Responses_0",
"Value": "label=${!COL16}"
},
{
"Command": "click",
"Target": "link=Download",
"Value": ""
},
{
"Command": "else",
"Target": "Error in CSV line No. ${!csvReadLineNumber} ",
"Value": ""
},
{
"Command": "echo",
"Target": "Reading CSV line No. ${!csvReadLineNumber} ",
"Value": ""
},
{
"Command": "end",
"Target": "",
"Value": ""
},
{
"Command": "executeScript",
"Target": "return ${!csvReadLineNumber}+1",
"Value": "!csvReadLineNumber"
},
{
"Command": "echo",
"Target": "Reading CSV line No. ${!csvReadLineNumber} ",
"Value": ""
},
{
"Command": "csvRead",
"Target": "mails.csv",
"Value": ""
},
{
"Command": "endWhile",
"Target": "",
"Value": ""
}
]
}