set Tree CheckBox

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

set Tree CheckBox

Postby Ali Anwar » Wed Mar 31, 2010 11:12 pm

Following code is not working as expected. It clicks on the tree item Types instead of checkbox. I also recorded it and played the recording but same result was produced.

ui.wait(new ShellShowingCondition("Preferences (Filtered)"));
ui.click(new TreeItemLocator(WT.CHECK, "Types", new LabeledLocator(
Tree.class, "Select the symbols to show:")));
ui.click(new ButtonLocator("OK"));
ui.wait(new ShellDisposedCondition("Preferences (Filtered)"));
Ali Anwar
 
Posts: 8
Joined: Wed Dec 02, 2009 9:31 pm

Re: set Tree CheckBox

Postby Phil Quitslund » Thu Apr 01, 2010 9:25 am

Thanks for the report.

What version of WindowTester are you using?
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: set Tree CheckBox

Postby Ali Anwar » Thu Apr 01, 2010 9:40 pm

Product: WindowTester SWT Professional
Version: 5.0.0.r35x201003231757
Ali Anwar
 
Posts: 8
Joined: Wed Dec 02, 2009 9:31 pm

Re: set Tree CheckBox

Postby Phil Quitslund » Tue Apr 06, 2010 1:21 pm

Have you submitted a bug report? If not, please send one to wintest-support@instantiations.com so we can track the fix.

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