I want to do XXX only if the text below is present on the page


#1

Screenshot_4

How do I do this?
I want to do XXX only if the text below is present on the page


#2

SourceSearch can help:

sourceSearch | Customer has never replied | found
If | ${found} > 0
Do XXX
endIf

Another option is to extract the text with storeText:

storeText | Locator Xpath... | text
If | ${text} == "Customer has never repliedĀ²
Do XXX
endIf

Important: If this is a textbox, you need to use storeValue instead of storeText.