HtmlControlSetValueT Method (String, T, Boolean)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Set a property value. (e.g. control.border = 2 or control.style.backgroundColor = "red") myControl.SetValue<string>("style.backgroundColor","red")

Namespace:  ArtOfTest.WebAii.Controls.HtmlControls
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public virtual void SetValue<T>(
	string propertyName,
	T value,
	bool isJsWrappedObject
)

Parameters

propertyName
Type: SystemString
The property name.
value
Type: T
The value to set.
isJsWrappedObject
Type: SystemBoolean
Whether the property is a JsWrappedObject. Specific to Firefox.

Type Parameters

T
The type of the property.
Examples

myControl.SetValue<string>("style.backgroundColor","red")
See Also

Reference