I want to spy objects of drop-down menu as I need to get it's descriptors for descriptive programming. As soon as I click the Spy button, the drop-down menu is hidden.

How to spy drop-down menu in QTP/UFT?

1 Answer 1


Ctrl key is used to temporary disable spying, so one could perform preparatory operations.

So you sould do the next steps:

  1. Click the Object Spy button Object Spy button
  2. Hold Ctrl key
  3. Expand the menu
  4. Release the Ctrl key
  5. Spy menu

Then you can check here how to code select action for drop-down menu in UFT.

  • that's pretty quick answer: asked asked Mar 17 '16 at 8:39 and answered Mar 17 '16 at 8:39 -- good job :)
    – olyv
    Commented Dec 14, 2017 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.