Property¶
- class Property¶
- 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:
- GetDefaultValue()¶
Returns the property’s default value.
- Returns:
The default value
- Return type:
str
- See:
- GetDisplayName()¶
Returns the display name of the property.
- Returns:
The display name of the property
- Return type:
str
-
GetDomain(allowOnlineQuery=
False)¶ Returns the domain of allowed values of this property.
Some properties need to partially connect the tool they belong to in order to determine possible values. Use the parameter
allowOnlineQueryto allow that. If you don’t, you might get a dummy entry “<online query>” instead of the actual values.- Parameters:
- allowOnlineQuery : bool¶
Onlineabfrage zulassen
- Returns:
List of valid values
- Return type:
list[str]
- GetName()¶
Returns the internal name of the property.
- Returns:
The name of the property
- Return type:
str
- GetValue()¶
Returns the used property value, which is either the configured value or the default value, in case the property is not set.
- Returns:
The configured value of the property, or the default value if not set
- Return type:
str
- See:
- GetValueType()¶
Returns the value type of this property.
- Returns:
Value type of this property
- Return type:
str
- IsReadOnly()¶
Returns whether the property is read-only.
- Returns:
Property is read-only?
- Return type:
boolean
- Unset()¶
Specifies that the property is set to its default value.