コード例 #1
0
        public void EditCase()
        {
            Run((driver) =>
            {
                #region logon into Elements
                var frontPage = FrontPage.Connect(driver);

                var loginWindow = frontPage.OpenLogin();
                loginWindow.Login("guilt", "guilt");
                loginWindow.SelectModule();
                #endregion

                #region Edit Case Title
                CasePage casePage = new CasePage(driver);
                casePage.CreateCase("Smoke test - Edit Case");
                #endregion

                #region Edit Case Title
                casePage.EditCaseTitle("Smoke test create case has edited");
                #endregion

                #region Logout from Application
                LogoutPage logoutPage = new LogoutPage(driver);
                logoutPage.LogoutApplication();
                #endregion
            });
        }