Skip to content

assertExpression (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command is useful for JavaScript preprocessing. It compares two expressions and returns the value whether it is true or false.
  • If the pattern does not match with the pattern which we get from the UI, it aborts the execution.
  • Syntax
  • assertExpression(expression, pattern)
  • Target
  • expression
  • Value
  • pattern
  • Return Value
  • Returns true or false
 

Feedback and Knowledge Base