Check behavior for tree items

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

Check behavior for tree items

Postby Steffen8708 » Fri Jan 09, 2009 2:38 am

Hi,

the line

Code: Select all
ui.click(1, new TreeItemLocator(WT.CHECK, "any item"));


should check a tree item and it does. But it seems that it doesn't if the tree item is existing and is not visible in the current excerpt the tree widget is showing (i.e. when scrolling down, the item would appear). Moreover, no exception is thrown although the tree item was not checked. For instance, this issue occurs when I want to checkmark multiple tree items of the same parent item, which has a number of items and therefore not all items are visible in the widget. Is there some code on scrolling in tree to the item to check?

Best regards,
Steffen
Steffen8708
 
Posts: 29
Joined: Tue Nov 04, 2008 7:11 am

Re: Check behavior for tree items

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

Another good catch. This looks like an issue that deserves research. Could you submit a bug report? (wintest-support@instantiations.com) We'll have to start with a local reproduction of the issue so if you have any snippets that will help that will speed things along.

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