public void FolderOperationsInPublicFolder()
        {
            // Get first user folder in All public folder
            TestBase.publicFolders = outlookApp.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olPublicFoldersAllPublicFolders);
            Outlook.MAPIFolder firstUserFolder = Utilities.GetUserFolderInAllPublicFolder(publicFolders);

            // Add a sub-folder named testFolder under the firstUserFolder
            Outlook.MAPIFolder testFolder = Utilities.AddSubFolder(firstUserFolder, "testFolder");

            // Add a sub-folder named subTestFolder under the testFolder
            Outlook.MAPIFolder subTestFolder = Utilities.AddSubFolder(testFolder, "subTestFolder");

            // Move subTestFolder to firstUserFolder
            subTestFolder.MoveTo(firstUserFolder);

            // Delete all sub-folders in firstUserFolder
            Utilities.RemoveAllSubFolders(firstUserFolder, false);

            // Parse the saved trace using MAPI Inspector
            List <string> allRopLists = new List <string>();
            bool          result      = MessageParser.ParseMessage(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.");
        }
        // RopMoveFolder
        public void FolderOperationsInPublicFolder()
        {
            // Get first user folder in All public folder
            publicFolders = oApp.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olPublicFoldersAllPublicFolders);
            Outlook.MAPIFolder firstUserFolder = Utilities.GetUserFolderInAllPublicFolder(publicFolders);
            // Add a subfoler named testFolder under the firstUserFolder
            Outlook.MAPIFolder testFolder = Utilities.AddSubFolder(firstUserFolder, "testFolder");
            // Add a subfoler named subTestFolder under the testFolder
            Outlook.MAPIFolder subTestFolder = Utilities.AddSubFolder(testFolder, "subTestFolder");
            // Move subTestFolder to firstUserFolder
            subTestFolder.MoveTo(firstUserFolder);
            // Delete all subfolders in firstUserFolder
            Utilities.RemoveAllSubFolders(firstUserFolder, false);

            bool result = MessageParser.ParseMessage();

            Assert.IsTrue(result, "Case failed, check the details information in error.txt file.");
        }