Ryu
7 years agoContributor
How to handle nested pop-up/fly-out menus in TestComplete?
TestComplete sees my software's menus as application.popupwindow. It also sees the sub menus within those menus as application.popupwindow (the same mapping as the original pop-up). It also only sees the whole menu/sub-menu and not individual options within those menus, so I have to use coordinates to click on options. So, when I record or script something as
application.[menu]popupwindow.click(x1, y1)
application.[submenu]popupwindow.click(x2, y2)
TestComplete only sees the first instance of the pop-up window and not the second, so it clicks in different areas of the first window. Does anyone know any way to get around and/or fix this?