public void DeletedFolderShowDependencies() { ExplorerUIMap.Filter_Explorer(DeleteAnywayResourceFolder); ExplorerUIMap.Delete_FirstResource_From_ExplorerContextMenu(); DialogsUIMap.Click_MessageBox_Yes(); Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Applytoall.Exists, "Apply To All button does not exist."); Assert.IsTrue(DialogsUIMap.MessageBoxWindow.DeleteAnyway.Exists, "Delete Anyway button does not exist."); Assert.IsTrue(DialogsUIMap.MessageBoxWindow.ShowDependencies.Exists, "Show Dependencies button does not exist."); Assert.IsTrue(DialogsUIMap.MessageBoxWindow.OKButton.Exists, "OK button does not exist."); DialogsUIMap.Click_MessageBox_DeleteAnyway(); Assert.IsFalse(UIMap.ControlExistsNow(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.localhost.FirstItem), "Item did not delete"); }