Help to Click on SWT Element [message #1230385] |
Sat, 11 January 2014 16:39  |
Eclipse User |
|
|
|
Hello, I have a problem to run a test with SWTBot and I need some help.
I need to fill in two fields using SWTBot, but when I run the application it fills the first "Name (*)" and "Attibutes (*)" is inserted overlapping the "Name (*)" field, the field is "Attibutes" never being completed.
How do I solve this problem? This interface is attached.
Thank you for your cooperation.
PS: Sorry for my english, I'm still learning.
bot.comboBox("select observer type").setSelection(type);
bot.button("New").click();
bot.waitUntil(Conditions.shellIsActive("TerraME GIMS :: Observer TextScreen"));
SWTBotShell shell = bot.shell("TerraME GIMS :: Observer TextScreen");
shell.activate();
bot.textWithLabel("Name (*)").setText(observer);
bot.textWithLabel("Attibutes (*)").setText(attributes);
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05218 seconds