| How to best handle button that has different locations depending on OS [message #723914] |
Fri, 09 September 2011 17:00  |
Eclipse User |
|
|
|
Hello, I'm new to Jubula and I have run into my first problem. I'm hoping someone here may help me find the best solution possible.
I've recorded a test case that basically creates and launches a debug configuration (In Eclipse->Run/Debug Configurations...).
The problem I'm having is that the "Debug" button appears in different locations depending on the OS (Windows 7 and Ubuntu 11.04).
In Windows, the button appears to the left of the "Close" button and in Ubuntu it appears to the right.
When I execute the test case in Windows it works fine but under Ubuntu the "Close" button is clicked instead of "Debug".
To work around the problem, I created a test case that first checks the button's text and then clicks it and added an event handler that breaks execution if the check fails and clicks on the other button. The solution works but is not very practical as the text check will always fails (red mark in test result) under Ubuntu.
Is there a better way?
Thanks
Victor.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds