Skip to end of metadata
Go to start of metadata

FEST-Swing provides the class org.fest.swing.core.Settings to configure instances of org.fest.swing.core.Robot. Configuration options include scope of component look-ups, delays and timeouts for different actions, and many more.

The following example illustrates how to set the delay between generated events to 50 ms:

For more information about the available configuration settings (including defaults and valid values,) please see the Settings Javadoc documentation.

Note

Currently configuration settings can be set per Robot instance. Settings can be changed per test only. We consider that the provided default values are good enough for general GUI testing. So far, we have not provided a way to have general settings that can affect all instances of Robot in a test suite (e.g. a configuration file.) If you need global configuration settings, please drop us a line at our user group or file a bug at our issues page.

Labels