HtmlControlGetValueT Method (String)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Get a property value (e.g. control.border or control.style.backgroundColor).

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

public virtual T GetValue<T>(
	string propertyName
)

Parameters

propertyName
Type: SystemString
The property name.

Type Parameters

T
The type of the property.

Return Value

Type: T
The value of the property or default(T) if the value of the property cannot be retrieved or converted to type T.
Remarks

The property is retrieved by executing Javascript on the client side using the specified property name as the Javascript function.
Examples

string s = myControl.GetValue<string>("style.backgroundColor")
See Also

Reference