Loop issue with waitForElementVisible command

hi,

im usually running my script in loop mode (“play macro” -> “play loop”). in that script i have following loop:

{
“Command”: “store”,
“Target”: “true”,
“Value”: “!errorignore”
},
{
“Command”: “while_v2”,
“Target”: “${!statusOK}”,
“Value”: “”
},
{
“Command”: “waitForElementVisible”,
“Target”: “xpath=/html/body/div[1]/div/div/div[2]/sprd-state-handler-view/div”,
“Value”: “”
},
{
“Command”: “endWhile”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “store”,
“Target”: “false”,
“Value”: “!errorignore”
},

from the second loop on the script just skips the “waitForElementVisible” and “endwhile” commands and would than go on with the last “store” command. it used to work very well and it works when i just play the macro without loop mode. just for you to know: today i was running the script for the first time on another computer.

any is help is very appreciated