I’m trying to read and open URLs from a CSV file in a loop. However, sometimes my Internet connection is spotty or the destination website just temporarily won’t load.
Is there a way I can force UI.vision to keep retrying the last URL it read from my CSV file in case the pageload times out?
I tried to set a label to jump into in case the !statusOK becomes false from a URL timeout, but this doesn’t seem to work. Instead of jumping to my label and retrying the page load, UI Vision just starts with the next full loop.
Any ideas or advice would be appreciated.
Thanks.
My current non-working steps:
{
“Name”: “Main Scrape test”,
“CreationDate”: “2021-8-19”,
“Commands”: [
{
“Command”: “csvRead”,
“Target”: “Missing URLS.csv”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “${!col1}”,
“Value”: “currentUrl”,
“Description”: “”
},
{
“Command”: “label”,
“Target”: “RESET”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!statusOK”,
“Description”: “”
},
{
“Command”: “open”,
“Target”: “${currentUrl}”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “gotoIf_v2”,
“Target”: “${!statusOK} == false”,
“Value”: “RESET”,
“Description”: “”
},