Forum Discussion

rohanmehta123's avatar
rohanmehta123
New Contributor
12 years ago

Period is present in string parameter

Here is a scenario -



There is a WPF application with a RadTreeListView and it has items associated with it.



I have parameterized item text so that TestComplete can click on appropriate ListItem that matches with the parameterized value stored in CSV file.



This scenario works fine except when there is a period sign (dot ".") present in the CSV file as input. Say item name is "R. D. King". It is not able to identify this item. It identifies all rest buttons that does not have period sign. 



Please advsie



Thanks...
  • Hi Rohan



    You have to create Schema.ini file at same directory where your CSV file is located.

    and paste following lines in Schema.ini file and don't forget to replace your CSV file name with FileName.csv in first line, (file name must be in square brackets).



    [FileName.csv]

    Format=CSVDelimited

    ColNameHeader=True

    MaxScanRows=0




    Regards

    Mughees Siddiqui
  • Hi Rohan



    You have to create Schema.ini file at same directory where your CSV file is located.

    and paste following lines in Schema.ini file and don't forget to replace your CSV file name with FileName.csv in first line, (file name must be in square brackets).



    [FileName.csv]

    Format=CSVDelimited

    ColNameHeader=True

    MaxScanRows=0




    Regards

    Mughees Siddiqui