jeremy_bertrand
11 years agoContributor
Using an INI file stored in the project suite
I am hitting a stumbling block here. I have an INI file that I created from within TestComplete using the Storages object to export and save some variable settings.
I was able to add the file to the stores so that it can copy over when we duplicate the project suite to other directories.
The problem that I seem to be getting is that while I am able to import the INI file using an absolute path to the ini file I am unable to get the script or objects to recognize the file when i use the Files.tc_ini coding. All I get in the log message for it is that it declares it as empty. and nothing that i have tried can resolve it.
The file is there. I can view it. I can open it in a script using an absolute path. The problem with using the absolute path is that I will then have to edit the script file each time I need to run on a separate machine using TestExecute.
Please help. Thanks,
Jeremy Bertrand.
I was able to add the file to the stores so that it can copy over when we duplicate the project suite to other directories.
The problem that I seem to be getting is that while I am able to import the INI file using an absolute path to the ini file I am unable to get the script or objects to recognize the file when i use the Files.tc_ini coding. All I get in the log message for it is that it declares it as empty. and nothing that i have tried can resolve it.
The file is there. I can view it. I can open it in a script using an absolute path. The problem with using the absolute path is that I will then have to edit the script file each time I need to run on a separate machine using TestExecute.
Please help. Thanks,
Jeremy Bertrand.