Can you just find text without doing anything else?


I want to locate text within my and that is it. I have used the ‘Find Text’ method but it seems to require an action. I just want to validate the text is within an image.

Any help would be appreciated

Thank you,

my code:
set subjectText to "Eggplant Test "& random(1,9999)
[couple of steps in between]
Click (Text:subjectText)

Hi All,

I figured it out. Sorry for the spam.

I used the ImageFound command.

if ImageFound(Text:subjectText) then
put "The Discussion submitted has been Recorded as Expected: " &subjectText
putput "The Discussion submitted has NOT been Recorded as Expected: " & subjectText
end if

Thank you,