Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to check checkbox in a table
How to check checkbox in a table [message #1006175] Wed, 30 January 2013 10:53 Go to next message
santosh Bhutkar is currently offline santosh BhutkarFriend
Messages: 8
Registered: December 2011
Junior Member
How to check the checkbox from table in screenshot
  • Attachment: checkbox.jpg
    (Size: 16.57KB, Downloaded 527 times)

[Updated on: Wed, 30 January 2013 10:53]

Report message to a moderator

Re: How to check checkbox in a table [message #1006600 is a reply to message #1006175] Fri, 01 February 2013 06:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

From the picture it looks like you are working with an RCP AUT, which would mean that the component depicted is an "SWT Tree" you can find modules to select the checkbox and check its selection in the "unbound modules SWT" library. Documentation is here.

HTH,
Alex
Re: How to check checkbox in a table [message #1006640 is a reply to message #1006600] Fri, 01 February 2013 10:02 Go to previous messageGo to next message
santosh Bhutkar is currently offline santosh BhutkarFriend
Messages: 8
Registered: December 2011
Junior Member
Hi,

I have tried the testcases for SWT tree but this is not tree.This is the Import wizard in the Eclipse.This wizard shows up in Import from File System.I have checked it with SWT SPY and it is showing it as table.
Re: How to check checkbox in a table [message #1007488 is a reply to message #1006640] Wed, 06 February 2013 07:20 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Ah, my bad Smile Sorry about that. To toggle the state of the checkbox, I have a feeling that you'll have to do one of two things:

- either use the select cell/ select value from column actions and use e.g. 5 percent and 5 percent as the places to click within the cell. That should be close enough to get the checkbox
- if you're only testing on windows systems, then you may be able to select the table row you want then hit "SPACE". IIRC that toggles the checkbox as well.

Hope that helps,
Alex
Re: How to check checkbox in a table [message #1007509 is a reply to message #1007488] Wed, 06 February 2013 09:00 Go to previous messageGo to next message
santosh Bhutkar is currently offline santosh BhutkarFriend
Messages: 8
Registered: December 2011
Junior Member
Space bar thing worked for me.
I have another question. edit-parts in RCP are identified by the class they are associated with (With inspector view).Can they be identified by their names on Figure canvas?

[Updated on: Wed, 06 February 2013 09:01]

Report message to a moderator

Re: How to check checkbox in a table [message #1007696 is a reply to message #1007509] Thu, 07 February 2013 07:59 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Santosh,

If you have separate questions (i.e. different topics), it's best to ask them in a new thread.

To answer your question - no, they are not identifiable by their name. You could write an extension that does that though I think.

Best regards,
Alex
Re: How to check checkbox in a table [message #1007720 is a reply to message #1007696] Thu, 07 February 2013 10:04 Go to previous messageGo to next message
santosh Bhutkar is currently offline santosh BhutkarFriend
Messages: 8
Registered: December 2011
Junior Member
Could you give me some guideline about how to identify the GEF components on canvas by their names.
Re: How to check checkbox in a table [message #1221821 is a reply to message #1007720] Wed, 18 December 2013 13:41 Go to previous messageGo to next message
louy koko is currently offline louy kokoFriend
Messages: 20
Registered: October 2013
Junior Member
Hallo Santosh,

I hope you can help me..

I have a RCP Project and I wanna verify if a checkBox is checked or not, if it is unchecked then check it. and if it is checked, then leave it.
The problem is these checkBox is inside a table. which is not recognized as checkbox.

I have read an answer from Alex to use the space button to check it. But first I would like to verify its status.

Any ideas or inputs will be highly appreciated.

Cheers
Louis
Re: How to check checkbox in a table [message #1224351 is a reply to message #1221821] Thu, 26 December 2013 12:41 Go to previous message
Alexander Kolesov is currently offline Alexander KolesovFriend
Messages: 43
Registered: November 2012
Member
Hi,
I suggect to check if your table is a TreeTable - in this case you'll be able to use SWT Tree keywords (unbound_modules_swt).
Otherwise - write your own extension that would return state of selected row.

Thanks,
Alex.
Previous Topic:How to configure database
Next Topic:Problem to extend existing tree component by new action
Goto Forum:
  


Current Time: Fri Mar 29 09:59:41 GMT 2024

Powered by FUDForum. Page generated in 0.04806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top