WorkShop Visual Replay Command Syntax - Keyboard Operations

WorkShop Visual Replay Command Syntax - Keyboard Operations


Keywords

Synopsis

    alt char
    ctrl char
    key keysym

Inputs

Description

Keyboard input is directed at the widget that has the focus. WorkShop Visual Replay does not require any extra programming to enter input from the keyboard.

Users and test scripts alike have to work with the window manager when entering text. Where explicit focus is in place (i.e. you have to click in a window to get the focus), you will have to program this into the test script.

Example

    in ApplicationShell
	alt f
	type o

    in open_file_popup
	multiclick selection_field
	type foo.xd
	push ok_button
	doubleclick my_text_field
	type hallo world
	key Return

Notes

A push or a doubleclick in a text field has the side effect of taking the focus. This is the only place in WorkShop Visual Replay that focus is handled directly.

Data entry into text fields often overrides what is already there, and will be preceded by a doubleclick or a multiclick.

See also: