Skip to main content

Data

Bound datasets table lists the datasets bound to the case. Datasets can be created in Datasets of the collection. A log or payload document requires an extraction, which is opened by clicking on its row.

Preview of Data in Case Editor

The table contains the following columns:

Bounded data columns in Data
  1. #, the index of a rows dataset, or doc for a document.
  2. Dataset, the name of the dataset and its origin (e.g., from a collection or retrieved during the run).
  3. Kind, the type and its detail.
  4. Used As, the reference that reads the dataset or the number of captures for a document.

Bind Another Dataset​

Another dataset can be bound by selecting an available dataset from the dropdown list and clicking on + Bind Another Dataset.

'Bind Another Dataset' row in Data

Changes take place only after clicking on Save.

'Save' button in Data

Remove Dataset​

A bound dataset can be removed by clicking on the trashcan icon at the end of its row.

'Remove' icon in Data

Changes take place only after clicking on Save.

'Save' button in Data

Extraction​

Show Extraction on a document opens the extraction panel. Each capture finds one entry in the log and saves a value from it as {{doc.name}}. The value is used in Assertions or Compare.

Extraction in Data
  1. Save As, the name of the capture.
  2. Entry Contains, the text that identifies the log entry.
  3. If Several Match, the behaviour when more than one entry matches. For example, Must be only one.
  4. Read Value As, how the value is parsed. For example, JSON field.
  5. Where, the field to read. For example, payload.
  6. On the sample, the result of the capture when tested against sample text. A dash (-) indicates that it has not been tested.

A capture can be added by clicking on + Add Capture.

'Add Extraction' button in Data

To evaluate a capture against sample text, users can click on Try Captures on Sample. Sample text can be supplied from Paste Sampled Text.

'Try Captures on Sample' and 'Paste Sampled Text' button in Data

Log Format​

Log Format describes how the log is read:

  1. File is, the file format. For example, Plain text.
  2. Character set, the encoding. For example, UTF-8.
  3. One log entry is, the extent of an entry. For example, One line.
Log Format in Data