Example #1
0
        public void WriteEolTestSequenceDetailsToJSon(TestFixtureEolTestSequenceModel eolModel)
        {
            string jsonstring         = JsonConvert.SerializeObject(eolModel);
            string json_eol_file_path = TestFixtureConstants.GetEolSequenceFilePath();

            System.IO.File.WriteAllText(json_eol_file_path, jsonstring);
        }
Example #2
0
        private void LoadSettingDetailsFromFile()
        {
            string file_path = TestFixtureConstants.GetEolSequenceFilePath();

            if (!string.IsNullOrEmpty(file_path) && (File.Exists(file_path)))
            {
                DeserializeAndSetProperties(file_path);
            }
        }