1

What I tried so far: SWTBot and WindowTester.

My problem with SWTBot is that I can click into an edit field, but I can't type into it. I looked up this issue in google and it looks like that SWTBot does not have this feature implemented.

With WindowTester I had other problems: SWTWidgetLocator is working with texts so if I have a button with no text just image, I can not click it.

Thus on the whole I'm looking for either a workaround to the problems I mentioned above or a tool which does not have these shortcomings.

I'm working in an Eclipse RCP enviroment.

Adam Arold
  • 29,285
  • 22
  • 112
  • 207
  • Possible duplicate of http://stackoverflow.com/questions/6342119/how-do-we-test-our-java-ui/6342256 – Kai Aug 10 '11 at 08:27
  • Not a duplicate, because this is SWT UI tesing in Eclipse RCP environment. – Adam Arold Aug 10 '11 at 09:26
  • If you can change the code, the workaround for your WindowTester problem is to explicitly set the `name` field of the widget -- this can then be used by WindowTester to identify the appropriate widget. – avandeursen Dec 22 '11 at 15:08

1 Answers1

3

Check if Jubula or GUIdancer works for you.

Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327