Forum Discussion

asikrahila0786's avatar
asikrahila0786
Senior Member
4 years ago

Close tab desktop Application

Hi I have a tab where I can see the tab name and (X) - but when I use Object spy I am not able to find the X related object. Parent of the tab is Navigation, it has ClickTab method not CloseTab , how we can close the tab, manually I can click using Mouse and close it but not able to di through script. I do not want to try with X, because the co-ordinates may change any time @marsha r 

  • my guess would be to either enable MSAA to see if that helps discover the x button to close the tab,

    or find within your object browser hierarchy the exact (tab/window) object that supports some method like closeTab()

  • my guess would be to either enable MSAA to see if that helps discover the x button to close the tab,

    or find within your object browser hierarchy the exact (tab/window) object that supports some method like closeTab()