Hi, my English doesn’t help much, but I’ll try.
I need to load a page with a variable in half and it always fails, this variable must be an array. I’m not realizing where to put these variable values. I’m using in Value
{
“Name”: “teste2”,
“CreationDate”: “2021-10-14”,
“Commands”: [
{
“Command”: “open”,
“Target”: “http://10.162.102.187:8080/jbpm-console/app/procins.jsf?id=${Value}&view=token”,
“Value”: “10127105,9937083,XX,XXX,xXXXx, ETC”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “linkText=End@POS=1”,
“Value”: “”,
“Description”: “”
}
]
}
Thank you for help.
No problem need only to store the value of variable before open the url
store | yourvalue | myvariable
Add this before open command and yout macro will work well
perfect, thank you very much, it worked perfectly
1 Like
Good afternoon, a question, if you can help.
The value of the variable has to be 1, or can I put several?
I need to put several.
"Command": "store",
"Target": "10596461,10595940",
"Value": "myvar",
"Description": ""
"Command": "open",
"Target": "http://10.162.102.187:8080/jbpm-console/app/procins.jsf?id=${myvar}&view=token",
"Value": "",
"Description": ""
Fix in this mode
{
“Name”: “AAA”,
“CreationDate”: “2021-12-30”,
“Commands”: [
{
“Command”: “store”,
“Target”: “10596461,10595940”,
“Value”: “myvar”,
“Description”: “”
}
]
}
[status]
Playing macro AAA
[info]
Executing: | store | 10596461,10595940 | myvar |
[info]
Macro completed (Runtime 0.40s)