Global and Local Variables with the Same Name

It is usually not a good programming practice to give different variables the same names. If a global and a local variable with the same name are in scope, which means accessible, at the same time, your code can access only the local variable.

To check for identical names, click View > Local Variables and View > Global Variables in the Silk Test Classic menu to see if two variables with the same name are in scope simultaneously.