|
Re: can't access menu item with icon [message #911212 is a reply to message #909418] |
Tue, 11 September 2012 07:31 |
|
Hi,
This is for sure not related to the icon. I have lots of tests using
menus with icons, and they work well.
However, I generally don't use this intermediary ".click", can you try
bot.menu("Search").menu("File...").click() ?
On 09/07/2012 07:41 AM, vishesh singhal wrote:
> I am not able to access the menu item with a icon in it.
>
>
>
> in this image SWTBot can't access File... as it has icon before it
>
> I am using this code
>
> bot.menu("Search").click().menu("File...").click();
>
>
> please help
>
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
|
|
|
|
Powered by
FUDForum. Page generated in 0.03743 seconds