ListItemLocator finds items not in list

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

ListItemLocator finds items not in list

Postby Steffen8708 » Wed Jan 07, 2009 1:36 am


i have a list (swt widget) with only one item contained. All asserts like

ui.assertThat(new ListItemLocator("any string").isVisible(false));

fail with a timed out exception although "any string" is not contained in the list. It seems that the locator finds the item regardless of the given name. When i use the same name for the click-method it fails too with the reason that the item can not be found. IMO this is a wrong behavior, isn't it?

Posts: 29
Joined: Tue Nov 04, 2008 7:11 am

Re: ListItemLocator finds items not in list

Postby Phil Quitslund » Tue Jan 13, 2009 11:07 am

Hmmmm... Good catch. That does not seem right. Could you submit this as a bug report? (

Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
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