Check the part of the class name of an Element


I have an element whose the class name can change (icon display on the page):

<span class="eui-icon eui-icon-add eui-u-color-success ng-star-inserted"></span>
<span class="eui-icon eui-icon-minus eui-u-color-danger ng-star-inserted"></span>

I would like to check that the attribute class contains the text “add” or “minus”.

I tries with storeAttribute for storing the attribute class in a variable but I don’t know how to verify a part of the created variable

Could you please help me with that ?

Thanks in advance

I am not an experienced Katalon Recorder (Browser Extensions) user.

I made a try:

Thank you :slight_smile: