Forum Discussion
rraghvani
2 years agoChampion Level 3
Sorry, I still don't quite understand.
Are you able to upload your complete code?
- ianlop2 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?- AlexKaras2 years agoChampion Level 3
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)
Related Content
- 5 years ago
Recent Discussions
- 20 hours ago
- 20 hours ago
- 5 days ago