Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBOT - Insert Key(How to simulate Insert Key button press using SWTBOT)
SWTBOT - Insert Key [message #1171767] Tue, 05 November 2013 08:18 Go to next message
Muninder Kumar is currently offline Muninder Kumar
Messages: 1
Registered: November 2013
Junior Member

Is there any way to simulate Insert Key button press in SWTBOT. doesn't have the INSERT Key Handling..
tried overriding it as well didn't help..

Any help is appreciated...

Re: SWTBOT - Insert Key [message #1173040 is a reply to message #1171767] Wed, 06 November 2013 03:43 Go to previous message
Martin Schemel is currently offline Martin Schemel
Messages: 4
Registered: November 2013
Location: Berlin
Junior Member
I guess what you're looking for is

KeyStroke insertKey = KeyStroke.getInstance(SWT.INSERT);

for example

new SWTWorkbenchBot().text().pressShortcut(KeyStroke.getInstance(SWT.INSERT));
Previous Topic:Apllication Not responding
Next Topic:Run test from jenkins
Goto Forum:

Current Time: Fri Aug 22 11:52:04 EDT 2014

Powered by FUDForum. Page generated in 0.02136 seconds