Forum Discussion
ianlop
3 years agoOccasional Contributor
Another way of asking my question is if it is possible to change a project variable's contents that does not require me to explicitly write out
"Project.Variable.Obj1 = some object"
over and over again.
Instead can I send Project.Variable.Obj1 as an argument to a method I made to change it that way?
If so, when I tried to do this, the project variable i passed did not get changed in its calling method. Why's that?
AlexKaras
3 years agoCommunity Hero
ianlop :
Hi,
Your code looks correct to me, so I guess there is something Python-specific here...
Check if __setprop__ method solves the problem (https://support.smartbear.com/testcomplete/docs/reference/language/python/index.html)