Hey everyone, wondering if anyone has had the same experience and maybe could solved it, about creating a selector that works well on the first run of a loop that opens and closes a program for login but on the second run the element cant be found. The weird thing is that at the moment the robot fails i can select highlight and while usually takes a while the element is recognized but not on runtime.
The loop is a while loop that starts the program throught the startProcess object and then calls an Invoke RPA that is where the getElement is failing.
The selector of the getElement is:
[
{
"filename": "%USERPROFILE%\\AppData\\Local\\Apps\\2.0\\DJ7Y2XDR.DLQ\\AP7ZEP4E.TPT\\fapr..tion_0000000000000000_0017.0004_eb461088b377e3b9\\[PROGRAM NAME].exe",
"processname": "[PROGRAM NAME]",
"arguments": "",
"Selector": "Windows",
"search_descendants": "True",
"mouse_over_search": "True"
},
{
"ControlType": "Window",
"AutomationId": "frmMdi",
"FrameworkId": "WinForm"
},
{
"ClassName": "WindowsForms10.MDICLIENT*",
"ControlType": "Pane"
},
{
"ClassName": "WindowsForms10*",
"Name": "Transacciones de Pago en Línea",
"ControlType": "Window",
"AutomationId": "frmTransaccionesCybersource"
},
{
"ControlType": "Pane",
"AutomationId": "pnlFill"
},
{
"AutomationId": "ckFechas"
}
]
By testing I believe it’s only on the second loop and beyond since when I login on the one that is second loop i have no problem getting the element.
Any ideas?