Decrement Method (UpDown)

Class

UpDown.

Action

Decreases the position value of the up/down control.

Availability

This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.

Syntax

updown.Decrement ([iAmount])
Variable Description
iAmount Optional: The amount to decrement. INTEGER.

Notes

Decrement clicks the up-down control's Down button iAmount times. Decrement does not verify that the clicks change the value of the control. To decrement the up/down control to a specific value and verify that it reaches that value, use SetPosition.

Example

MyDialog.UpDown1.Decrement()