<field-set>

The <field-set> element sets the value of a detail screen field. The contents of the field specify the value to be set. The attributes name or label are used to specify which field to set. Other attributes can be used to set the value of the field to its defined special value, to check or uncheck a check box field, to select or deselect a radio button field, or to set just a portion of a date, time, date and time, or duration field. This element is used to set the value of most fields, regardless of field type. Other elements exist to allow for setting field values but should only be employed in less common situations. For most testing purposes the <field-set> element is sufficient. It is the element inserted into a test script generated by the Test Script Recorder within the Agentry Test Environment.

Structure

Contains:
  • Text - The value to which the field will be set.
Contained By:
  • <script>
Attributes
Name Description Data Type Default Value Required
special This attribute specifies whether the field should be set to its defined special value. The value t is true and the field will be set to its defined special value. The value f is false. Boolean f No
part This attribute specifies the portion of the field to set. This attribute is only valid for fields with an edit type of Date, Time, Date and Time, or Duration. Valid values for this attribute include:
  • year
  • month
  • day
  • hours
  • minutes
  • seconds
string none Required for date, time, and duration fields. Otherwise ignored.
checked This attribute specifies whether or not to check or select a field with an edit type of Button that is either a check box or radio button. The value t is true and will check or select the box or radio button. The f is false and will uncheck or deselect the button field. Boolean f Required for Button fields of type radio or check box. Otherwise ignored.
common field attributes This element includes the following common field attributes:
  • name
  • label
  • id
N/A N/A N/A
common script attributes A set of related attributes common to most elements within the Agentry Test Script. N/A N/A N/A