Re: [SWTBot-users] Cannot automate login because its dialog blocks the start of JUnit

2009-07-17 Thread S. Winseth
r how to set my preferences programmatically (I tried this by overwriting the setUp() method in my Testclass, but this isn't executed until the application itself has started (see my mail from october))... Best regards, Stefan S. Winseth wrote: > > Hi, > > I have a very s

[SWTBot-users] Nebula: CDateTime Widget

2008-12-05 Thread S. Winseth
Hi, I'm trying to write some new test cases with swtbot 2.0. We now have a Nebula CDateTime Widget, that's opened by a Combo Button. How can I write a Matcher to get access to this widget? It wasn't necessary to do something like that for our tests, until now... so I don't know where to start!

Re: [SWTBot-users] Cannot automate login because its dialog blocks the start of JUnit

2008-09-30 Thread S. Winseth
Hi, I have a very similar issue with my application, with the difference that my Login Screen isn't 3rd party, but it's also blocking the tests. It's defined within the Application class and starts a jface.Dialog. After this dialog returns true, the workbench gets loaded and after that the tests

Re: [SWTBot-users] Running SWTBot Plugin Test from Ant

2008-09-30 Thread S. Winseth
at_gives.3F > > -- Ketan > > On 24-Sep-08, at 12:08 PM, S. Winseth wrote: > >> !ENTRY org.eclipse.ui.workbench 4 0 2008-09-23 16:33:46.139 >> !MESSAGE jfaceexplorer.View cannot be cast to >> org.eclipse.ui.ISelectionListener >> !STACK 0 >> java.lan

Re: [SWTBot-users] Running SWTBot Plugin Test from Ant

2008-09-23 Thread S. Winseth
Hi, I tried the example script from http://swtbot.org/bugzilla/show_bug.cgi?id=76 http://swtbot.org/bugzilla/show_bug.cgi?id=76 and the tests run correctly, but when the tested plugin closes I get an exception which I don't know how to deal with (see attachment, 'jfaceexplorer' is the name of my