Robotframework-Database-Library icon indicating copy to clipboard operation
Robotframework-Database-Library copied to clipboard

[Question] How to log query result to robotframework report?

Open 4nif opened this issue 3 years ago • 2 comments

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

4nif avatar Sep 09 '21 11:09 4nif

Voting up. I would also appreciate getting the SQL query result including the column headers.

lucielavickova-tesena avatar Feb 11 '22 16:02 lucielavickova-tesena

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

bhirsz avatar Nov 09 '23 21:11 bhirsz