Programmatically open start menu in desktop

  1. #1

    Programmatically open start menu in desktop

    Is it possible to open the start menu (click the start button and view the menu) programmatically? I'm trying to write automated tests using nightwatch (selenium helper) and I can confirm that the start button exists by looking for the ux-start-button class but it doesn't seem to recognize that the button exists when I click it. I have been able to get it to work with an older version of the extjs framework (http://dev.sencha.com/deploy/ext-4.0...p/desktop.html)
  2. #2
    I was able to programmatically open the StartMenu using the following command:

    Example

    Ext.ComponentQuery.query('button[text=Start]')[0].showMenu()
    There might be a cleaner way to get an instance of the "Start" Button, although I was unable to find in the api.

    Hope this helps.
    Last edited by geoffrey.mcgill; Mar 30, 2014 at 3:05 PM.
    Geoffrey McGill
    Founder
  3. #3
    Awesome, that worked. Thanks!

Similar Threads

  1. [CLOSED] Changing the text and Icon of the start menu desktop control
    By SymSure in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 23, 2012, 1:45 PM
  2. Replies: 1
    Last Post: Oct 22, 2012, 10:52 AM
  3. Desktop Start Button
    By Dominik in forum 1.x Help
    Replies: 3
    Last Post: Oct 22, 2012, 10:51 AM
  4. Replies: 8
    Last Post: Jul 29, 2012, 10:58 AM
  5. [CLOSED] [1.0] Desktop start menu styles issue
    By Labyrinth in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 27, 2010, 9:27 AM

Posting Permissions