web » assertTextNotPresent(text)
Description
This command asserts that the specified text is not present in current page.
Note:
- Nexial scans for the specified
textwith no regards to the associated styling, positioning or tags. So what might seem like “hidden” text will be included as part of the scan. - Nexial will scan the specified
textcase-sensitively.
Parameters
- text - text that should be found in the content of the current page.
Example
Script:

Output:
