HtmlTextField Class

Description

HtmlTextField is the class for text field controls in a Web application.

Availability

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

Inheritance

The HtmlTextField class is derived from the TextField class.

Notes

Although HtmlTextField inherits methods from the TextField class, HtmlTextField does not support the method SetSelRange.

HtmlTextField is limited to 255 characters for the DOM extension.

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

Properties

HtmlTextField inherits all its properties from the AnyWin class, the Control class, and the TextField class.

Example

The Order Quantity column on the Online Catalog page in the GMO Web application contains HtmlTextField controls.

Methods

In addition to the methods HtmlTextField inherits from the AnyWin class, the Control class, and the TextField class, HtmlTextField also supports the following method: