Macro is not waiting for the download to start. Please help

I am trying to download file which takes about a minute to start downloading but the timer is set to 10 second only. I tried increasing the timeout but still I have the same problem.

{
“Name”: “Auto_Banner_Copy”,
“CreationDate”: “2022-4-22”,
“Commands”: [
{
“Command”: “csvReadArray”,
“Target”: “test.csv”,
“Value”: “label”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “Label”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “Lifecycle”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “csvSave”,
“Target”: “lifecycle”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “0”,
“Value”: “i”,
“Description”: “”
},
{
“Command”: “open”,
“Target”: “https://agileprod.jnj.com/Agile/default/login-cms.jsp”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=j_username”,
“Value”: “”,
“Targets”: [
“id=j_username”,
“name=j_username”,
“xpath=//[@id=“j_username”]",
“xpath=//input[@id=‘j_username’]”,
“xpath=//td[2]/input”,
“css=#j_username”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=j_password”,
“Value”: “”,
“Targets”: [
“id=j_password”,
“name=j_password”,
"xpath=//
[@id=“j_password”]”,
“xpath=//input[@id=‘j_password’]”,
“xpath=//tr[2]/td[2]/input”,
“css=#j_password”
],
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=j_password”,
“Value”: “”,
“Targets”: [
“id=j_password”,
“name=j_password”,
“xpath=//[@id=“j_password”]",
“xpath=//input[@id=‘j_password’]”,
“xpath=//tr[2]/td[2]/input”,
“css=#j_password”
],
“Description”: “”
},
{
“Command”: “clickAndWait”,
“Target”: “id=loginspan”,
“Value”: “”,
“Targets”: [
“id=loginspan”,
"xpath=//
[@id=“loginspan”]”,
“xpath=//span[@id=‘loginspan’]”,
“xpath=//span”,
“css=#loginspan”
],
“Description”: “”
},
{
“Command”: “selectWindow”,
“Target”: “title=Agile Product Lifecycle Management”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “while_v2”,
“Target”: “${i}<${!csvReadMaxRow}”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=QUICKSEARCH_STRING”,
“Value”: “${label[${i}]}”,
“Targets”: [
“id=QUICKSEARCH_STRING”,
“name=QUICKSEARCH_STRING”,
“xpath=//[@id=“QUICKSEARCH_STRING”]",
“xpath=//input[@id=‘QUICKSEARCH_STRING’]”,
“xpath=//div[3]/input”,
“css=#QUICKSEARCH_STRING”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=selector_elm”,
“Value”: “”,
“Targets”: [
“id=selector_elm”,
"xpath=//
[@id=“selector_elm”]”,
“xpath=//em[@id=‘selector_elm’]”,
“xpath=//div[3]/a/em”,
“css=#selector_elm”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “linkText=Items”,
“Value”: “”,
“Targets”: [
“linkText=Items”,
“xpath=//[@id=“cls_901”]/a",
“xpath=//div[12]/div/ul[2]/li/a”,
“css=#cls_901 > a”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: "xpath=//
[@id=“top_simpleSearchspan”]/em”,
“Value”: “”,
“Targets”: [
“xpath=//[@id=“top_simpleSearchspan”]/em",
“xpath=//div[3]/div/a/span/em”,
“css=#top_simpleSearchspan > em”
],
“Description”: “”
},
{
“Command”: “storeText”,
“Target”: “id=col_1001”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “if_v2”,
“Target”: “${!LastCommandOk} == false”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “gotoLabel”,
“Target”: “end2”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “storeText”,
“Target”: “id=col_1084”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “csvSave”,
“Target”: “lifecycle”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=Actionsem_8”,
“Value”: “”,
“Targets”: [
“id=Actionsem_8”,
"xpath=//
[@id=“Actionsem_8”]”,
“xpath=//em[@id=‘Actionsem_8’]”,
“xpath=//div[2]/a[2]/span/em”,
“css=#Actionsem_8”
],
“Description”: “”
},
{
“Command”: “click”,
“Target”: “linkText=Banner View”,
“Value”: “”,
“Targets”: [
“linkText=Banner View”,
“xpath=//[@id=“yui-gen36”]/a",
“xpath=//div[13]/div/ul[6]/li/a”,
“css=#yui-gen36 > a”
],
“Description”: “”
},
{
“Command”: “selectWindow”,
“Target”: “tab=1”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!errorIgnore”,
“Description”: “”
},
{
“Command”: “clickAndWait”,
“Target”: "xpath=//
[@id=“downloadLink”]”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “if_v2”,
“Target”: “${!LastCommandOk} == false”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “${label[${i}]}”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “No banner copy found”,
“Value”: “!csvline”,
“Description”: “”
},
{
“Command”: “csvSave”,
“Target”: “Banner_Copy_Error”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “selectWindow”,
“Target”: “tab=close”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “selectWindow”,
“Target”: “title=Agile Product Lifecycle Management”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “label”,
“Target”: “end2”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return Number (${i}+1);”,
“Value”: “i”,
“Description”: “”
},
{
“Command”: “end”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “clickAndWait”,
“Target”: “xpath=//[@id=“logoutspan”]/em",
“Value”: “”,
“Targets”: [
"xpath=//
[@id=“logoutspan”]/em”,
“xpath=//a[4]/span/em”,
“css=#logoutspan > em”
],
“Description”: “”
},
{
“Command”: “”,
“Target”: “”,
“Value”: “”,
“Description”: “”
}
]
}

This is a known issue of the recent V7.07 upgrade. We will provide a fix ASAP.

See also Ui.Vision RPA Chrome extension: Migration from Manifest V2 to Manifest V3 - #26 by admin

Thank you for your reply. I am using v6.3.3 and its the same problem there too. Is there something wrong with my macro or its extension issue.

The new V7.0.8 solves this. Released today!

1 Like