Skip to main content



      Home
Home » Eclipse Projects » SWTBot » SWTBot Table Cell(status of a cell in table)
SWTBot Table Cell [message #634927] Mon, 25 October 2010 03:32 Go to next message
Eclipse UserFriend
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 11:00 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 15:19:48 EDT 2025

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

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

Back to the top