コード例 #1
0
        public void AssertWarningWindowIsClosed()
        {
            List <string> titles = new List <string>();

            foreach (var modal in Scope.DefaultWindow.ModalWindows())
            {
                titles.Add(modal.Title);
            }

            AssertionUtil.AssertFalse(titles.Contains(ConfigurationManager.AppSettings["ModalWindowName"]),
                                      "Modal window is found when should not");
        }
コード例 #2
0
 public void AssertSidePanelIsNotOpen()
 {
     AssertionUtil.AssertFalse(MainView.ListBoxSidePanel.IsVisible(), "Side panel is still visible");
 }
コード例 #3
0
 public void AssertItemIsAbsentOnPanel(string filename, string panel)
 {
     AssertionUtil.AssertFalse(PanelBl.IsFileFound(panel, filename), "File is present when should not be");
 }