java.lang.IllegalStateException

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

java.lang.IllegalStateException

Postby richa.sud » Wed Mar 28, 2007 3:08 am

While trying to replay a JUnit test case , created using WindowTester, i am getting the following exception now, i am working on evaluation version, which is still in activation period.

I tried to run this as JUnit test and not as JUnit Plug-in test. The application that i am testing is a SWT standalone application.



java.lang.IllegalStateException: This installation of WindowTester is not properly licensed.
Please Make Sure Your Product is Activated (use the "Registration and Activation" button in the WindowTester Preferences).
at com.windowtester.runtime.swt.internal.UIContextSWT.handleConditions(UIContextSWT.java:572)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:209)
at propcoofficetest5.testMain(propcoofficetest5.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.extensions.UITestCaseCommon.access$1(UITestCaseCommon.java:1)
at junit.extensions.UITestCaseCommon$1.run(UITestCaseCommon.java:140)
at junit.extensions.core.SequenceRunner$1.run(SequenceRunner.java:69)

Any help will be appreciated. Thanks.
richa.sud
 
Posts: 9
Joined: Tue Mar 20, 2007 4:41 am

Postby gnebling » Wed Mar 28, 2007 2:08 pm

What version and build date are you using?
What is your Eclipse version?
What evaluation license do you have - RCP Developer or WindowTester?
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am

Postby richa.sud » Wed Mar 28, 2007 9:12 pm

Hi Gnebling !

I am using RCP Developer 2.5.1 Beta version and i downloaded it on 23rd Mar 2007. and its version details are as follows:

version: 2.0.1 [20070320090501] for eclipse 3.1

And My Eclipse version is 3.1.0.

I first installed WindowTester but then installed RCP Developer. During installation of RCP Developer, i allowed the installer to overrite the files that were already existing. Therefore , currently i have RCP Developer's licence.

Thanks
richa.sud
 
Posts: 9
Joined: Tue Mar 20, 2007 4:41 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest