Test case for signup

${code}=    Get Element Attribute    //input[@name="six_digit_random_number"]    value
Log To Console    ${code}

This should work.
The content of the attribute “value” is stored in the variable ${code}.