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
Hi,
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
Member
Hi You can use this

bot.menu("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: Thu Apr 25 22:58:05 GMT 2024

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

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

Back to the top