SWTBotRadio method click() doesn't work properly [message #1424811] |
Tue, 16 September 2014 12:56 |
pascale prost Messages: 2 Registered: November 2013 |
Junior Member |
|
|
I am using Eclipse CDT Kepler SR2 (4.3.2) and SWTBot 2.2.2 on Windows 7.
My tests contain a SWTBotRadio.click()call which does not work. The problem seem to be known (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=344484), and I tried to implement the suggested patch with deselectDefaultSelection method. The "deselection" works fine (I can see it happening on the screen), but when calling SWTBotRadio.click(), new radio button is selected and just after previously selected radio button is selected again.
I have also tried to implement the suggested patch in SWTBotRadio.click() method, but the result is the same : previously selected radio button remains selected (the default selection in fact), new selection is discarded.
If I run the application "manually", everything works fine.
Any advice is welcome, I cannot go further with my tests and it is very frustrating...
|
|
|
Powered by
FUDForum. Page generated in 0.01736 seconds