WorkShop Visual Replay Command Syntax - Text Entry

WorkShop Visual Replay Command Syntax - Text Entry


Keywords

Synopsis

    type text
    key keysym
    doubleclick textwidget
    multiclick textwidget

Inputs

Description

Most text widgets in an application are used for single line data entry (for example the selection fields in a File Selection Box). WorkShop Visual Replay allows testers to replace the default content of the field with a known value and then check the consequences.

type enters text into a text widget. doubleclick and multiclick program word and line selection respectively. multiclick is most commonly used in test scripts, when you want to replace the contents of the text field, regardless of how many words there are on the line.

Examples

    in form_attr_dialog_popup
	doubleclick formHorizSpacingField
	type 100

    in coreDialog
	multiclick title_t
	type My Dialog Title

Notes

There is a limit of 512 characters to the length of a line which can be handled by WorkShop Visual Replay. In you want to enter a text string whose length exceeds this limit, split the text and type in each section.

WorkShop Visual Replay works around a problem in some versions of Motif where triple-click is not properly handled in XmTextField widgets. In these circumstances, if your script contains multiclick, it will be converted to doubleclick.

See also: