Settings - Simulation

Keyboard

You can find the following setting under Project->Settings->Simulation->Keyboard.

Keyboard input delay

Description

When you use a control which accepts text input, there is a delay between the time you click on the control and the time you can start entering text. With this setting, you can specify the delay in milliseconds (ms). The default value is 150.

Increase the delay if the first characters you enter in the control are missing. Reduce the delay to wait less between clicking on the control and entering text.

Example

150

Use keyboard layout

Description

This setting is of particular relevance to users who would like to send text inputs to virtual machines or Citrix systems, but SENDKEYS or TEXTINPUT commands do however not work.

If the setting is enabled, Tosca uses the current keyboard layout, for instance for the expressions TEXTINPUT, KEYPRESS, KEYUP and KEYDOWN.

Example

False

Instead of using the global setting, you can apply the functionality to individual objects.

To do so, create the test configuration parameter UseKeyboardLayout and set it to True.

Test configuration parameter UseKeyboardLayout

Test configuration parameters and steering params overwrite the global setting of the Settings dialog.

Mouse

You can find the following setting under Project->Settings->Simulation->Mouse.

Mouse delay

Description

This setting defines the speed for the cursor when performing tests on HTML applications. The default value 20.

The higher the value, the slower is the pace. Possible values are between 0 and 1000.

Example

20

Instead of using the global setting, you can apply the functionality to individual objects.

To do so, create the test configuration parameter MouseDelay and set it to a value between 0 and 1000.

Test configuration parameters and steering params overwrite the global setting of the Settings dialog.