Hello
I’m ussin UI.Vision with Desktop mode active.
I have a Windows software that crawl every webpages of a website.
Function of the size of the website, this software can take 30 minutes or 4 hours to crawl every webpages.
I have also a list of websites to crawl.
Here is my little macro :
{
"Name": "Desktop test",
"CreationDate": "2021-4-17",
"Commands": [
{
"Command": "visualVerify",
"Target": "hvqcxs_dpi_72.png",
"Value": ""
},
{
"Command": "XClick",
"Target": "qgvy6n_dpi_72.png",
"Value": "#doubleclick"
},
{
"Command": "XType",
"Target": "http://*******r.com/",
"Value": ""
},
{
"Command": "XClick",
"Target": "start_dpi_72.png",
"Value": ""
},
{
"Command": "pause",
"Target": "1800000",
"Value": ""
}
]
}
The only way I can know that my software finished to crawl all pages of a webpage is to check the button “start”. If the button start is grey, that mean the software is still working.
With the picture qgvy6n_dpi_72.png that’s what I check (if the button start is not grey, so if I can click on it or not).
After, that line, I would like to wait 30 min if the button “start” is grey and do the same thing until the button start is not grey.
When the button start is not grey, so do the rest of my macro.
Could someone know how could I do that please ?
Thank you very much for your help