|
|
|
|
|
|
Re: AUT is shown under "Running AUTs" but won't start up [message #1243625 is a reply to message #1235377] |
Tue, 11 February 2014 08:09 |
Lars Friedland Messages: 8 Registered: January 2014 |
Junior Member |
|
|
Hey everyone,
so I finally figured out what caused my problem with Jubula.
In my AUT I needed some custom colors. So I declared them like the following example
Color red = new Color (display, 255, 0, 0);
Thinking I could use this colors like the "system colors" I wasn't disposing them. So every time I use a custom color I have to immediately dispose it and initialize it just before I need it. Otherwise it won't work with Jubula.
red = new Color (display, 255, 0, 0);
text.setForeground(red);
red.dispose();
I don't know why the AUT worked just fine when I executed it myself. But for some reason Jubula refuses to start the GUI of your AUT when you don't dispose your custom colors properly.
[Updated on: Tue, 11 February 2014 08:10] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04330 seconds