Skip to content

assertNotCookieByName (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getCookieByName(name) 
  • This command verifies the value of the cookie with the specified name given is not present under test application.
  • If there are any specified cookies present, the execution gets aborted.
  • Syntax
  • assertNotCookieByName(name, pattern)
  • Target
  • name
  • Value
  • pattern
  • Return Value
  • Returns the value of the cookie with the specified name, or throws an error if the cookie is present.
 

Feedback and Knowledge Base