Macro not working after upgrade - download link

I have been using a UI Vision macro for a long time with a macro and now with the upgrade it no longer does its main function which is to download reports. It does everything without error and looks like it is clicking the download link which when I hover over it shows javascript: bSubmitted=false;submitAction_win10(document.win10,'#!ICQryDownloadExcel');. When I rerecord the click of the download link, it produces the same macro code.

{
“Name”: “TEST”,
“CreationDate”: “2022-5-2”,
“Commands”: [
{
“Command”: “click”,
“Target”: “linkText=Excel SpreadSheet”,
“Value”: “”,
“Description”: “”
}
]

It looks like it is doing something, but nothing is downloaded.

  • [status] Playing macro TEST
  • [info] Executing: | click | linkText=Excel SpreadSheet | |
  • [info] Macro completed (Runtime 0.87s)

I really need to get this script run properly. Any help will be appreciated.

Here is UI.Vision appearing to click on the Excel SpreadSheet download link:

Hi, can you recreate the error on a public (download) website?

This one works for me:

{
  "Name": "download",
  "CreationDate": "2022-5-2",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://www.7-zip.org/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "linkText=Download@POS=2",
      "Value": "",
      "Description": ""
    }
  ]
}

Your macro worked for 7-zip. Perhaps it is because my link says “javascript: …” instead of “https://”?

As a temporary solution, I managed to downgrade UI.Vision, but that is not ideal. I created a separate Chrome profile so I could test the recent version of UI.Vision. I am hoping that it will work again.

The challenge is that we need a test case. We can only fix issues that we can recreate. So if you (or anyone else reading this) has such a test macro, please post it.

Maybe you send me the source code of this website? (the area around this link). Email is team AT ui.vision

Thanks. I have just sent an email to team AT ui.vision. If there is anything more that I can provide, please ask and I’ll see what I can do.

Thanks. We received it and will test further.

Meanwhile can you test if replacing CLICK with XCLICK solves the issue?

I set it to XCLICK with the same result - no download.

{
  "Name": "TEST2",
  "CreationDate": "2022-5-2",
  "Commands": [
    {
      "Command": "xclick",
      "Target": "linkText=Excel SpreadSheet",
      "Value": "",
      "Description": ""
    }
  ]
}

The log showed:

[status] Playing macro TEST2
[info]  Executing: | XClick | linkText=Excel SpreadSheet | |
[info]  Macro completed (Runtime 1.72s)

@admin I just tested version 7.0.11 and the problem is still there. If there is anything more I can provide to work it out, please ask.