Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » DropDownMenu in Table(How to access DropDownMenu in a Table )
DropDownMenu in Table [message #846609] Mon, 16 April 2012 08:29 Go to next message
Stefan Weiser is currently offline Stefan WeiserFriend
Messages: 41
Registered: February 2012
Member
Hi!

I've got a table with, to which I've got access as SWTBotTable. The cells of one column are of type DropDown, which can be called with table.click(row, column).

But I don't know, how I can read out the possible values of the dropdown or how I can select 1 item of the list.

SWTBotTable table = getSWTBotTable();
table.click(row, COLUMN_NATIONALITY);
// ???


I hope for some helping comments. Thx.
Re: DropDownMenu in Table [message #896739 is a reply to message #846609] Thu, 19 July 2012 14:28 Go to previous message
Christoph Zwirello is currently offline Christoph ZwirelloFriend
Messages: 8
Registered: July 2012
Junior Member
hi Stefan,

in case you still need an answer: please tell us what you mean by "DropDown". Which Java class does that correspond to?

In case you are trying to modify an objects properties via the property view, then the drop down menu that you get after a click on the cell would be of type CCombo and you could access it like that:

bot.ccomboBox()

can you visually verify that you actually click into a cell, thereby activating the cells editor?

regards,
chris
Previous Topic:SWT.Virtual
Next Topic:Upcoming testing event: Eclipse Testing Day 2012
Goto Forum:
  


Current Time: Sat Nov 29 00:18:30 GMT 2014

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

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