Skip to main content



      Home
Home » Eclipse Projects » SWTBot » Test of a cascase menu
Test of a cascase menu [message #6276] Mon, 08 December 2008 06:38 Go to next message
Eclipse UserFriend
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 08:20 Go to previous message
Eclipse UserFriend
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: Tue May 13 09:08:11 EDT 2025

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

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

Back to the top