Forum Discussion
AlexKaras
15 years agoChampion Level 3
Hi Sumedha,
I think that the cause of the problem is that you are not specifying the namespace for your variable.
The case is that in TestComplete the variable with the same name can exist in the script (and in this case you reference it in the code without any namespace, e.g. Var1 = 'value'), in the project, project suite or network suite. In the latter case you must use proper namespace prefix to define what variable must be used. I.e. Project.Var1, ProjectSuite.Var1 or NetworkSuite.Var1 respectively.
See relevant help topic for more details.
I think that the cause of the problem is that you are not specifying the namespace for your variable.
The case is that in TestComplete the variable with the same name can exist in the script (and in this case you reference it in the code without any namespace, e.g. Var1 = 'value'), in the project, project suite or network suite. In the latter case you must use proper namespace prefix to define what variable must be used. I.e. Project.Var1, ProjectSuite.Var1 or NetworkSuite.Var1 respectively.
See relevant help topic for more details.
Related Content
Recent Discussions
- 2 days agovladd1