Text
From STIQ
storeText ( locator, variableName )
- assertText ( locator, pattern )
- assertNotText ( locator, pattern )
- verifyText ( locator, pattern )
- verifyNotText ( locator, pattern )
- waitForText ( locator, pattern )
- waitForNotText ( locator, pattern )
Arguments:
- locator - an element locator
- variableName - the name of a variable in which the result is to be stored.
Returns:
- The text of the element
This works for any element that contains text. This command uses either the textContent (Mozilla-like browsers) or the innerText (IE-like browsers) of the element, which is the rendered text shown to the user.
