alt char ctrl char key keysym
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.
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
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: