Comments (3)
Originally submitted to Google Code by DeonWu on 6 Aug 2008
add print statement like:
print "Trace <log message>"
the <log message> only display when the robot log level in "Trace". so the "Set
Collections Log Level'" isn't necessary.
from robotframework.
Originally submitted to Google Code by @pekkaklarck on 4 Sep 2008
Let's just create Log List
and Log Dictionary
keywords which can be used in case
list/dict contents needs to be known. These keywords should, of course, log elements
nicely, e.g. if we have ['foo','bar','zap'] and {'foo': 1, 'bar': 2, 'zap': 42} the
outputs should be
0: foo
1: bar
2: zap
and
bar: 2
foo: 1
zap: 42
These keywords should also take the decider log level as an optional argument.
Additionally logging what elements are removed, added, etc. with TRACE or DEBUG level
might be a good idea too. Probably not worth the effort, though, since these log
keywords are easier to implement and have more usages.
from robotframework.
Originally submitted to Google Code by @jrantanen on 8 Sep 2008
Added keywords log list and log dictionary. Implemented as suggested in previous
comment. Logged also length information. See r625 for implementation, r626 for tests
and r627 for updated documentation.
from robotframework.
Related Issues (20)
- AttributeError: 'function' object has no attribute 'run_cli' HOT 6
- The description of the Method (end_keyword) is incorrect in Robot Framework user guide for Robot Listener Version 3 HOT 1
- Acceptance tests fail if directory path contains spaces HOT 1
- Asynchronous _loop_ref should using the existing event loop if one exists
- Unnecessary repetition when using VAR for already defined variable value
- Duplicate Keywords when using custom name for library
- Not using custom library name in warning when library is empty
- Support common keyword setup / teardown for a file HOT 5
- Robot Listener3 Issue: Adding tags in 'result' works for test case and in 'data' works for user keyword. HOT 1
- `maxerrorlines` does not appear to work via `robot.running.model.TestSuite.run`
- Dictinaries are not accepted as-is in argument conversion with unions containing TypedDicts HOT 4
- `NotRequired` and `Required` not properly handled with Python < 3.11 in `TypedDict` conversion HOT 6
- Add variable file import related method to listener version 3
- Multiple keywords matching: 'User Login Successfully' in 'PageCommonActions'. HOT 3
- Logging HTML doesn't get embedded in the log.html HOT 1
- Creating user keywords with programmatic API HOT 4
- Incorrect syntax in for loop crashes RF and html reports are not generated. HOT 2
- Request to set implicit wait as a basic parameter to a keyword HOT 1
- Multiple imports of library does not create new instance
- Generate Random String fails to create strong password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework.