Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] swtbot-dev Digest, Vol 60, Issue 2

For easier/faster discussion on mailing-list, you should subscribe to direct notifications, and not to digests.

On 12/18/2013 12:10 PM, melwyn jensen wrote:
Can someone please comment on the usage of metacity --sm-disable --replace &? which is given in http://wiki.eclipse.org/SWTBot/Automate_test_execution#On_Jenkins
I can see that the swtbot testcases fails with widgetnotfound exception if metacity (windows manager) is not started but I am curious that this the reason for the problem. Is there anyother Windows manager we can use for swtbot? If so can you please provide an example for the usage?
The Window Manager is necessary to get SWTBot working, especially when it comes to menus. If you don't have it, some widgets that are generally delegated to the Window Manger simply won't be accessible.
You can use any Window Manager you know it's working. Some example include unity (Ubuntu only), twm, fvwm... But metacity or unity are by far the most usual window managers, so that's why it's recommanded to use one of them. Metacity is available on almost all Linux distributions.
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top