Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot Table Cell(status of a cell in table)
SWTBot Table Cell [message #634927] Mon, 25 October 2010 07:32 Go to next message
benhu Missing name is currently offline benhu Missing nameFriend
Messages: 14
Registered: October 2010
Junior Member

Hello,
I have been writing a test case with SWTBot, I can get a table like this:
SWTBotTable table = bot.tableWithLabel("table1");
I got two problems:
1) I want to to check whether the cell(1,1) is enabled.
How can i do this?
2) How can i get the ComboBox in a cell?


Thanks,
Ben

Re: SWTBot Table Cell [message #635079 is a reply to message #634927] Mon, 25 October 2010 15:00 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi,

Seems very similar to this test<http://goo.gl/SZSj> that looks for a
text box when you click on a cell :)

Basically you'd get swtbot to click on the correct table cell, and ask
it to find a combobox instead of a textbox like the test does.

--
Ketan
ketan.padegaonkar.name | eclipse.org/swtbot | @ketanpkr

On 10/25/10 12:32 AM, benhu wrote:
> Hello,
> I have been writing a test case with SWTBot, I can get a table like this:
> SWTBotTable table = bot.tableWithLabel("table1");
> I got two problems:
> 1) I want to to check whether the cell(1,1) is enabled.
> How can i do this? 2) How can i get the ComboBox in a cell?
>
>
> Thanks,
> Ben
>
Previous Topic:How to map 3 or more keys to KeyStroke
Next Topic:SWTBot with Fitnesse
Goto Forum:
  


Current Time: Thu Apr 25 04:39:06 GMT 2024

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

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

Back to the top