I cannot get the times command to work i have a times ${variable} and variable is a positive integer, but i receive the following error target must be a positive number
Looks like you found a bug in which you can’t use a variable for times
I use times like variable and i have any error working well
I integrate times in xpath to and working like a charm
Post macro code please
It works on firefox?
On chrome, times won’t take a variable:
works:
times | 3
doesn’t work:
store | 3 | testvar
times | {testvar}
[error] Line xx: target must be a positive number
@User9898 Did you miss the $
in your variable name? For me it works fine:
{
"Name": "tst",
"CreationDate": "2020-12-29",
"Commands": [
{
"Command": "store",
"Target": "3",
"Value": "var"
},
{
"Command": "times",
"Target": "${var}",
"Value": ""
},
{
"Command": "echo",
"Target": "hello",
"Value": ""
},
{
"Command": "end",
"Target": "",
"Value": ""
}
]
}
I sure did… too much spiked Christmas punch ha
However, the OP says he has ${variable}… maybe @kantuuser can chime back in
I found the error, was a typo in the variable name. But i expected a error like Variable dont exist o not defined.