2016-01-28 18:32 GMT+02:00 Manuel González <
fdw....@gmail.com>:
> Hello everyone, I'm new using robotframework and python language and I'm
> having issues splitting a string. I have this string:
>
> {u'ticket': {u'id': u'502-07385089-741'}}
Are you sure it is a string not a dictionary (i.e. map) with that
string representation? The reason I suspect it may not be a string is
that the AttributeError you got:
> ${splitted_string}= Split String ${string} { 1
>
> This is the fail i receive:
> 20160128 17:05:46.958 : FAIL : AttributeError: split
If ${string} would really be a string, it would also have `split` method.
Cheers,
.peke
--
Agile Tester/Developer/Consultant ::
http://eliga.fi
Lead Developer of Robot Framework ::
http://robotframework.org