Creating additional logs when testing in Robot Framework.
pip install robotframework-advancedlogging
See keyword documentation for robotframework-advancedlogging library in
folder docs.
| Settings | Value | Value | Value |
|---|---|---|---|
| Library | AdvancedLogging | C:/Temp | LogFromServer |
| Library | SSHLibrary |
| Test cases | Action | Argument | Argument |
|---|---|---|---|
| Example_TestCas e | ${out}= | Execute Command | grep error output.log |
| Write advanced testlog | error.log | ${out} |
File C:/Temp/LogFromServer/TestSuite name/Example_TestCase/error.log with content from variable ${out}
Apache License 2.0