Click or drag to resize

WebElementPatternAdd Method

Adds a custom property to the search pattern and returns the pattern object. You can explore your tested application in the TestLeft UI Spy to choose the appropriate property and value.

Namespace:  SmartBear.TestLeft.TestObjects.Web
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
public WebElementPattern Add(
	string name,
	Object value
)

Parameters

name
Type: SystemString
The property name
value
Type: SystemObject
The property value

Return Value

Type: WebElementPattern
The search pattern object.
See Also