Hi,
@Sayed can you please post your solution?
I have the same problem in 2nd run and comment this out was not the solution.
;~ Add element to runtime information object reference
If IsString($p1) Then
_UIA_LOG("Storing in RTI as RTI." & $p1 & @CRLF, $UIA_Log_Wrapper)
_UIA_setVar("RTI." & StringUpper($p1), $UIA_oUIElementFound)
EndIf