storeTextPresent (UI Automation - Manipulation)
Compatible with:
- Purpose
- This command is used to store whether the given text is present on the webpage or not.
- This command uses either the textContent (Visible Text) or the innerText (DOM), which is the rendered text shown to the user. If the text present on page then it will store "True" in the given variable otherwise it will store "False".
- Syntax
- storeTextPresent(pattern, variableName)
- Target
- pattern - Text
- Value
- variableName
- Return Value
- true if the pattern matches the text, false otherwise