Hello,
I am new to both JAVA and WindowTester Pro, so please excuse any greenness while explaining my problem.
Some years ago ANSI C and C++ was my profession, hence OOP is not alien for me.
Ok, now to my problem:
I do not succeed in starting the record function in Window Tester Pro when "miglayout" (net.miginfocom.swt.MigLayout) is used.
To make it as simple as possible I created a new workspace (test2) and went through the tutorial "Generating a SWT Test". I could start the application with the "record" button and saved my test case.
Running that test case also succeeded after using the hints described in viewtopic.php?f=5&t=5078.
Now I add miglayout-3.7.3-swt.jar into my classpath and change the file "AddressBookUI.java" as follows:
- import net.miginfocom.swt.MigLayout;
- new MigLayout();
The second line is located in "public static void main" just after "final Button newButton = new Button(....".
I attached the logs to this post (errorlog.txt).
As soon as I click on the "Record" button the recording controle appears for half a second and disappears then. I switched in the preferences to Recorder UI Mode "Classic Recorder" to get any output. There I can see that an exception is thrown.
Why do I get an "java.lang.ClassNotFoundException: net.miginfocom.swt.MigLayout" exception?
Is there any incompatibility known here?
Thanks in advance,
Göksel