Micro Focus QTP (UFT) Forums
menu objects - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: menu objects (/Thread-menu-objects)



menu objects - paresh - 05-19-2012

Hello guys.
I was trying to add a menu object or menu item to the repository but qtp is considering all menu objects as a single object called 'menu'.

Also while trying to add a menu object of a dropdown menu of a website qtp is not able to spy it.

In this case what to do? how to automate the test?


RE: menu objects - ravi.gajul - 05-21-2012

Please see if the appropriate add-in in loaded


RE: menu objects - falvi - 05-21-2012

if you are able to navigate through menu items using keyboard, u can add those keyboard events e.g. down-arrow-keypress three times to reach the desired item.
and if it's a web(dropdown)list, then it's items can be accessed through index values.
(let me just confirm that though)
yes you can select values using ".Select (index)" method...
hope it works Smile