Skip to content

Tag: <testNe> - Test for Not Equal To

Definition

The <testNe> tag is used to check the current value of a named parameter is NOT equal to a given string. This is not a Regular Expression.

To use a Regular Expression check see the <testRe> tag here: Tag: <testre>

This tag has the following attributes:

Parameters

  • name (str) : The name of the parameter whose current value is to be checked.

  • value (str) : This is the string that is compared to. This has to be an exact match and IS case sensitive.

Example

To perform a specific command only when the access token (with the parameter name of accesstoken) of a given account is NOT readonly, you would use the following:

1
2
3
4
5
   <command>...
      <conditions>
         <testNe name='accesstoken' value='readonly'/>
      </conditions>
   </command>

Parent Tags

Child Tags

  • None