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
Hi,

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

Any help is appreciated...

Regards
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: Fri Mar 29 09:56:04 GMT 2024

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

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

Back to the top