Search code examples
eclipserefactoringswtgui-testingswtbot

How can I properly select a radio button using SWTBot?


I'd like to use SWTBot to configure and invoke the encapsulate field refactoring. The problem is that the refactoring ignores a radio button selection. I've created a minimal project that demonstrates this problem and opened an issue to describe the problem in detail.


Solution

  • I found the workaround in Eclipse bug 344484 . See my commit for how I fixed the problem.