Editar

Compartir a través de


CustomTestField interface

A custom field information. Allowed Key : Value pairs - ( AttemptId: int value, IsTestResultFlaky: bool)

Properties

fieldName

Name of the Custom Test Field

value
  1. If the CustomTestField is registered as Bit data type, value should be sent as case insensitive string - either "true" or "false". 2. If the CustomTestField is registered as Datetime data type, value should be sent as string in the format of "YYYY-MM-DD hh:mm:ss" 3. If the CustomTestField is registered as Int data type, value should be sent as string representation of 32 bit signed integer. Ex: "5". 4. If the CustomTestField is registered as Float data type, value should be sent as string for example "4.237" 5. If the CustomTestField is registered as String data type, Any string up to 1kB is accepted. 6. If the CustomTestField is registered as Guid, value should be sent as case insensitive string representation of GUID in usual format "XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX" where X can be either number 0-9 or letter A-F. For example "f88d6b84-3549-4af0-a4f4-58139cd0a14f".

Property Details

fieldName

Name of the Custom Test Field

fieldName: string

Property Value

string

value

  1. If the CustomTestField is registered as Bit data type, value should be sent as case insensitive string - either "true" or "false". 2. If the CustomTestField is registered as Datetime data type, value should be sent as string in the format of "YYYY-MM-DD hh:mm:ss" 3. If the CustomTestField is registered as Int data type, value should be sent as string representation of 32 bit signed integer. Ex: "5". 4. If the CustomTestField is registered as Float data type, value should be sent as string for example "4.237" 5. If the CustomTestField is registered as String data type, Any string up to 1kB is accepted. 6. If the CustomTestField is registered as Guid, value should be sent as case insensitive string representation of GUID in usual format "XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXX" where X can be either number 0-9 or letter A-F. For example "f88d6b84-3549-4af0-a4f4-58139cd0a14f".
value: any

Property Value

any