here's a workaround
do a bot.getDisplay.getShells();
this will give you the entire array of visible shells. you can then scan
through the array and find the shell with the text you want.
you can then activate that particular shell by calling something like new
swtbotShell(foundShell).activate();
HTH.
On Tue, Oct 7, 2008 at 1:14 AM, Richard Adams <[EMAIL PROTECTED]>wrote:
> Hi Veneet,
> I think this is probably the same reason as I had with with the File
> Open dialog ( see a few posts ago) - if it's a native dialog then
> swtbot doesn't recognize it.
> If it's just an OK confirm dialog then you can just ignore it.
>
> Richard
>
> >
> > Hi guys,
> >
> > i am facing aproblem with the Message Box in my application
> > on the Click of the Submit button on a shell
> > A message Box opens up with an Ok button option
> >
> > But when i write
> > bot.shell("title of message box").activate();
> >
> >
> > it throws an Exception that it could not find the Message Box
> >
> > Any solutions on this
> >
> >
> > thx in advance
> >
> > bye!
> > --
> > View this message in context:
> >
> http://www.nabble.com/I-am-Stuck-on--Message-Box%21%21%21-tp19852606p19852606.html
> > Sent from the SWTBot Users List mailing list archive at Nabble.com.
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > 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
> >
> >
> >
>
>
>
> --
> Dr Richard Adams
> Senior Software Developer,
> Computational Systems Biology Group,
> University of Edinburgh
> Tel: 0131 650 8281
> email : [EMAIL PROTECTED]
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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