Waits for a specific child by name

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 WaitForControlByName(
	string name,
	int timeout
)
Visual Basic (Declaration)
Public Overridable Function WaitForControlByName ( _
	name As String, _
	timeout As Integer _
) As UIControlBase
Visual C++
public:
virtual UIControlBase^ WaitForControlByName(
	String^ name, 
	int timeout
)

Parameters

name
Type: System..::.String
The name 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