Nexial Automation

Test Automation Platform for everyone!

X

web » assertTextNotPresent(text)

Description

This command asserts that the specified text is not present in current page.

Note:

  • Nexial scans for the specified text with 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 text case-sensitively.

Parameters

  • text - text that should be found in the content of the current page.

Example

Script:

Output:

See Also