Exemple #1
0
        private void ReadProcessedFile()
        {
            string       FileName = ProcessedFileName.ValueForDriver.Replace(@"~\", SolutionFolder);
            string       xml      = System.IO.File.ReadAllText(FileName);
            XMLProcessor XMLP     = new XMLProcessor();

            XMLP.ParseToReturnValues(xml, this);
        }
Exemple #2
0
        private void ReadProcessedFile()
        {
            string fileName = amdocs.ginger.GingerCoreNET.WorkSpace.Instance.SolutionRepository.ConvertSolutionRelativePath(TargetFileName.ValueForDriver);

            string       xml          = System.IO.File.ReadAllText(fileName);
            XMLProcessor xmlProcessor = new XMLProcessor();

            xmlProcessor.ParseToReturnValues(xml, this);
        }
        private void ReadProcessedFile()
        {
            string fileName = amdocs.ginger.GingerCoreNET.WorkSpace.Instance.SolutionRepository.ConvertSolutionRelativePath(TargetFileName.ValueForDriver);

            string       fileContents = System.IO.File.ReadAllText(fileName);
            XMLProcessor xmlProcessor = new XMLProcessor();

            if (System.IO.Path.GetExtension(fileName).ToLower().Equals(".xml"))
            {
                xmlProcessor.ParseToReturnValues(fileContents, this);
            }
            else
            {
                ParseFileToReturnValues(fileContents, this);
            }
        }