sriram_sig
6 years agoContributor
in Testcomplete do we have something similar to a properties file in java?
I have a textfile with lot of variable names and its corresponding value like a config file, which i want to read before starting to run tests. Right now i'm trying to read this file and creating a dictionary object, to fetch those values with key in the code and i also tried with the configparser module available in python. Wanted to know if there is a easier built-in way to do using TestComplete
You can use the Storages object to either read an INI file or an XML file. You can also create a TestComplete custom binary file or store the information in a registry. I, personally, use the INI file method to read configuration settings from a file before starting a test.