Waits for a specific child by ID

Namespace:  QAliber.Engine.Controls
Assembly:  QAliber.Engine (in QAliber.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public virtual UIControlBase WaitForControlByID(
	string id,
	int timeout
)
Visual Basic (Declaration)
Public Overridable Function WaitForControlByID ( _
	id As String, _
	timeout As Integer _
) As UIControlBase
Visual C++
public:
virtual UIControlBase^ WaitForControlByID(
	String^ id, 
	int timeout
)

Parameters

id
Type: System..::.String
The ID of the child control
timeout
Type: System..::.Int32
The maximum time (in miliseconds) to wait for the control

Return Value

If a child with the given name appears within timeout then the child is returned, if timeout is reached null is returned

See Also