I have installed latest robotframework 7.2
When i try to get data from xlsx file using datadriver library, i can see the values are returned in tuple format instead of string. Which cause failure in my script. Can we make them as default string value ?
Getting below error
AttributeError: ‘tuple’ object has no attribute ‘startswith’
Can anyone help me on this ?
Example:
You have a csv file with a column called “price” and a list of values.
If you are using datadriver with RF version < 7.2.
Script:
Log ${price}
Result:
US$ 1.00
=======================================
If you are using datadriver with RF version >= 7.2.
Script:
Log ${price}[1]
Result
US$ 1.00
If you do as the first example, you will get something like:
Script:
Log ${price}
Result
('price', 'US$ 1.00')