Eclipse Community Forums
Forum Search:

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

[Updated on: Wed, 30 January 2013 05: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 01:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 760
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 05:02 Go to previous messageGo to next message
santosh Bhutkar is currently offline santosh Bhutkar
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 02:20 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 760
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 04:00 Go to previous messageGo to next message
santosh Bhutkar is currently offline santosh Bhutkar
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 04: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 02:59 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra Schladebeck
Messages: 760
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 05:04 Go to previous message
santosh Bhutkar is currently offline santosh Bhutkar
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.
Previous Topic:Why jubula could not check multiple text in my textbox ?
Next Topic:Unsupported / Addn. Keyboard Layout
Goto Forum:
  


Current Time: Tue Jun 18 02:27:12 EDT 2013

Powered by FUDForum. Page generated in 0.01661 seconds