To operate on a spin button object and based on your requirement, you can use any of these functions
getvalue Get value from spin button
setvalue - Set value in spin button
verifysetvalue - Verify the value of spin button with the given value
Linux Desktop Testing Project