Skip to content

assertNotLocation (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command is used to verify the absolute URL of the current page doesnot match with the specified URL.
  • If the given URL matches with current web page URL, the execution will get aborted.
  • Syntax
  • assertNotLocation(pattern)
  • Target
  • N/A
  • Value
  • pattern
  • Return Value
  • Returns true if the pattern doesn't match the specified URL.

 

Feedback and Knowledge Base