Element exists functionality

Good Evening Community,

I need your help since I’ve been tried to use a control which I´m not sure if I´m using it in the right way.

I try to use the “element exists” control to ensure we are in the correct place after submiting a form within a website, in that control I use a boolean value to save the response of the control to use an “if” sentence to make sure I can take a value depending of the response, however while I´m debugging I´ve noticed that this flag is always comming in “true”, is there any other way to validate since this control is not working as expected. thanks in advanced for your help

If it’s always true it’s possible the element exists but isn’t visible. You really should be working in modern and using Check App State, it has much more robust features for handling these kind of things, and you won’t need to store in a variable then check with an If - that’s all built in.

1 Like

@abdieldeveloper,

Use check app state activity instead of element exists.

Second thing, select an UI element like any label or button for checking screen availability instead of whole screen.

This should work. Let me know if doesn’t.

Thanks,
Ashok :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.