Forum Discussion

Soren's avatar
Soren
Occasional Contributor
10 years ago

Mapping ToolStripDropdownMenu in keyword testing

Hi, We are doing keyword testing and are just getting started with TestComplete. However, we have run into an issue with the .NET item ToolStripDropDownMenu.   We have added it using “Add From Scr...
  • NisHera's avatar
    9 years ago

    What you have shown is full name of the object which looks similar except WinFormsObject("ToolStripPanel", "", 4)  the number. And I think that number may be random or created dynamically .

     

    To identify two menus separately you have to use unique property of these objects. eg ("Caption" or unique child object).
    You can play around with object spy on your objects and find unique property to manually map two objects.


    You can read more in this subject here ..using advance mapping setting is relevent to your question


    if nothing helps, ask developers to inclued a unique property in to the object