Previous Topic: KEY KeywordNext Topic: WAIT Keyword


SEARCH Keyword

The SEARCH statement lets you search the entire screen for a specific string of data. Any statements that follow, up to the corresponding ENDSEARCH, execute only if the search is successful. You can nest SEARCH statements.

This keyword has the following format:

SEARCH=(text)
text

Specifies the string of data that CA Automation Point looks for on the screen

Example:

The following SEARCH statement tells CA Automation Point to search for message IEE152I:

SEARCH=(IEE152I)