Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Unable to Enter Text in a Tree Cell
Unable to Enter Text in a Tree Cell [message #1020628] Mon, 18 March 2013 11:44
pawan garia is currently offline pawan garia
Messages: 24
Registered: February 2013
Junior Member
I have a Shell, In which i have Tree(SWTBotTree) which is In Table Format.
I want to click on a particular Cell and Enter Text inside the Text Field Enabled after the click.
After Clicking the Cell and Entering the Text, When i am clicking the Next Cell the Text in the Previous Cell get Disappeared.
Here is MY code..........

SWTBotTreeItem[] items =  bot.tree().getAllItems();
 for(SWTBotTreeItem ii : items )
          SWTBotText text = bot.text();
          text.setText("NEw TExt"); // set the text
          SWTBotText text = bot.text();
          text.setText("NExt TExt"); // set the text
Previous Topic:Unable to identify/Click On Shell
Next Topic:SWTBot: issue while using headless
Goto Forum:

Current Time: Wed Jul 23 10:02:15 EDT 2014

Powered by FUDForum. Page generated in 0.01677 seconds