Пример #1
0
        public void IT1_AddnValidate()
        {
            var dashboardPage = new DashBoardPage(driver);

            dashboardPage.ClickUsers();

            var systemUsersPage = new SystemUsersPage(driver);

            systemUsersPage.ClickAdd();
            systemUsersPage.AddAndSaveUser();
            systemUsersPage.VerifyUser();
        }
Пример #2
0
        public void AddValidAdminUserTest()
        {
            var dashboardPage = new DashBoardPage(driver);

            dashboardPage.ClickUsers();

            var systemUsersPage = new SystemUsersPage(driver);

            systemUsersPage.ClickAdd();
            systemUsersPage.AddAndSaveUser("IndustryConnect");
            systemUsersPage.VerifyUser();
        }
Пример #3
0
        public void IT3_DeleteNValidate()
        {
            //Thread.Sleep(5000);
            var dashboardPage = new DashBoardPage();

            dashboardPage.ClickUsers(driver);

            var systemUsersPage = new SystemUsersPage(driver, userName);

            systemUsersPage.delete();
            //verify if the user is deleted
            systemUsersPage.VerifyUser();
            //create method & logic to delete
        }