How can we improve Silk Test?

Add a method or an option to handle menus by menu item text like TestPartner where the full path of the menu item as it appears on the menu

Add a method or an option to handle menus by menu item text like TestPartner where the full path of the menu item as it appears on the menu is specified as input.

Ex:
Window TestWindow;
TestWindow.MenuSelect("View~Toolbars~File");

Behavior:

This should walk the Window’s menu and select each menu item specified in the menu text. This should work across all types of windows including Win32, FormsWindow, and even Infragistics Menus.

Justification:

1. We currently have over 14,000 TestPartner Test Cases written this way.

2. Silk’s current mechanisms for handling menus do not provide a fool proof method for performing menu selects. The entire Menu Path is not taken into consideration and will click on the wrong item if a menu item with the same text exists in a preceding sub menu (For instance, if “View~Other Windows~File” exists before “View~Toolbars~File"). Infragistics menus are currently unsupported and we rely on TextClick, which will click on the wrong item if a preceding menu item is a sub string of the specified menu item for example.

17 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Chris shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base