Updates:
        Summary: New keyword: `Get Current Connection`

Comment #6 on issue 72 by anssi.sy...@eficode.com: New keyword: `Get Current Connection`
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=72

In the end, we rather decided to implement a new keyword `Get Connection`, which retuns an object describing the connection, similarly as `Get Connections` returns a list of these objects.

What was changed, is that these objects now have `index` attribute in addition to the old ones.

So using this keyword the following behaviour is now possible:

Open Connection  far.host.com  alias=far
Open Connection  near.host.com
# Do something with near.host.com...
${farhost}=  Get Connection  far            # OR: Get Connection  1
Switch Connection  ${farhost.index}
# Do something with far.host.com

See library documentation (https://robotframework-sshlibrary.googlecode.com/git-history/master/doc/SSHLibrary.html#Get Connection) for more examples.


--
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 robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to