Forum Discussion

testertesting's avatar
testertesting
Occasional Contributor
5 years ago

How do I get "Tags" working for my scripts?

Hi all, I seem to be struggling to get tags to work for my scripts.

 

I have added the tag before the sub:

 

but it does not appear for me in any of the locations as seen in the documentation. https://support.smartbear.com/testcomplete/docs/scripting/tags.html?sbsearch=tags

 

e.g.

  • Does not appear when I right click on a project and hover over Run (the documentation has another context menu popping out from this with all the tags available).
  • Also does not appear when selecting a test for a particular test item on a project page.

 

If it's relevant...I do not have Keyword tests in any of my projects, but do have the plugins installed.

 

Thanks in advance for any help 🙂

  • EDIT: After perusing the release notes, I see the problem. Tags were only introduced in 14.20. https://support.smartbear.com/testcomplete/docs/general-info/version-history/features-added-to-ver-14-20.html#tags

     

    Thanks for pointing me in the right direction Alex! 🙂

     

    -------------------------------------------------------------------------------------------------------------------------------

     

     

    Hi Alex,

     

    Thanks for the response. I am using TC version 14.10.1042.7.

     

    I have saved the project with the tags included, but still they do not show like in your screenshot. 😞

     

    I will upgrade to 14.50 and see if that makes a difference.

     

    Thanks!

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Hm-m-m... Weird. Seems to work for me (TC 14.50.976):

     

    What is your version of TestComplete?

    Does it help if you save the changes to the script unit? (Your screenshot has yellow change mark that is an indication of unsaved changes.)

     

     

    • testertesting's avatar
      testertesting
      Occasional Contributor

      EDIT: After perusing the release notes, I see the problem. Tags were only introduced in 14.20. https://support.smartbear.com/testcomplete/docs/general-info/version-history/features-added-to-ver-14-20.html#tags

       

      Thanks for pointing me in the right direction Alex! 🙂

       

      -------------------------------------------------------------------------------------------------------------------------------

       

       

      Hi Alex,

       

      Thanks for the response. I am using TC version 14.10.1042.7.

       

      I have saved the project with the tags included, but still they do not show like in your screenshot. 😞

       

      I will upgrade to 14.50 and see if that makes a difference.

       

      Thanks!