Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Injecting an object in a Context in SWTBot test
Injecting an object in a Context in SWTBot test [message #1716488] Fri, 04 December 2015 10:46
Kasper M.Friend
Messages: 15
Registered: September 2014
Junior Member
Dear Eclipse experts,
I've a simple swtbot test working good.

Short Question:
- I'd like to inject an object so that I can use it from an handler.

More Detailed Description:
- For one specific test case I'd like to test a feature by calling the handler directly (and not "clicking" through SWTBot) ... to do this I need to inject an object into the handler.

How can I get the context from my test and inject my object so that will be visible from the handler?

that would help a lot Smile

thanks in advance.
-- Kasper
Previous Topic:Testing Nebula's Nat Table functionality through SWTBot.
Next Topic:How to Access a Tree inside a CTab?
Goto Forum:
  


Current Time: Wed Apr 24 23:28:17 GMT 2024

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

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

Back to the top