Forum Discussion

DanH's avatar
DanH
Contributor
7 years ago
Solved

Problem creating constants

Hello, I'm just starting with Test Complete...  I'm probably being stupid but... I can't create constants.  I have read the help at:  https://support.smartbear.com/viewarticle/10990/.  my problem is ...
  • tristaanogre's avatar
    7 years ago

    That help document is for Automated Build Studio.  You're working with Test Complete.  Two different tools. :)

     

    So... you want to create a constant or equivalent in TestComplete?

     

    Different script languages have the ability to create constants depending upon their syntax.  However, I'm assuming you are wanting to do something different.

     

    Look into Project Variables, Project Suite Variables, and Keyword Test Variables in the TestComplete help documentation.  While these are variables, you can give them a default value and, so long as you don't assign anything new to the variable, that default value will act as a constant.