Background, using UI flow desktop to approve the request.
process, a open the request email--> b click the approve button, --> c new email generated, --> d type approve -->e send the email.
now, have issue with select the newly generated email, due to everytime the email has a unique email name, could we use wildcard character to replace the email name:
one example below, Red part is the new email name, it will be changed everytime
{
"type": "WinUIA",
"parameters": {
"elementStack": [
{
"automationId": "",
"boundingRectangle": "2,474,1890,544",
"className": "_WwG",
"controlType": "50030",
"frameworkId": "Win32",
"name": "Approve(2259815615b8e34b281eecf1151274481f8cbf79) for Requisition #227933 - Message",
"localizedControlType": "Document"
},
{
"automationId": "",
"boundingRectangle": "2,474,1916,544",
"className": "_WwB",
"controlType": "50033",
"frameworkId": "Win32",
"name": "Document28",
"localizedControlType": "Pane"
},
{
"automationId": "4159",
"boundingRectangle": "2,474,1916,544",
"className": "AfxWndA",
"controlType": "50033",
"frameworkId": "Win32",
"name": "",
"localizedControlType": "Pane"
},
{
"automationId": "258",
"boundingRectangle": "2,239,1916,779",
"className": "AfxWndW",
"controlType": "50033",
"frameworkId": "Win32",
"name": "Form Regions",
"localizedControlType": "Pane"
},
{
"automationId": "103",
"boundingRectangle": "2,239,1916,779",
"className": "AfxWndW",
"controlType": "50033",
"frameworkId": "Win32",
"name": "",
"localizedControlType": "Pane"
},
{
"automationId": "",
"boundingRectangle": "0,0,1920,1020",
"className": "rctrl_renwnd32",
"controlType": "50032",
"frameworkId": "Win32",
"name": "Approve(2259815615b8e34b281eecf1151274481f8cbf79) for Requisition #227933 - Message (HTML) ",
"localizedControlType": "Window"
}
],
"elementXPath": "/Window[@ClassName=\"rctrl_renwnd32\"][@Name=\"Approve(2259815615b8e34b281eecf1151274481f8cbf79) for Requisition #227933 - Message (HTML) \"]/Pane[@ClassName=\"AfxWndW\"]/Pane[@ClassName=\"AfxWndW\"][@Name=\"Form Regions\"]/Pane[@ClassName=\"AfxWndA\"]/Pane[@ClassName=\"_WwB\"][@Name=\"Document28\"]/Document[@ClassName=\"_WwG\"][@Name=\"Approve(2259815615b8e34b281eecf1151274481f8cbf79) for Requisition #227933 - Message\"]",
"desktopNodeXPath": "/Pane[@ClassName=\"#32769\"][@Name=\"Desktop 1\"]",
"applicationInfo": {
"applicationId": "LBbyFU35IkujzDH1T5ReWA=="
}
}
}