"CONTAINS" Command

Description: This command checks whether a sub-string exists on another string.
Usage Scenario: Suppose we want to retrieve the footer value from our Reference app and check if it contains the word "Social".

Procedure: Define a step that retrieves the string value of the footer using Get_Web_Value and another step with Contains command that checks the variable from Get_Web_Value and checks if it contains "Social". Your steps will look like this: