Hi, trying to use “!errorignore” command but it still gives a error regardless
not sure if this is the proper way
{
"Name": "qq",
"CreationDate": "2024-3-1",
"Commands": [
{
"Command": "storeText",
"Target": "xpath=//*[@id=\"main\"]/div/div/div/div/div[2]/div/div[3]/div/div/div/div/div[2]/span",
"Value": "text",
"Description": "Attempt to store the text (ignore errors)"
},
{
"Command": "store",
"Target": "true",
"Value": "!errorignore",
"Description": "Ignore errors and continue execution"
},
{
"Command": "store",
"Target": "${text}",
"Value": "!csvLine",
"Description": "Store the text to CSV line"
},
{
"Command": "if_v2",
"Target": "${!statusOK}",
"Value": "",
"Description": "Check if the command executed successfully"
},
{
"Command": "else",
"Target": "",
"Value": "",
"Description": "If an error occurred, store 'no results'"
},
{
"Command": "store",
"Target": "no results",
"Value": "text",
"Description": "Store 'no results' to CSV line"
},
{
"Command": "end",
"Target": "",
"Value": "",
"Description": "End if condition"
},
{
"Command": "csvSave",
"Target": "QTP",
"Value": "",
"Description": "Save the CSV"
}
]
}
the software stops with error:
[error][ignored]
Line 1: timeout reached when looking for element ‘xpath=//*[@id=“main”]/div/div/div/div/div[2]/div/div[3]/div/div/div/div/div[2]/span’
Using web extension. Firefox