Table of Contents

Class InferredStep

Namespace
Cress.Recorder.Inference
Assembly
Cress.Recorder.dll

Intermediate representation of one inferred Cress flow step. This is the engine's output format; YAML serialization happens in R3.

public sealed record InferredStep : IEquatable<InferredStep>
Inheritance
InferredStep
Implements
Inherited Members

Properties

Key

Key name for PressKey.

public string? Key { get; init; }

Property Value

string

Kind

public required StepKind Kind { get; init; }

Property Value

StepKind

Locator

The element targeted by this step (null for WaitForWindow and PressKey).

public Locator? Locator { get; init; }

Property Value

Locator

NavigateUrl

Destination URL for Navigate steps (web recorder only).

public string? NavigateUrl { get; init; }

Property Value

string

SourceTimestamp

Timestamp of the source RecordedEvent — used for ordering.

public DateTime SourceTimestamp { get; init; }

Property Value

DateTime

Value

Expected / set value for AssertText and SetValue.

public string? Value { get; init; }

Property Value

string

WindowTitle

Expected window title for WaitForWindow.

public string? WindowTitle { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.