Forum Discussion

MichaelMcFarlan's avatar
MichaelMcFarlan
Contributor
14 years ago

Closing a tab in the testcomplete workspace changes the open tab

I've noticed that when I close a tab, and the index of the currently active tab is higher than index of the tab I close, that the tab I'm on will change by one off.



Example:

I have test complete open with the startpage (tab 1), a scripting unit (tab 2), and test results (tab 3). If I have the test results selected as the active tab, and then close the start page (without activating it), the workspace will automatically set my selected tab to the scripting unit. This seems rather pointless and in my case usually unwanted.



Any thoughts on this? I'm not really sure if it's intentional or not.. I just find it rather annoying because I encounter this when I'm trying to clean up lots of open tabs and I would rather just have the selected tab stay selected the entire time.



Test Complete v 8.60 if it matters.

2 Replies

  • AlexKaras's avatar
    AlexKaras
    Community Hero
    I'd like to be second with Michael's request.



    Also, considering his sample, if I have a scripting unit tab active and try to close it, TC activates the next one (i.e. test results). Not sure as for others, but my preference is that previous tab (i.e. start page) is activated instead of the next one as it is now.
  • Hello gentlemen,

    >>I've noticed that when I close a tab, and the index of the currently active tab is higher than index of the tab I close, that the tab I'm on will change by one off.

    I've reproduced the misbehavior and have registered it in our database. Thank you for the reporting.



    >>Also, considering his sample, if I have a scripting unit tab active and try to close it, TC activates the next one (i.e. test results). Not sure as for others, but my preference is that previous tab (i.e. start page) is activated instead of the next one as it is now.

    Well, it's a subtle matter of preferences. Every man to his taste.



    Happy holidays!

    Artem.