NotInContextVerification

Not in context verification is a script that executes the given command and verifies that the specified field is not in the context after execution.

javascript · Common Scripts

Details

IDNotInContextVerification
Languagejavascript
From Version5.0.0
TagsUtility

README

Executes the given command and verifies that the specified field is not in the context after execution.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
cmdToRun The command or automation script to execute each while loop iteration.
cmdArguments The comma-separated list of command/automation arguments and values to run. For example, “key=val,key=val,key=val”.
keyToWatch The key to watch, if it is equal to value argument (${key}==value) then exit while loop, otherwise continue to the next loop iteration. The command will then run again.

Outputs


There are no outputs for this script.

commonfields:
  id: NotInContextVerification
  version: -1
name: NotInContextVerification
script: ''
type: javascript
tags:
- Utility
comment: "Not in context verification is a script that executes the given command\
  \ and verifies that the specified field is not in the context after execution. \n"
enabled: true
args:
- name: cmdToRun
  required: true
  default: true
  description: Command or Automation script to execute each while loop iteration.
- name: cmdArguments
  required: true
  description: 'A comma separated list of command/automation arguments and values
    to run: key=val,key=val,key=val'
- name: keyToWatch
  required: true
  description: Watch this key, if it is equal to value argument (${key}==value) then
    exit while loop, otherwise continue to next loop iteration (will run command again).
scripttarget: 0
timeout: 900ns
fromversion: 5.0.0
tests:
- No tests (auto formatted)