Hi 

I've got this code (in JRuby):

 Swt.bot.shell("Redcar").bot.menu("File")

and this works when the test window is focussed, but fails to find the widget 
if it is not focussed. Is there a way to make this work with the window in the 
background?

(It'd be nice to be able to run tests in the background, since they take quite 
a long time).

Strangely, this part Swt.bot.shell("Redcar") does return an object and then 
.bot does return a bot, so its *seems* to be finding the Shell ok. Just then 
not the menu. 

I'm on OSX Lion if it matters

thanks
Dan

__________________________
Daniel Lucraft

danlucraft.com/blog
twitter.com/danlucraft

_______________________________________________
swtbot-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to