Problem selecting a view menu item in the breakpoints view

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

Problem selecting a view menu item in the breakpoints view

Postby nortega » Fri Sep 11, 2009 9:17 am

I am trying to select group options in the breakpoints view. For this I use the Group By submenu.

bp_view_menu.JPG
bp_view_menu.JPG (22.24 KiB) Viewed 309 times

I am using this instruction to click on the option Group By/2 Breakpoint Types:
Code: Select all
ui.click(new PullDownMenuItemLocator("Group By/2 Breakpoint Types", new ViewLocator(IDebugUIConstants.ID_BREAKPOINT_VIEW)));

This works fine. However, when I try to click on Group By/1 Breakpoints, the following does not work:
Code: Select all
ui.click(new PullDownMenuItemLocator("Group By/1 Breakpoints", new ViewLocator(IDebugUIConstants.ID_BREAKPOINT_VIEW)));

If I am using the right path and the first instruction works I don't see why the second one would not. Any ideas?

Another thing I noticed is that when I use the recorder to click on Group By/1 Breakpoints I get this code:
Code: Select all
      IUIContext ui = getUI();
      ui.click(new CTabItemLocator("Breakpoints"));
      ui.click(new MenuItemLocator("Group By/2 Breakpoint Types"));
      ui.click(new MenuItemLocator("Group By/1 Breakpoints"));

However, when I try to use this it doesn't work.

Thanks.
nortega
 
Posts: 6
Joined: Wed Sep 09, 2009 11:07 am

Re: Problem selecting a view menu item in the breakpoints view

Postby Phil Quitslund » Fri Sep 11, 2009 9:20 am

Are you using a recent build? We have made some improvements to PulldownMenuItem recording and runtime support that might improve things for you. Let us know and we'll do some digging on our end.
--
Phil Quitslund
Software Engineer
Google, Inc.
Phil Quitslund
Moderator
 
Posts: 491
Joined: Fri Apr 28, 2006 6:26 am

Re: Problem selecting a view menu item in the breakpoints view

Postby nortega » Wed Sep 16, 2009 11:02 am

How do I get a more recent build? Would I have any licensing issues?
nortega
 
Posts: 6
Joined: Wed Sep 09, 2009 11:07 am

Re: Problem selecting a view menu item in the breakpoints view

Postby gnebling » Wed Sep 16, 2009 1:37 pm

nortega wrote:How do I get a more recent build?


The Latest Build is available from the product download page. You would want the 3.9.1 build on the left column.
http://www.instantiations.com/windowtes ... nload.html

nortega wrote:Would I have any licensing issues?

If your license support/maintenance period is current, there should be no problem.
gnebling
Moderator
 
Posts: 243
Joined: Tue Aug 22, 2006 7:49 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest