Hello
I have tried to click Labeled Text Locator using below code.. While running test case it is throwing IllegalStateException. also It is telling something about license. But i have got approved license from instantiations. What is really happening.
Snippets:-
ui.click(new LabeledTextLocator("ShortName*"));
java.lang.IllegalStateException:
************************************************
This installation of WindowTester is not properly licensed.
To activate WindowTester on this machine:
1) Launch the Eclipse IDE with WindowTester on this machine
2) Select Window > Preferences to open the Preferences dialog
3) Select the WindowTester preference page
4) Click on the "Registration and Activation" button
5) Follow the instructions in the Activation wizard
************************************************
Licenses found:
HardwareAddress[****************]
SerialNumber[WindowTesterSWT-****************]
ActivationKey[WindowTesterSWT-***************]
************************************************
at com.windowtester.internal.swing.UIContextSwing.handleConditions(UIContextSwing.java:347)
at com.windowtester.internal.swing.UIContextSwing.click(UIContextSwing.java:71)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:326)
at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:80)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:337)
at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:73)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:299)
at Testing.Character.testChangeCharDataTypeAttributes(Character.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at com.windowtester.runtime.common.UITestCaseCommon.access$0(UITestCaseCommon.java:1)
at com.windowtester.runtime.common.UITestCaseCommon$2.run(UITestCaseCommon.java:136)
at com.windowtester.runtime.common.UITestCaseCommon$3.run(UITestCaseCommon.java:157)
at com.windowtester.internal.runtime.junit.core.SequenceRunner$1.run(SequenceRunner.java:46)