Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Test of a cascase menu
Test of a cascase menu [message #6276] Mon, 08 December 2008 11:38 Go to next message
Brice Laurel is currently offline Brice LaurelFriend
Messages: 72
Registered: July 2009
Member
Hi list,

I test a RCP application and I access to a cascade menu. This application
is shown as
File
New > anything
Close

When I do bot.menu("File").menu("Close").click(); the application shuts
down normally.
When I do bot.menu("File").menu("New").click(); there are no exception
But when I do bot.menu("File").menu("New").menu("anything").click(); an
widgetNotFoundException is caught. I think is becasue "New" is a cascade
menu

Please what instructions can I use to resolve my problem?

Thanks for help.
Re: Test of a cascase menu [message #7544 is a reply to message #6276] Mon, 08 December 2008 13:20 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
The only way to figure this out is to use turn on logging to figure out
what's wrong.

-- Ketan

On 8/12/08 17:08, Brice Laurel wrote:
> Hi list,
>
> I test a RCP application and I access to a cascade menu. This
> application is shown as
> File
> New > anything
> Close
>
> When I do bot.menu("File").menu("Close").click(); the application shuts
> down normally.
> When I do bot.menu("File").menu("New").click(); there are no exception
> But when I do bot.menu("File").menu("New").menu("anything").click(); an
> widgetNotFoundException is caught. I think is becasue "New" is a cascade
> menu
>
> Please what instructions can I use to resolve my problem?
>
> Thanks for help.
>
Previous Topic:components testing by swtbot 2.0
Next Topic:Using SWTBot to wait for a dialog to display
Goto Forum:
  


Current Time: Fri Apr 26 23:29:42 GMT 2024

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

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

Back to the top