The attribute that specifies the term(s) to use for the control search.

Example

In the both following examples some-input is the term that is used for the control search:

[FindById("some-input")]
public TextInput<_> FirstName { get; private set; }
[FindById]
[Term("some-input")]
public TextInput<_> FirstName { get; private set; }

Parameters

TermCase

termCase

The term case.

TermMatch

match

The match.

params string[]

values

The term values.

Properties

public string

Format { get; set; }

Gets or sets the format.

public bool

CutEnding { get; set; }

Gets or sets a value indicating whether the name should be cut considering the IgnoreNameEndings property value of [ControlDefinition] and [PageObjectDefinition] attributes. The default value is true.