Interview Questions

Is this correct behavior for Silk or one of the idiosyncrasies of my non-standard windows ...

SilkTest Questions and Anwsers


(Continued from previous question...)

Is this correct behavior for Silk or one of the idiosyncrasies of my non-standard windows ...

77. When I extended the delay I noticed that Silk is a bit bizarre in the way it selects a sub menu item. For example, if you're selecting the first sub menu off the first menu item Silk drops down the menu, highlights the last item then back to the top and finally selects the sub item. Is this correct behavior for Silk or one of the idiosyncrasies of my non-standard windows app?


Answer1:
If I recall correctly, this behavior is a symptom of having changed the "Events used to invoke popup menus" string in the Agent Options/Other tab. Its default value is set to an unintuitive "<Button 2><Up><Down>". However, if you change it to "<Button 2><Down><Up>" it will perform as you describe.

Answer2:
If you select Options->Agent, then select the "Other" tab, you'll see a couple of checkboxes: "Pick menus before getting menu item information" and "Pick dropdowns before getting menu item information". I'm guessing that you have these checked by the behaviour you are describing. If you uncheck them, Silk won't check all of the menuitems before it does the Pick().

(Continued on next question...)

Other Interview Questions