Only 1 time for OnError #restart

Now I don’t use shortcut html file to start, but firefox with ui.vision.html?macro=ITS command.
Command of onError #restart only try One Time!! while it’s running. It’s latest version.

It’s running repeatedly all time in early! What’s the matter for only one time in repeat running?

Hi, what is “repeat running”? Can you please post a complete test macro for us to run?

Hi,
below “onError #restart” is designed to repeat running the macro once error happened:

{
  "Name": "LoginIRIS",
  "CreationDate": "2024-7-1",
  "Commands": [
    {
      "Command": "onError",
      "Target": "#restart",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "NODISPLAY",
      "Value": "!replayspeed",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!TIMEOUT_PAGELOAD",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "30",
      "Value": "!TIMEOUT_WAIT",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.testwebsite.com",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "//small[contains(.,\"ABC\")]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "false",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!statusOK",
      "Description": ""
    },
    {
      "Command": "waitForElementPresent",
      "Target": "id=home",
      "Value": "",
      "Description": ""
    }
  ]
}

If you only test itself, it’s normal. But only repeat for 1 time while called by another macro.

I find the UI.Vision of latest version with firefox often stop in the last command (not only
waitForElementPresent).
Above is because UI.Vision Stop, not to finish execute last command, particular run by another macro; Not because of issue in [OnError #restart].