ValueDifference

class ValueDifference

Represents a difference in a certain value between two elements after a change occured.

Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

ValueDifference

GetNewValue()

The value after the changed happened.

Returns:

The value after the change happened.

Return type:

str

GetOldValue()

The value before the change happened.

Returns:

The value before the change happened.

Return type:

str

GetValueName()

Returns the name of the value, e.g. ‘Description’. Values that come from a nested property will be flattened and result in names like e.g. ‘CaseNodes/0/Name’.

Returns:

The name of the value.

Return type:

str