Table keywords should not log source if they fail
See original GitHub issueCurrently table related keywords logs the page source and user can define the level on which the logging happens. But the logging the source and defining logging level are not useful features. It would be better to remove the source logging and logging level definition. Instead it might be useful to allow user to define custom error message, if they want, if the table related keywords fails.
Example Table Cell Should Contain
keyword signature should have arguments: locator
, row
, column
, expected
and message
and here is an example:
| Table Cell Should Contain | xpath: //table | row=1 | column=2 | expected=foo | message=User defined error message |
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Syntax error due to using a reserved word as a table or ...
The Problem. In MySQL, certain words like SELECT , INSERT , DELETE etc. are reserved words. Since they have a special meaning, MySQL...
Read more >Keyword Search Expressions - Sumo Logic Docs
The keyword expression can include built-in metadata fields such as _collector , _sourceCategory , _sourceName , and _sourceHost as well as custom log...
Read more >Common SQL syntax errors and how to resolve them
In this article, we are going to describe some of the most common SQL syntax errors, and explains how you can resolve these...
Read more >9.3 Keywords and Reserved Words - MySQL :: Developer Zone
Keywords are words that have significance in SQL. Certain keywords, such as SELECT , DELETE , or BIGINT , are reserved and require...
Read more >Selenium2Library - Robot Framework
If an element does not have an id or the id is not stable, ... If this keyword fails, it automatically logs the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Generally I feel that logging the source is useless, although there might be some rare cases where it could be useful. I have to say that my run on failure keyword, maximize the browser, take screenshot and logs the source, but I usually never actually look at the source dump. Therefore I feel that we should remove the source logging from all keywords. Also unifying the
message
argument is a good idea.It would be good idea to ask also other users opinion on the matter after the 3.0 release.
Closing this issue because this is replaced by #1259