Hello, after upgrade to v7.0.11 of Chrome RPA UI Vision extension, the pop up confirmation box with OK and Cancel is not longer automatically handled. And now my macro gets stuck/hung on this confirmation box. When I downgraded back to an earlier version and I tested on v7.0.7, this macro works perfectly. So something recently introduced has broken it. I get this error now when it used to automatically click the confirmation box “2022-05-07T18:19:48.594Z - [error] ipcPromise: onAsk timeout 10000 for cmd “PANEL_CALL_PLAY_TAB”, args {“ipcTimeout”:100,“ipcNoLaterThan”:3303895137112,“payload”:{“command”:“RUN_COMMAND”,“args”:{“command”:{“cmd”:“click”,“target”:“linkText=Delete”,“value”:”",“description”:"",“extra”:{“playHighlightElements”:true,“playScrollElementsIntoView”:true,“timeoutPageLoad”:25,“timeoutElement”:10,“timeoutDownload”:60,“timeoutDownloadStart”:10,“lastCommandOk”:true,“errorIgnore”:false,“waitForVisible”:false,“retryInfo”:{“retryCount”:0}}}}}}"
Works for me:
Do you have a test case where it fails?
Test macro:
{
"Name": "confirm",
"CreationDate": "2022-5-10",
"Commands": [
{
"Command": "open",
"Target": "https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_confirm3",
"Value": "",
"Description": ""
},
{
"Command": "selectFrame",
"Target": "relative=top",
"Value": "",
"Description": ""
},
{
"Command": "selectFrame",
"Target": "id=iframeResult",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "xpath=/html/body/button",
"Value": "",
"Targets": [
"xpath=/html/body/button",
"xpath=//button[@onclick='myFunction()']",
"xpath=//button",
"css=body > button"
],
"Description": ""
}
]
}
Yes, this macro fails in v7.0.11 and works in v.7.0.7 and earlier.
Each Delete step hangs, because the website has a popup confirmation box with OK or Cancel. The OK used to be auto-clicked, now it just hangs.
{
"Name": "DeleteOldReports",
"CreationDate": "2022-5-10",
"Commands": [
{
"Command": "store",
"Target": "DeleteOldReports",
"Value": "!csvLine",
"Description": ""
},
{
"Command": "csvSave",
"Target": "VisionRetry.csv",
"Value": "",
"Description": ""
},
{
"Command": "open",
"Target": "https://petstablished.com/awo/reports",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "selectWindow // tab=open",
"Value": "https://petstablished.com/awo/reports",
"Description": ""
},
{
"Command": "comment",
"Target": "selectWindow // tab=closeallother",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "8000",
"Value": "",
"Description": ""
},
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "2000",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Manage",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "linkText=Delete",
"Value": "",
"Description": ""
}
]
}
You will need my username and password for petstablished.com to run this macro, how can I send to you?
Just bumping this thread to see if it can still be checked? Thank you.
I have the same issue.
@alazes1 Please email the password to team AT ui.vision and mention this forum post.
Also, please test with the new V7.0.13 released today.
@oscarguindzberg Do you have a test case for us?
This reproduces the problem. both on 7.0.11 and 7.0.13
{
"Name": "test confirm",
"CreationDate": "2022-5-31",
"Commands": [
{
"Command": "open",
"Target": "https://testuivision.w3spaces.com/saved-from-Tryit-2022-05-31.html",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "xpath=/html/body/button",
"Value": "",
"Targets": [
"xpath=/html/body/button",
"xpath=//button[@onclick='myFunction()']",
"xpath=//button",
"css=body > button"
],
"Description": ""
}
]
}
Simplified code that also reproduces the problem
{
"Name": "test confirm",
"CreationDate": "2022-5-31",
"Commands": [
{
"Command": "open",
"Target": "https://testuivision.w3spaces.com/saved-from-Tryit-2022-05-31.html",
"Value": "",
"Description": ""
},
{
"Command": "click",
"Target": "xpath=/html/body/button",
"Value": "",
"Description": ""
}
]
}
Downgrading to 6.2.8 fixes the problem
And the problem was not present in v7.0.7 either as I was on that version and it was working. So the bug was introduced somewhere between v7.0.7 and v7.0.11 if that helps to narrow it down?
@oscarguindzberg Thanks for this very clear test case. I confirmed the issue and created a ticket for it.
PS: While we fix this issue, here is a workaround: Click browser popup with desktop automation
Thanks again for the useful error reports. This issue has been fixed with V7.0.14.