I am running a Junit test case on my eclipse application that was built using SWT. I am doing GUI testing using SWTBot. So, here is my problem:
editor.bot().button("Make Excel Template").click();
This code helps me generate a template in my application. Once done, it throws up a Modal Dialog with "OK" as a message. However, I can't get...
Hello! :-)
I'm beginning to use the swtbot to test my reccent eclipse rcp projekt. A specific editor is opened multiple times in my application and want to count how often the editor is opened.
How can i do that using swtbot?
Thanks! :-)
...
and I'm not sure why...
Hello Everbody! I'm trying to make my first steps with SWTBot. I'm trying to test an Eclipse RCP Application.
In one test i'm trying to call a command to save a dirty editor. But an assertion after the call, tells me that the editor is still dirty. An the data in the dirty editor is not showing up in the databas...
Hi,
i have editable JFace TableViewer with ComboBoxCellEditor.
How can i select some value in the combo by the SWTBot?
With SWT Spy i found that combo in ComboBoxCellEditor is not actually swt Combo, but Text field with button and after expansion it creates list with values on the fly.
I tried clicking, doubleclicking but it did't work...
I've written up a GUI test using SWTBot to test the Extract Method refactoring. I use editor.selectRange() to select a statement to extract into a method. But, when I run the unit test, the Extract Method refactoring menu item is disabled. Thus, SWTBot fails to invoke the refactoring.
The whole project containing the above unit test is ...
I have a command line window open in windows that I run a specific ant command from, this ant command will then call upon SWTBot a simple task but once my Eclipse program opens the command line window is still in the foreground and keeps focus, thus making my SWTBot test fail. Anyone have any idea why this is happening? There are some o...