Forum Discussion

mrniceguy490's avatar
14 years ago

DDT Reading from Excel Sheet to set Checkbox State Error

I have a Keyword DDT reading columns from an Excel Sheet to populate user text boxes on the UI I am testing. Everything works great except I have several checkboxes and when I try to read from the Excel to either check or uncheck I get:

 

“Only the following values can be used as a check box state: 0, 1, True and False” in the Log info window.

 

All of my Excel cells are text formatted. I have tried:

0, 00, 1, 01, True,  False in the checkbox columns with no luck. I also have tried a Data-Driven Loop and DB table Variables to the Excel with the same results.

 

I can use a local Boolean variable and the checkboxes will accept as expected but this defeats the whole purpose.



Is this a limitation of a Keyword test not being able to convert a string to a Boolean or am I missing something?