|Re: Send directly keyboard events [message #623618 is a reply to message #558584]
||Tue, 21 September 2010 22:26
| Ketan Padegaonkar
Registered: July 2009
On 9/13/10 8:12 AM, Mickael Istria wrote:|
> I am wondering whether there is a way in SWTBot API to create keyboard
> events such as a Ctrl-C or a Esc key pressed ?
> I could not find anything like this in the API...
Try one of the variants of widget.pressShortcut()
There's a lot of convenience keys defined in swtbot's Keystrokes class.
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr
Powered by FUDForum
. Page generated in 0.01657 seconds