Skip to content

assertNotCookie (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getCookie()
  • Return all cookies of the current page under test and compares this list with the cookie pattern given in the Target. 
  • This command asserts that there should not be any cookies present under the test. If there are any, the execution gets aborted.
  • Syntax
  • assertNotCookie(pattern)
  • Target
  • pattern
  • Value
  • N/A
  • Return Value
  • Returns true or false
 

Feedback and Knowledge Base