Cross-platform (Linux-Windows) RCP testing [message #1717483] |
Mon, 14 December 2015 10:44 |
Luca Da Rin Fioretto Messages: 8 Registered: November 2015 |
Junior Member |
|
|
Hello everyone,
I'm testing a RCP application, all the UI elements I have mapped in Jubula have been mapped on a Linux system (running the Linux version of the RCP application).
Now when I try to use the same test database to launch the tests on Windows (running the Windows version of the RCP application) the buttons results mapped "incorrectly" as the arrangement of some buttons in dialog boxes differs between Linux and Windows, that's probably due to how the SWT module builds the UI in a "per OS" manner.
For instance, the following images shows the difference between Windows and Linux arrangements respectively:
The following image shows Jubula's Object Mapper when capturing the "Debug" button on Linux:
And when capturing the "Debug" and "Close" buttons, respectively, on Windows:
As you can see from the images, the buttons result "swapped" on Windows in respect to Linux. So when I run tests on Windows, Jubula clicks on the "wrong" button, in this case, Jubula will click on the "Close" button instead of "Debug" and vice-versa.
What would be the best approach to overcome this issue?
Thank you.
[Updated on: Mon, 14 December 2015 10:46] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04269 seconds