how to get list of itmes(Submenus) of WpfMenu? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: how to get list of itmes(Submenus) of WpfMenu? (/Thread-how-to-get-list-of-itmes-Submenus-of-WpfMenu) |
how to get list of itmes(Submenus) of WpfMenu? - krr - 11-22-2011 Hi, I am trying to find what are the submenu's of Wpfmenu during Run time. I am unable to get the list of items of Wpfmenu. I am able to select one of them using select method. I want to get list of items of Wpfmenu or i want to verify if desired items is in that list or not? Any advice? Using QTP 11.0 , In Supported patterns there is no Selection method. krr RE: how to get list of itmes(Submenus) of WpfMenu? - sowmya - 11-22-2011 hi, you can give the statement as ......wpfMenu("mainmenuitem;submenuitem") Let me know if i m wrong RE: how to get list of itmes(Submenus) of WpfMenu? - krr - 11-22-2011 my reuirement is, I need to get items in the WpfMenu. Let me know how to access SubMenu Items of hierarcy WpfWindow("xyz").WpfMenu("xyz"), hope you got my question? RE: how to get list of itmes(Submenus) of WpfMenu? - krr - 11-23-2011 Can any one of moderator or Administrator look in to this? |