DOCUMENT DESTROYED EXCEPTION
The image element perform click action is working perfectly in the loop until a chrome popup comes asking for OK or Cancel which is caught in exception and OK is clicked using UI Automation dll C# script.
On the next loop the image element is present but not getting the perform click method and going as exception throwing :
Pega.Remoting.Unmanaged invoke Exception: DOCUMENT DESTROYED EXCEPTION: Cannot perform invoke Brokerld 85