Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 684 by rossespo: Creating a dict causes all values to be passed
as str and not int
http://code.google.com/p/robotframework/issues/detail?id=684
I'm creating a dictionary in RF like so:
${fields} = Create Dictionary keyname 2234
Set to Dictionary ${fields} another_key 998
Set to Dictionary ${fields} yet_another_key 3323
I'm sending ${fields} to a Keyword thats a function within python:
Gobble Fields ${fields}
goes to:
def gobble_fields( fields={} ):
....
The problem is, all the values in the dict get passed in as strings when
they should be int. I can work around this easily enough, but it can be a
gotcha for some.
If I used this method:
Set to Dictionary ${fields} another_key '998'
Then I would expect a string. Without the quotes, it should be an int.