HtmlRadioList Class

Description

HtmlRadioList is the class for a radio list in a Web application.

Availability

This functionality is supported only if you are using the Classic Agent.

Inheritance

The HtmlRadioList class is derived from the RadioList class.

Methods

HtmlRadioList inherits all its methods from the AnyWin class, the Control class, and the RadioList class.

Properties

HtmlRadioList inherits all its properties from the AnyWin class, the Control class, and the RadioList class.

Notes

To check the visibility of an HtmlRadioList, you must call IsVisible() for the individual HtmlRadioButtons. To temporarily treat a radio list as individual buttons, use the Agent option: OPT_RADIO_LIST=FALSE.

For example:

	[ ] withoptions BindAgentOption(OPT_RADIO_LIST, FALSE) 
	[-] for each wHtmlRadioButton in <the radio list>
		[ ] Print(wHtmlRadioButton.IsVisible ())

In order to determine how to identify the individual radio buttons, you can set the option on the Compatibility tab of the Agent Options dialog box, record window declarations, then reset the option.

By default, Silk Test Classic issues API clicks instead of Agent-based clicks for HtmlRadioList with the Select method. See API Click versus Agent Click for more information.