HtmlRadioButton is the class for an HTML radio button in a Web application.
Availability
This functionality is supported only if you are using the Classic Agent.
Inheritance
The
HtmlRadioButton class is derived from the
RadioButton class.
Properties
HtmlRadioButton inherits all its properties from the
AnyWin class, the
Control class, and the
RadioButton class.
Notes
To check the visibility of an
HtmlRadioList, you must call
IsVisible() for the individual
HtmlRadioButton class.
By default,
Silk Test Classic issues API clicks instead of Agent-based clicks for
HtmlRadioButton with the
Click method. See
API Click versus Agent Click for more information.
Methods
In addition to the methods
HtmlRadioButton inherits from the
AnyWin class, the
Control class, and the
RadioButton class,
HtmlRadioButton has the following methods:
DoClick Method
Calls the browser’s Click() method, instead of simulating a physical mouse click.
ExecMethod Method
Runs a JavaScript method or property on an object.
IsVisible Function
Tests whether an object is visible—that is, it has not been designated as a hidden object.