PopupList Class

Description

PopupList is the class for popup lists.

Availability

This class is supported only on the Classic Agent.

Inheritance

PopupList class derives from the Control class; no classes derive from this class.

Identification of PopupList Items

Some PopupList methods let you specify items as either INTEGERs or STRINGs, in one of these ways:

  • A STRING, which can contain the wildcard characters question mark (?), to match any single character, and asterisk (*), to match zero or more characters
  • An INTEGER that represents the numerical index (1-based) of the item
  • A STRING of the form "#n", where n is the numerical index

Notes

When Silk Test Classic records a PopupList, it sees the list itself as a class/object and it sees the contents of the PopupList as items in that list. Silk Test Classic does not identify those items as separate classes/objects. To retrieve the items, use the methods and properties associated with the PopupList class.

Methods and Properties

In addition to the methods and properties it inherits from the AnyWin class and Control class, PopupList has the following methods and properties: