Error while using click in user application "UI ELEMENT IS INVALID"

i am using click activity in use application but i am getting a error UI element is invalid. can anyone help me on this. thanks

image

@vignesh.maruthappan,

May be the element you are trying to click is dynamic and gets changed while executing. Try to build dynamic selector for the element and try.

Thanks,
Ashok :slight_smile:

Can you try the below solutions :-

Wait for Element:
Add a “Wait Element Vanish” or “Wait Element Appear” activity before the Click activity to ensure that the element is available and ready to be interacted with.

Indicate on Screen:
Use the “Indicate on Screen” feature in the Click activity to re-indicate the element on the screen. Sometimes, the selector may need to be updated if the UI layout changes.