// RopGetMessageStatus RopSetMessageStatus public void ManuallyRun() { string fileName = ConfigurationManager.AppSettings["ManualTrace"]; filePath = Path.GetFullPath(fileName); bool result = false; List <string> allRopLists = new List <string>(); try { string[] files = Directory.GetFiles(filePath, "*.saz"); foreach (string file in files) { result = MessageParser.ParseMessageUsingMAPIInspector(file, out allRopLists); // Update the XML file for the covered message Utilities.UpdateXMLFile(allRopLists); // Assert failed if the parsed result has error Assert.IsTrue(result, "Case failed, check the details information in error.txt file."); } } catch (Exception ex) { Assert.Fail("Case failed, check the error message {0}", ex.Message); } }