Robotframework-Database-Library
Robotframework-Database-Library copied to clipboard
[Question] How to log query result to robotframework report?
Hi
Is it possible to enable query log in Robotframework report with the table header?
Using Query
keyword only log the result without header
Thanks
Voting up. I would also appreciate getting the SQL query result including the column headers.
The query results are often hard to read. I believe the best format would be HTML table. It is easy to generate without using external dependencies and it displays well in the RF log. We could add extra param like 'log_results=True' to handle it. There could be additional 'log_head' param to defined how much rows we want to log (ie default max 50, set to 0 to print all).