Click or drag to resize

IObjectTreeNode.WaitProperty Method (String, Object, Int32)

Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
bool WaitProperty(
	string propertyName,
	Object propertyValue,
	int timeout
)

Parameters

propertyName
Type: System.String
The property name.
propertyValue
Type: System.Object
The property value.
timeout
Type: System.Int32
The time limit.

Return Value

Type: Boolean
True if the specified property equals the specified value; else, false.
Exceptions
ExceptionCondition
InvocationExceptionWill be thrown if invocation fails.
WebExceptionWill be thrown if there are network problems.
See Also