<columnheader>

The <columnheader> element verifies the label displayed on a column header in a list. This element is contained in a <list-expect> element and, when present must contain a <text> element. The contents of the <text> element is the text expected to be in the label of the column header. This element can be used to verify header labels for columns in the list control of a list screen or the columns in a detail screen field with an edit type of List View. If the header of the specified column does not match the contents of the <text> element the or if the specified column cannot be found a script error is thrown. The column to verify is specified using the <columnheader> attribute column.

Structure

Contains:
  • <text>
Contained By:
  • <list-expect>
Attributes
Name Description Data Type Default Value Required
column This attribute can specify the column header to be verified as a part of the parent <list-expect> element processing. The contents of this attribute is either the column header label or the column index, with the left-most column at position 1. string none No