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 Silk Test Classic menu to see if two variables with the same name are in scope simultaneously.
and in the