Arvind,
I believe you might be using the wrong notation for list variable type.
Instead of ${my_list} it should be @{my_list}. See the robot framework
User's Guide at
Ed
I don't see any reason why you should need Catenate in this example.
> I seem to be able to load the list but get this error message "Cannot assign
> return values: Expected list-like object, got unicode instead."
Where exactly you get this error? I don't see any syntax that should cause it.
> When I replace Catenate ${Msg} ${empty} with Evaluate ${index}*2,
> no errors
This is strange. I don't see why that would affect anything.
> Is it because the Msg variable contains CRLFs, other special
> characters?
That definitely shouldn't have anything to do with this. If it does,
then there's a bug in Robot itself.
> Any help will be much appreciated
You could help understanding this problem yourself by creating a
simple stand-alone example that demonstrates the problem.
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org