Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Context menu in project explorer view.(How to get right click menu option in project explorer view.)
Context menu in project explorer view. [message #1419987] Tue, 09 September 2014 10:47 Go to next message
Aparajita K is currently offline Aparajita KFriend
Messages: 7
Registered: August 2014
Junior Member
I want the context menus by right click on project explorer without having any project in the explorer.(i.e without selecting any project just on right click of the view).

Re: Context menu in project explorer view. [message #1421402 is a reply to message #1419987] Thu, 11 September 2014 10:16 Go to previous message
pawan garia is currently offline pawan gariaFriend
Messages: 39
Registered: February 2013
Hi You can use this"File").menu("New").menu("Project...").click();

This is the same thing as doing from the Explorer .

Or what you can do is

SWTBotTree Currenttree = TreeViewWidgetBot.getTree("Project Explorer");
Currenttree.contextMenu("New").contextMenu(Project ..).click();
Previous Topic:How to get failed test cases in the middle.
Next Topic:How to wait until next label is visible
Goto Forum:

Current Time: Wed Feb 01 17:03:46 GMT 2023

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

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

Back to the top