Skip to main content



      Home
Home » Eclipse Projects » SWTBot » DropDownMenu in Table(How to access DropDownMenu in a Table )
DropDownMenu in Table [message #846609] Mon, 16 April 2012 04:29 Go to next message
Eclipse UserFriend
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 10:28 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 00:59:58 EDT 2025

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

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

Back to the top