Hello my friends!
First post here asking for help, if something is wrong I apologize.
I’m trying to use Storetext to copy a specific field from the website’s code and attach it to my macro, but I’ve tried everything and the Storetext result is empty.
This is the website code:
I need StoreText to copy what is inside name, as MjAyNDEyNjAw changes with each process.
I already know how to attach this to a website and open the page I want, but I’ve tried all possible Xpath’s and StroreText doesn’t copy what’s inside name “MjAyNDEyNjAw”.
How can I do this?
{
"Name": "TESTE - xpath",
"CreationDate": "2024-7-15",
"Commands": [
{
"Command": "storeText",
"Target": "//*[@id="list-locais"]/table/tbody/tr",
"Value": "LINK",
"Description": ""
},
{
"Command": "store",
"Target": "LINK",
"Value": "!CSVLINE",
"Description": ""
},
{
"Command": "store",
"Target": "${LINK}",
"Value": "!CSVLINE",
"Description": ""
},
{
"Command": "csvSave",
"Target": "TESTE",
"Value": "",
"Description": ""
},
{
"Command": "selectWindow",
"Target": "tab=open",
"Value": "https://emec.mec.gov.br/modulos/visao_comum/php/com_andamento_processo.php?e0bfe59f30363feb951da8cfe3c7ff34=NDg0ODY=&e268fba8e236c47ac89b6d9cb1f8705d=${LINK}",
"Description": ""
}
]
}
Execution result:
LINK,
LINK,