Forum Discussion

mailtosarojjena's avatar
mailtosarojjena
Occasional Contributor
14 years ago

adding temporay variable


How we can add temporary variable by script ??



Project.Variables.AddVariable "MyVar", "String" add to persistent variable only


.Variables.AddVariable "MyVar", "String" add to persistent variable only

3 Replies


  • Hi Saroj,





    There is no a way to do this at the moment. We have such a suggestion in our database, and your request has increased its rating.





    Could you please tell me what you need this functionality for?
  • mailtosarojjena's avatar
    mailtosarojjena
    Occasional Contributor
    I want to declare some variable which will be loaded as per some different language selection during run time

  • Hi Saroj,





    You can manually create such variables and load the corresponding values at the beginning of the test without creating these variables from script.