Read Timespan From Config File

Hi all,

I’m using REframework for developing. My aim is to read a Delay duration (HH:mm:ss) From Config File and add it to delay activity .

after assign Delay=Timespan.parse(Config(“Delay”).ToString) and set type to time span an error shown up says “String was not recognized as a valid TimeSpan”, isn’t “timespan.parse” should convert string to timespan?

Please help,
Thanks & Regards,

1 Like

Seems I found the issue cause the problem. Excel changed the format of the “Delay” time I typed to another Format. Change the format of the cell to “Text” Solved the Problem :slight_smile:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.