yanne / api-test

0 stars 0 forks source link

Enhanced documentation of reading command output #59

Closed yanne closed 10 years ago

yanne commented 10 years ago

None

This issue was originally opened at Google Code on Oct 8, 2012.

yanne commented 10 years ago

Original comment by pekka.klarck on Oct 17, 2012.

It is true that Read Command Output returns the output of the last command, but you should be able to use Read Command Output multiple times. When executing it again, it should return the output of the second last command, and so on.

The documentation related to using Stat Command and Read Command Output definitely should be enhanced. Better explanation and especially examples are needed.

We could also consider enhancing Read Process Output so that you could read the output of some other than the last command, but that requires a separate issue.

yanne commented 10 years ago

Original comment by anssi.sy...@eficode.com on Sep 10, 2013.

Read Command Output returns the output of the last command. When executing it again, it returns the output of the second last command, and so on. This behaviour was not well documented, please leave you comments if the explanation is now clear enough ( https://robotframework-sshlibrary.googlecode.com/git-history/master/doc/SSHLibrary.html#Read%20Command%20Output ).

Also the other keyword examples were enhanced, particularly using this keyword with Start Command.

Changes are done by commit https://code.google.com/p/robotframework-sshlibrary/source/detail?r=15c05eea766db3b846ddf2ddcce7cf3cbb974777

yanne commented 10 years ago

Original comment by frankbp@gmail.com on Sep 10, 2013.

The new documentation looks good, thanks for the enhancement.

yanne commented 10 years ago

Original comment by pekka.klarck on Oct 16, 2013.

Docs proofread. Looks very good.