Forum Discussion
Hassan_Ballan
Champion Level 3
5 months agoYou are right, you can not set a default value or description when you programmatically create the project variable; however, in a second step you can update the value after you create it, you cannot persist the value directly through scripting either.
https://support.smartbear.com/testcomplete/docs/testing-with/variables/collections/project-and-project-suite/working-in-scripts.html#Adding
https://support.smartbear.com/testcomplete/docs/reference/program-objects/variables/addvariable.html
💬 Found the answer helpful? Give it a Like!
✅ Got your issue resolved? Mark it as the solution so others can find it fast.