Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How to click a checkbox inside a tree
How to click a checkbox inside a tree [message #547751] Mon, 19 July 2010 10:24 Go to next message
Victor  is currently offline Victor
Messages: 16
Registered: June 2010
Junior Member
Hi all,
I'm trying to click in a checkbox that is inside a tree.
I used the SpyView to verify that the widget is a tree. An image of the widget follows.

http://www.students.ic.unicamp.br/~ra064940/example5.JPG

when I access bot.tree(), i can't interact with a checkbox or retrieve bot(), like this: bot.tree().bot().

How can I access this checkbox?

Thanks.
Victor
Re: How to click a checkbox inside a tree [message #547781 is a reply to message #547751] Mon, 19 July 2010 11:27 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
Here you go: http://goo.gl/tqaM

--
Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot

On 7/19/10 7:24 AM, Victor wrote:
> Hi all,
> I'm trying to click in a checkbox that is inside a tree.
> I used the SpyView to verify that the widget is a tree. An image of the
> widget follows.
>
>
>
> when I access bot.tree(), i can't interact with a checkbox or retrieve
> bot(), like this: bot.tree().bot().
>
> How can I access this checkbox?
>
> Thanks.
> Victor
Re: How to click a checkbox inside a tree [message #547838 is a reply to message #547781] Mon, 19 July 2010 14:17 Go to previous message
Victor  is currently offline Victor
Messages: 16
Registered: June 2010
Junior Member
Thanks a lot Ketan.
It worked fine.

Previous Topic:Running SWTBot headless
Next Topic:SWTBot and SplashHandler
Goto Forum:
  


Current Time: Wed Jul 23 06:07:56 EDT 2014

Powered by FUDForum. Page generated in 0.02562 seconds