Skip to content

assertNotEval (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getEval(script) 
  • Gets the result of evaluating the specified JavaScript snippet. The snippet may have multiple lines, but only the result of the last line will be returned. 
  • This command is used to verify the result of specified JavaScript snippet does not match with given pattern in Value. The snippet may have multiple lines, but the result of the last line will be returned.
  • Syntax
  • assertNotEval(script, pattern)
  • Target
  • script - the JavaScript snippet to run
  • Value
  • pattern - result value
  • Return Value
  • Returns true if the pattern doesn't match the result of the JavaScript snippet.
 

Feedback and Knowledge Base