| || |
How to use "ini" files in the script.
how to use ini files in the script. i run the script in c drive. if i change the drive and copied the tests in d drive, every path i have to change in the script. so pls suggest me how to use ini files in the scripts.
Re: How to use "ini" files in the script.
Its always good create your ini files under your script and use following line in your script to get the ini file path
IniFilepath = Environment("TestDir")&"\\TestData.ini"
This way if you copy your entire script to any location, script dynamically gets its path and works fine.