HtmlControlCallMethodT Method (String, T)

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Call a client side Javascript method on this HtmlControl with return type of T and a default return value.

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 CallMethod<T>(
	string methodCall,
	T defaultValue
)

Parameters

methodCall
Type: SystemString
The method call string.
defaultValue
Type: T
A default value to use in case the conversion failed to the specified type and you want to return a custom default value other than default(T).

Type Parameters

T
The type to convert the return value of the method call to.

Return Value

Type: T
The return value of the call or the default value.
See Also

Reference