The Scope in CloudTest is a way to define which objects can access a certain CloudTest object/element. There are three types of scope in CloudTest: Private, Public and Local.
If the scope of an object is set to Private, then only elements inside it can access it. When its scope is Local, then elements at the same level can access it. And finally when its scope is set to Public, any element can access it.
To change any CloudTest element’s scope, right-click on it and go to Scope, then just select the desired option as shown on Figure 1.
You need to set the scope of a CloudTest element to Local when other element(s) at the same level will need to access it or any of its properties. The same level means that the elements are children of the same parent.
You need to set the scope of a CloudTest element to Public when other element(s) at different level(s) will need to access it or any of its properties. This would be the case when the element trying to access it is nested one or more levels up or down.