Tried using GotoIf_v2 | !${!statusOK} | BlueTag
I can see variable !statusOK becoming “false”, but it doesn’t Goto BlueTag.
Any idea where I went wrong?
Tried using GotoIf_v2 | !${!statusOK} | BlueTag
I can see variable !statusOK becoming “false”, but it doesn’t Goto BlueTag.
Any idea where I went wrong?
I made a short test macro and everything works ok. The test macro goes to the “test1” and thus runs in an endless loop as expected:
{
"Name": "test",
"CreationDate": "2020-4-18",
"Commands": [
{
"Command": "open",
"Target": "https://bbc.com",
"Value": ""
},
{
"Command": "label",
"Target": "test1",
"Value": ""
},
{
"Command": "verifyElementPresent",
"Target": "id=nothing",
"Value": ""
},
{
"Command": "if_v2",
"Target": "!${!statusOK}",
"Value": ""
},
{
"Command": "echo",
"Target": "inside if",
"Value": "green"
},
{
"Command": "end",
"Target": "",
"Value": ""
},
{
"Command": "gotoIf_v2",
"Target": "!${!statusOK}",
"Value": "test1"
}
]
}