UiElement No Longer Valid but IS Valid

I could use some help with something that is driving me crazy!

I have an application with a window that has a field that I am typing into. It might run through that field 3 times or 30 times then suddenly I will get “The UiElement is no longer valid”. When I click on the Edit Selector the Validate immediately turns green. So it is valid. I am tried various combination of slight delays and Wait For Ready but still get this randomly.

Can someone give me a hint of something to try to make this consistent? Thank you

1 Like

Try putting your activity in a Retry Scope. Then use Element Exists to find an item on the screen which only appears after the action is taken.

modify your selectors accordingly, for better accuracy use Anchor Element

1 Like

So far, same result. The retry scope it ran a couple times then same result. With anchor, I get value does not fall within the expected range even though I have used the position (Left) and have tried a find element and find image. Like I said before, my selectors are good. UiPath finds the element and validates.

So frustrating.