March 27, 2018
Mouse Clicks & Key Press Using Testmate
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /home/pkq2w3icktox/public_html/wp-content/plugins/wp-syntax/wp-syntax.php on line 383
Testmate allows you to simulate keystrokes and mouse clicks as below:
Mouse Click
1 2 | 'Perform mouse click on the entered x and y co ordinates Call native.MouseClick(5,5) |
Mouse Right Click
1 2 | 'Perform right mouse click on the entered x and y co ordinates Call native.MouseClickRight(5,25) |
Perform KeyPress
1 2 3 | 'Perform keypress on the passed virtual key '0x14 - Caps Lock Call native.KeyPress("0x14") |
Perform KeyDown
1 2 3 | 'Perform key down on the passed virtual key '0x14 - Caps Lock Call native.KeyDown("0x14") |
Perform KeyUp
1 2 3 | 'Perform key up on the passed virtual key '0x14 - Caps Lock Call native.Keyup("0x14") |
List of all the virtual keys can be found here.