Test Exist vs Element Exist

Hello developpers,

I don’t understand the difference between two activities.
Test Exist vs Element Exist

In my use case, I test the presence of this (on yellow):

In first, what is the difference between the two activities, and in my use case what is the best practice ?

Thanks for yours returns !

Best regards

Hi @mateo.drouillard

Element exist - It will check for the UI element that appear on the website.

Text exist - It will check for the particular text in the website

Regards
Gokul

1 Like

Check out the official document @mateo.drouillard

1 Like

HI,

Do you mean TextExists?
TextExists can check if target text exists inside element. For example, we can use it for Notepad.exe even if each string cannot be chose as UiElement.

ElementExists can be used to check if specific UiElement exists in target application.

Regards,

@mateo.drouillard text exists check the particular text present on uielement.
In your case element exists would be best activity

1 Like

Hi @mateo.drouillard

You can use text exist it will give you the better result.

Regards
Gokul

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