Forum Discussion

sandra's avatar
14 years ago

addPropertiesFromFile strange behavior

hi !

I have encountered the following error when using addPropertiesFromFile.
The file with a .properties extension contains a number of properties which are charge at TestCase level using
addPropertiesFromFile.After removing the properties manually from the TestCase properties and changing the file in order to modify the names of the properties, the old properties appear at TestCase level. How can I refresh or reset in order to force the charging of the new properties ?

Thanks,
Alexandra
  • Hi Alexandra,

    While loading the updated property file, there are two check boxes, one is to Create missing properties, and other is to Delete Properties not in file. Try selecting the check box for Delete missing.
    Hope it helps..

    Regards,
    AnkitaT