I'm using IBM ITCL framework where I have object map scripts, task scripts and a test scripts. I need to create a method in a task script to change the property of an object in the object map script at run time. My method looks like this:
My question is how do I pass objName to the method because the task script does not have any objects in its object map (the objects are in the object map script which I declare in the task script). I tried to pass the objName as objScript.getObjName() but that didn't work. Is there another way to change the property of an object in another script? I read in the forum that I may be able to make it work by changing the access to public in the SuperHelper class but I want to see if there's another way first.