Skip to main content

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 13:18 Go to next message
Muninder Kumar is currently offline Muninder KumarFriend
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 08:43 Go to previous message
Martin Schemel is currently offline Martin SchemelFriend
Messages: 6
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: Tue Nov 20 05:21:59 GMT 2018

Powered by FUDForum. Page generated in 0.01424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top