background image
<< Setting the Timeout Value for TE_type | VuGen Help menu >>
<< Setting the Timeout Value for TE_type | VuGen Help menu >>

Setting the Typing Style

RTE Vuser Scripts · Recording RTE Vuser Scripts
Creating Vuser Scripts
Chapter 15, page 277
Setting the Typing Style
You can set two typing styles for RTE Vusers: FAST and HUMAN. In the FAST style,
the Vuser types input into the terminal emulator as quickly as possible. In the
HUMAN style, the Vuser pauses after typing each character. In this way, the Vuser
more closely emulates a human user typing at the keyboard.
You set the typing style using the TE_typing_style function. The syntax of the
TE_typing_style function is:
int TE_typing_style (char *
style
);
where
style
can be FAST or HUMAN. The default typing style is HUMAN.
If you select the HUMAN typing style, the format is:
HUMAN,
delay
[,
first_delay
]
The
delay
indicates the interval (in milliseconds) between keystrokes. The
optional parameter
first_delay
indicates the wait (in milliseconds) before typing the
first character in the string. For example,
TE_typing_style ("HUMAN, 100, 500");
TE_type ("ABC");