SWTBot Table Cell [message #634927] |
Mon, 25 October 2010 03:32  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03701 seconds