ContributionsMost RecentMost LikesSolutionsRe: How to use Consts in TestComplete (JScript) ?Andrey, spasibo :)How to use Consts in TestComplete (JScript) ? I need to declare constants in my JScript code. 1. I tried this code: Consts TestID=50; Program breaks on this line and I am getting compilation error. 2. I tried const TestID=50; In this case I am getting syntax error. Please help SolvedRe: TestComplete - Can't read .ini file added to the Stores Files Collection, if file is located in folder other then root C:\ folder. Phil, thank you for your quick response! You are absolutely right, "\" is missing. Thank you for your recommendation too, I really appreciate it! Natalya TestComplete - Can't read .ini file added to the Stores Files Collection, if file is located in folder other then root C:\ folder. I can't read .ini file added to the Stores Files Collection, if file is located in folder other then root C:\ folder. Please help. I am using JScript. Below is more details: 1. I created file C:\MyFolder\config123.ini ; IMPORTANT: The Root section is mandatory [Root] [Settings] URL=http://localhost.com/ ServerName=MyServer 2. I manually added this file to Stores File collection. 3. I have script in JScript: function Main() { var ini, URL,SQLServerName; ini = Storages.INI("C:\\MyFolder\config123.ini"); URL = ini.GetSubSection("Settings").GetOption("URL", ""); SQLServerName=ini.GetSubSection("Settings").GetOption("ServerName", ""); } 4. I set breakpoint on line SQLServerName=ini.GetSubSection("Settings").GetOption("ServerName", ""); 5. When I execute this script .ini object doesn't return my .ini file I and URL="", wich is incorrect. Interesting enough if I copy .ini file to root folder C:\ , change code ini = Storages.INI("C:\\config123.ini"); I am getting proper URL and ServerName values even if I delete file from Stores File collection. I think that I follow manuals, why am I not getting expected result? Please help. Thank you Natalya Solved