Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » can't access menu item with icon
can't access menu item with icon [message #909418] Fri, 07 September 2012 05:40 Go to next message
vishesh singhal is currently offline vishesh singhal
Messages: 4
Registered: September 2012
Junior Member
I am not able to access the menu item with a icon in it.

index.php/fa/11405/0/

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
  • Attachment: Untitledq.png
    (Size: 30.51KB, Downloaded 278 times)
Re: can't access menu item with icon [message #911212 is a reply to message #909418] Tue, 11 September 2012 07:31 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 765
Registered: July 2009
Location: Grenoble, France
Senior Member
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
Re: can't access menu item with icon [message #911269 is a reply to message #911212] Tue, 11 September 2012 09:17 Go to previous message
vishesh singhal is currently offline vishesh singhal
Messages: 4
Registered: September 2012
Junior Member
thanks for reply.I already got the problem,and it was not with swtbot.I have requested the moderator to close this post
Previous Topic:SWTBotEclipseEditor title and tooltip text
Next Topic:getting NoClassDefFound on resetWorkbench()
Goto Forum:
  


Current Time: Tue Oct 21 20:06:10 GMT 2014

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

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