Hi Paulin,

My replies inline.

On 16-Jun-08, at 7:45 AM, Paulin wrote:

> I'm starting to play with SWT Bot and so far have found it to have  
> some nice features.   However all the things I try to do I run into  
> a wall and can't get passed.  I think its just because I haven't  
> quite figured it out but here is a short list of what I'm stuck on.

There could be two reasons: a valid bug or API which does not exist :)

> 1. How can I use a bot to just simulate a key press.  I.E.  Command  
> keys to make menus act, or a return key when in a text field.
> 2. How do I access views menu (not the context menu)

There's no API for this in the current version of SWTBot. Please file  
a feature request for this on http://swtbot.org/bugzilla. It's easier  
for me and you to track progress on new things on Bugzilla.

> 3. When calling a menu  
> (bot.menu("Edit").menu("Preferences...").click()) it works fine, but  
> when doing bot.menu("WIndow").menu("Other...").click() it doesn't  
> find Other...  I know the menu is there as I can see it on the  
> screen with that name.

This seems like a bug. Are you able to reproduce this with the latest  
version nightly of SWTBot available from 
http://swtbot.sourceforge.net/artifacts/trunk/ 
  ?

If you're able to reproduce this, would it be possible for you to  
attach a screenshot of the menu bar and a stack trace on the bugzilla ?

Do file individual feature/bug requests for all the above. It helps me  
track things better by ensuring that stuff does not slip my mind.

> Thanks for the help and pointing in the right direction.
> steve

-- Ketan

PS: You need to subscribe to the list in order to post. Subscribe  
here: https://lists.sourceforge.net/lists/listinfo/swtbot-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to