Comment #8 on issue 1620 by pekka.klarck: `Dialogs.Get Value From User`: Extend to allow secret input
http://code.google.com/p/robotframework/issues/detail?id=1620

The problem with automatically disabling logging is that this keyword itself doesn't even log values given by the user. The framework itself logs the returned value, though, and disabling that would require the library dynamically disabling framework's logging. Alternatively the library could return a special object that has the actual value as an attribute when using `hidden=True`. The usage could be something like this:

    ${result} =    Get Value From User    Give password:    hidden=yes
    Do something    ${result.value}

Even if nothing like this is implemented, users could anyway disable logging themselves:

    ${orig} =    Set Log Level    NONE
    ${password} =    Get Value From User    Give password:    hidden=yes
    Do something    ${password}
    Set Log Level    ${orig}

A benefit of this is that logging is disabled also when password is used otherwise.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to