Updates:
        Status: Started

Comment #11 on issue 72 by pekka.klarck: New keyword `Get Connection` for getting the current connection information
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=72

We have agreed to do following enhancements to this keyword:

1) Return a result object also when there is no connection open. This object MUST have index None. Other values can either be None or defaults, depending which is easier to implement.

With this change it is possible to use the result object to reset the previous connection with Switch Connection even when there are no connections. This was discussed in the initial description.

2) Allow returning only some information about the connection using arguments. This ought to work something like this:

    ${index} =    Get Connection    index=yes
    ${alias}    ${port} =    Get Connection    alias=true    port=yep

The main motivation is to support the remote library interface. The custom connection object cannot, at least currently, be transferred over the remote connection, but individual values can.

3) Available attributes in the returned object need to be documented better. Most likely a table with attribute names and explanations is the best approach.


The main reason is that custom object do not

--
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