I don't have a Rf environment to test right now but i think you can use BuiltIn.Set test variable ${variable1} value