Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP captures MFCMenubutton as winobject.Help Me to select menu's inside MFCMenubutton
#1
Not Solved
Hi Friends,
I need your help in automating a control "MFCMenubotton".i am working in automating a VC++ developed application.when i try to capture a button( class belongs to MFCMenuButton). it capture it as winobject. The MFCMenubutton control has few menus's enabled when we click the button.
i want to choose those submenu's one by one for automating a function.

Could you please help me on choosing those submenu's

NOte: capturing the Submenu is fully(including sub items)are identified as a seperate window object.


Attached Files Image(s)
   
Reply
#2
Not Solved
Hi,
Take the properties of that sub-menu's and give the index for every sub-menu....

Code:
Browser("X").Page("Y").Winbutton("properties","index:=0")
''
''
''
''
Browser("X").Page("Y").Winbutton("properties","index:=04")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read Content inside PDF kotaramamohana 0 1,057 09-02-2020, 05:49 PM
Last Post: kotaramamohana
  how to select value from google search box dropdown +QTP prajyot 0 2,638 06-28-2017, 06:30 PM
Last Post: prajyot
  Object doesn't support this property or method: 'window(...).window(...).winobject' senthil5683 1 3,474 07-04-2016, 07:08 PM
Last Post: venkatesh9032
  Fetching total number of records inside a webtable vidya2k2 2 3,621 06-15-2015, 02:55 PM
Last Post: venkatesh9032
  object identified as WinObject by UFT11.52, HELP javierchen 1 3,171 03-17-2015, 09:36 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 1 Guest(s)