There is no "select" method like in this code example:
bot.comboWithLabel("Label for combo:").select("some selection")
I think Ketan meant the method "setSelection" which you used with success.
--- On Tue, 10/7/08, blackle <[EMAIL PROTECTED]> wrote:
From: blackle <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] How to access Combo Box in SWTBot
To: swtbot-users@lists.sourceforge.net
Date: Tuesday, October 7, 2008, 10:03 AM
Hi Ketan,
I tried this code but "Widget Not Found Error comes"
But This code work fine:
bot.comboBoxWithLabel(" Label name ").setSelection(" item
");
Ketan Padegaonkar-2 wrote:
>
> Sheetal,
>
> Most of the API is provided by the SWTBot class. So you should be able
> to do something like:
>
> bot.comboWithLabel("Label for combo:").select("some
selection")
>
>
> On 02-Oct-08, at 1:52 PM, Sheetal Singh wrote:
>
>> Hi All
>>
>> Can anybody infom me how to access combo box using SWTBot.
>> Like there is a Label and below that there is a combo box.
>>
>> waiting 4 ur response.
>>
>> --
>> Sheetal Singh
>> Technical Member Staff
>> Techblue Softwares Pvt. Ltd.
>> Together we achieve the extraordinary!
>>
>
>
> -------------------------------------------------------------------------
> 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
>
>
>
--
View this message in context:
http://www.nabble.com/How-to-access-Combo-Box-in-SWTBot-tp19817616p19858741.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
-------------------------------------------------------------------------
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