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.SWT
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public SWTPattern Add(
string name,
Object value
)
Public Function Add (
name As String,
value As Object
) As SWTPattern
Dim instance As SWTPattern
Dim name As String
Dim value As Object
Dim returnValue As SWTPattern
returnValue = instance.Add(name, value)
public:
SWTPattern^ Add(
String^ name,
Object^ value
)
Parameters
- name
- Type: SystemString
The property name - value
- Type: SystemObject
The property value
Return Value
Type:
SWTPatternThe search pattern object.
See Also