|
|
|
Re: How to get texts inside Shell ??? [message #542426 is a reply to message #542414] |
Thu, 24 June 2010 14:43  |
Eclipse User |
|
|
|
If the message is displayed in a label:
String message = bot.shell("Shell title").label().getText();
If the label is not the first label in the shell, you may need to
provide additional information to find the label:
label(index) or labelInGroup()
--
Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot
On 6/24/10 11:20 AM, Caio Bulgarelli wrote:
> OK !!!
>
> It worked! Thanks...
>
>
> But... this works when I already know what message will appears.
>
> Fine!
>
> However... How Can I capture a unknow message? I mean... a "dynamic"
> message?
>
> Like this (EXAMPLE)
>
> String s = bot.shel("NAME_of_SHELL").get????.getText();
>
> Is it possible?
|
|
|
Powered by
FUDForum. Page generated in 0.03997 seconds