Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » VMWare and SWTBotView(Unable to find widgets for a SWTBotView when running with no console)
VMWare and SWTBotView [message #652421] Thu, 03 February 2011 20:15 Go to next message
Barry Dresdner is currently offline Barry DresdnerFriend
Messages: 75
Registered: July 2009
Member
Hi, I am running nightly SWTBot tests on a VMWare machine with no console. Everything runs fine until I attemt to check widgets within a SWTBotView.

If I run with a console, it wroks perfectly.

I am doing the following:

SWTBotView myView = bot.viewById(MY_VIEW_ID);
SWTBot viewBot = myView.bot();

SWTBotTree rmyTree = viewBot.tree();

SWTBotTreeItem myItem1 = tree.getTreeItem("myItem1");

SWTBotTreeItem myItem2 = myItem1 .getNode("myItem2");

I get a WidgetNotFoundException on the last call.

Any assistance would be greatly appreciated.

thanks - Barry
Re: VMWare and SWTBotView [message #652585 is a reply to message #652421] Fri, 04 February 2011 15:39 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
I had documented this here: http://wiki.eclipse.org/SWTBot/CI_Server

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr


On 2/3/11 12:15 PM, Barry Dresdner wrote:
> Hi, I am running nightly SWTBot tests on a VMWare machine with no
> console. Everything runs fine until I attemt to check widgets within a
> SWTBotView.
> If I run with a console, it wroks perfectly.
>
> I am doing the following:
>
> SWTBotView myView = bot.viewById(MY_VIEW_ID);
> SWTBot viewBot = myView.bot();
>
> SWTBotTree rmyTree = viewBot.tree();
>
> SWTBotTreeItem myItem1 = tree.getTreeItem("myItem1");
>
> SWTBotTreeItem myItem2 = myItem1 .getNode("myItem2");
>
> I get a WidgetNotFoundException on the last call.
>
> Any assistance would be greatly appreciated.
>
> thanks - Barry
Re: VMWare and SWTBotView [message #652586 is a reply to message #652585] Fri, 04 February 2011 15:59 Go to previous message
Barry Dresdner is currently offline Barry DresdnerFriend
Messages: 75
Registered: July 2009
Member
Thank you. That is very helpful.
Previous Topic:SWTBotGefConnectionEditPart Move
Next Topic:Right way to set keyboard layout
Goto Forum:
  


Current Time: Fri Apr 26 02:26:38 GMT 2024

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

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

Back to the top