Click or drag to resize

WebElementPatternObjectLabel Property

The label or text of the sought-for object. Check this value in the TestLeft UI Spy panel before setting it in your test. By default, TestLeft searches for the exact match. To mark variable parts, use wildcards (* or ?) or specify regular expressions (regexp:...).

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
public string ObjectLabel { get; set; }

Property Value

Type: String
Remarks
The property value depends on the web element type:
ElementProperty Value
Button objectsThe button's caption.
Fieldset objectsThe text of the child Legend object.
ASP.NET controls and Sencha ExtJS objectsThe object's native property that specifies the label or placeholder text.
Other web elementsThe label element associated with the sought-for element.
See Also