Automated testing: 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.
If you are testing a proof file that wasn't collected by a Hypersync, such as a CSV file, you may need to edit the field definitions for that file and set the data type for each field. See Editing the field definitions for a test file.
When you configure an automated control test, you can test fields with the following 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) NoteCSV date fields must be in ISO 8601 date and time format. Example: 2018-09-12T09:06:00Z If the date format is incorrect, an error similar to the following is generated: | 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)