combo box error

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

combo box error

Postby dray » Wed Aug 23, 2006 7:15 am

I have a RCP application. It has a combo box with the list of states. When I select a state it populates a tableviewer. At this point when I play what I have recorded, the application tries to exit. When I exit , I get the following stack trace.

java.lang.reflect.InvocationTargetException
at junit.extensions.UITestCase$4.run(UITestCase.java:582)
Caused by: java.lang.AssertionError: Not able to select correct index for Combo: Colorado != Wyoming
at com.windowtester.event.selector.swt.ComboSelector.verifySelection(ComboSelector.java:43)
at com.windowtester.event.selector.swt.ComboSelector.click(ComboSelector.java:31)
at com.windowtester.event.selector.swt.BasicWidgetSelector.click(BasicWidgetSelector.java:119)
at com.windowtester.event.swt.UIDriver.click(UIDriver.java:223)
at com.windowtester.swt.UIContext.click(UIContext.java:261)
at com.windowtester.swt.UIContext.click(UIContext.java:269)
at my_Test.test1.testMain(test1.java:24)
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.extensions.UITestCase.access$5(UITestCase.java:1)
at junit.extensions.UITestCase$4.run(UITestCase.java:530)
I am not sure what the problem is. I will highly appreciate any help.
Thanks
dray
 
Posts: 1
Joined: Tue Aug 22, 2006 7:21 am

Postby Phil Quitslund » Wed Aug 23, 2006 8:17 am

This looks like a bug that we hope to have just fixed. Could you try our next beta (available 8/24)?

If the problem persists, please send a report to support:

wintest-support@instantiations.com

and we'll work on reproducing and fixing the issue.

Thanks!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest