Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Nebula Grid and SWTBot(Support for Nebula Grid in SWTBot)
Nebula Grid and SWTBot [message #1737619] Mon, 11 July 2016 10:50 Go to next message
Michaela Homzova is currently offline Michaela HomzovaFriend
Messages: 1
Registered: July 2016
Junior Member
Currently, we have a problem, that we need to test an application, which contains Nebula Grid. We are using SWTBot. I knew, that in SWTBot is included support for testing Nebula Nattable and Gallery. Does anybody has the same problem? Or, even better, does anybody has a solution?

Thanks
Re: Nebula Grid and SWTBot [message #1737676 is a reply to message #1737619] Mon, 11 July 2016 21:07 Go to previous message
Patrick Tasse is currently offline Patrick TasseFriend
Messages: 54
Registered: July 2009
Member
Hi Michaela,

Support for Nebula widgets has to be implemented as separate features in SWTBot. It hasn't been done yet for Nebula Grid, but if you want to contribute the feature we will be happy to review it.

Otherwise you will have to handle it as a special case in your test code.

You might be able to get a reference to your Grid widget with:

viewBot.bot().widget(WidgetOfType.widgetOfType(Grid.class))


and from then on you can access the Grid widget's API from within a UIThreadRunnable.syncExec().

But then if you figure out how to use the API for SWTBot tests, you might as well contribute it back to the project... Smile

Best regards,
Patrick
Previous Topic:Open SWTBot test Recorder with custom RCP application
Next Topic:Unable to access Toolbar View Menu
Goto Forum:
  


Current Time: Mon Sep 24 11:06:20 GMT 2018

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

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

Back to the top