Forum Discussion

rikkilar's avatar
rikkilar
Occasional Contributor
14 years ago

script to select item in flex popupmenubutton

what is script to select item in flex PopupMenuButton



below is the same menu I have



file

 -open

  -new

 -close

5 Replies

  • Hi Rikki,



    Have you tried simply recording the menu selection operation and viewing the resulting script code?
  • Hi Rikki,



    The HoverMouse method isn't recorded for Flex applications. You can manually insert this method into your recorded tests.
  • rikkilar's avatar
    rikkilar
    Occasional Contributor
    I am not recording script nor using name mapping, I want to handle this problem with findchild method dynamically
  • Hi Rikki,



    You can find a sample script for selecting an item in PopUpMenuButton's drop-down list in this thread. Try it out and see how it works for you.