Comments (4)
Originally submitted to Google Code by @pekkaklarck on 6 Jul 2008
This is clearly a bug and it occurs also in 2.0 version. A simple fix is replacing
the highlighted print statement e.g. with
print 'Appending value %s' % str(value)
I took a quick look at the source code of Collections library and noticed that most
keywords there do not log what they are doing. Instead of just fixing the reported
issue it's better to go through all the keywords and add unified logging. It might be
that the default level is better to be DEBUG since list/dictionary operations may
involve a lot of entries. Anyway, logging should be handled by internal helper method
so that the default level is easy to change.
Additionally noticed that some of the keyword docs in Collections library have lines
longer than 78 chars. This ought to be fixed as well.
These issues will be fixed in next released version regardless is it 2.1 or 2.0.1.
from robotframework.
Originally submitted to Google Code by @pekkaklarck on 21 Jul 2008
To be implemented in 2.0.1 version.
from robotframework.
Originally submitted to Google Code by @pekkaklarck on 23 Jul 2008
I fixed logging (i.e. the print statement) simply by removing it. At the same time I
also did a little cleanup, mainly for documentation. Committed in r385.
I'm not sure should keywords in Collections library log what they are doing or not.
Adding logging is anyway out of the scope of 2.0.1, and I added a new issue 50 for it.
from robotframework.
Originally submitted to Google Code by @pekkaklarck on 24 Aug 2008
I noticed that there were several other keywords in Collections library that did not
work with non-string items. Affected keywords were:
Dictionaries Should Be Equal
Dictionary Should Contain Sub Dictionary
List Should Contain Sub List
These keywords failed because they had code like:
diffs = [value for value in L2 if not L1.count(value) > 0 ]
error = ', '.join(diffs)
This fails when 'diffs' contains non-strings because 'join' expects a list of strings
as arguments. Acceptance tests only used lists with strings and dictionaries with
strings as keys and thus they didn't found the problem.
These keywords were fixed in r503 and tests/docs committed in r504. Fixes are
included to 2.0.1.
from robotframework.
Related Issues (20)
- 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
- The on_limit_message for the WHILE loop does not output the correct variable value if the variable is updated inside the loop
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.