Skip to main content

Automated testing: Hypersync proof fields and operators

If you create a test case that compares two fields, those fields must be the same data type. For example, if you select a date as the first field, only date fields are available in the drop-down list when you select the second field.

When you configure an automated control test you can test fields with the following data types and operators.

Table 17. Automated control test - Field data types and operators

Test field data type

Operators

Text - A text field

is empty

is not empty

contains

does not contain

is equal to

is not equal to

matches regular expression

does not match regular expression

Number - A number value

is empty

is not empty

is equal to

is not equal to

is less than

is less than or equal to

is greater than

is greater than or equal to

Date - A date (day precision)

is empty

is not empty

is equal to

is not equal to

is before

is after

is less than [X] days from now

is more than [X] days ago

Boolean - A true or false value

is empty

is not empty

is true

is false



Unique circumstances for Google Cloud Platform and Google Workspace Platform proof types

If you are building automated control tests for Google Cloud Platform and Google Workspace Platform proof types, keep in mind that some field values are implemented as booleans (true or false values) in Hyperproof. The fields and associated values are as follows:

2-Step Verification Enrollment

  • True (Enrolled)

  • False (Not enrolled)

2-Step Verification Enhancement

  • True (Enforced)

  • False (Not Enforced)

User Account Status

  • True (Active)

  • False (Suspended)

Admin Status

  • True (Super admin)

  • False (None)

Less Secure Apps Access

  • True (Allowed)

  • False (Denied)