public void UserEditPageLoaded()
        {
            var userEditPage = new EditUserPage(this.driver);

            userEditPage.UserGuid = _userGuid;
            userEditPage.NavigateTo();

            userEditPage.AssertUserEditPageIsLoaded("Edit User");
        }
        public void EditUserPassword()
        {
            var editPage = new EditUserPage(this.driver);

            editPage.UserGuid = _userGuid;
            editPage.NavigateTo();

            User user = new User
            {
                FullName        = editPage.FullName.GetAttribute("value"),
                Email           = editPage.Email.GetAttribute("value"),
                Password        = "******",
                ConfirmPassword = "******",
                IsUser          = Convert.ToBoolean(editPage.IsUserRole.GetAttribute("value")),
                IsAdmin         = Convert.ToBoolean(editPage.IsAdminRole.GetAttribute("value"))
            };

            editPage.FillEditUserForm(user);

            editPage.AssertSuccessMessage("Users");
        }