Property Sheet help needed...

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

Property Sheet help needed...

Postby jeremyweber » Tue Feb 03, 2009 4:18 pm

Ive been at this for more than day with no real break throughs. At the simplest level:


Code: Select all
ui.click(new ComboItemLocator("Create a new process service...",
            new ViewLocator("org.eclipse.ui.views.PropertySheet")));


results in

Code: Select all
com.windowtester.runtime.WidgetNotFoundException: Widget NOT Found:
ComboItemLocator("Create a new process service...", ViewLocator [org.eclipse.ui.views.PropertySheet])
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:608)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.internal.UIContextSWT.find(UIContextSWT.java:583)
   at com.windowtester.runtime.swt.locator.ComboItemLocator.click(ComboItemLocator.java:71)
   at com.windowtester.internal.runtime.selector.ClickHelper.doClick(ClickHelper.java:178)
   at com.windowtester.internal.runtime.selector.ClickHelper.click(ClickHelper.java:65)
   at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:82)
   at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:296)
   at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:75)
   at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:304)
   at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:68)
   at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:287)
   at sandbox.jeremy.testStart(jeremy.java:65)
   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:585)
   at junit.framework.TestCase.runTest(TestCase.java:164)
   at junit.framework.TestCase.runBare(TestCase.java:130)
   at com.windowtester.runtime.common.UITestCaseCommon.access$001(UITestCaseCommon.java:25)
   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)



Any help would be appreciated.
jeremyweber
 
Posts: 10
Joined: Wed Jun 11, 2008 3:48 am

Re: Property Sheet help needed...

Postby Phil Quitslund » Thu Feb 05, 2009 9:24 am

Hi Jeremy,

Sorry for the slow replies on these. We're looking for an example tabbed property sheet to work samples against.

Does the first example (http://dev.eclipse.org/viewcvs/index.cg ... es.tabbed/) here:

http://www.eclipse.org/articles/Article ... _view.html

feel right?

Moving forward, it would probably be best to direct this as a report sent to:

wintest-support@instantiations.com

Thanks!

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

Re: Property Sheet help needed...

Postby jeremyweber » Thu Feb 05, 2009 10:07 am

Yes those links appear to be right...
jeremyweber
 
Posts: 10
Joined: Wed Jun 11, 2008 3:48 am

Re: Property Sheet help needed...

Postby Phil Quitslund » Thu Feb 05, 2009 12:51 pm

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

Re: Property Sheet help needed...

Postby 3061 » Mon Mar 09, 2009 6:47 am

Jeremy, maybe the workaround here can help you:

viewtopic.php?f=5&t=2450
3061
 
Posts: 42
Joined: Mon Feb 23, 2009 12:43 am

Re: Property Sheet help needed...

Postby Phil Quitslund » Mon Mar 09, 2009 8:07 am

Yes, I'm curious too if the workaround gets you unblocked. We've got Property Tab support on our short list... but in the meantime, I hope this gets you moving. Please let us know!
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: Property Sheet help needed...

Postby kasmit4 » Tue May 04, 2010 9:39 am

Support for the tabbed propertysheet has been on your "short list" for over a year. Will it be available soon?
kasmit4
 
Posts: 1
Joined: Tue May 04, 2010 9:37 am

Re: Property Sheet help needed...

Postby Phil Quitslund » Wed May 05, 2010 2:20 pm

Aha good point. The trouble with short lists is that they keep getting longer... :( Unfortunately this feature is a bit tricky to get "right" and keeps getting pre-empted. I wish I could give you a clearer picture of when this will be officially promised but at the moment I can't. In the meantime, have you tried the suggestions here?:

http://www.instantiations.com/forum/viewtopic.php?f=5&t=2450

Thanks for giving this topic a kick.
--
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