Exemple #1
0
        public void Click(string p0)
        {
            switch (p0)
            {
            case "consent checkbox":
                _registerPage.ClickConsentButton();
                break;

            case "Register button":
                _registerPage.ClickRegisterButton();
                break;

            case "radio button":
                NewPasswordPage.ClickReceiveInformation(true);
                break;

            case "confirmation button":
                NewPasswordPage.CompleteRegistration();
                break;

            case "triangle right to the name":
                HomePage.ClickOnTriangle();
                break;

            case "User profile button":
                _userProfilePage = HomePage.ClickOnUserProfileLink();
                break;

            case "Account cancellation button":
                _accountCancellationPage = _userProfilePage.GoToAddressCancellation();
                break;

            case "confirmation of cancellation":
                _accountCancellationPage.ClickWantToCancel();
                break;

            case "Cancel button":
                _verificationPage = _accountCancellationPage.ClickCancelButton();
                break;

            case "Save changes button":
                _homePage = _verificationPage.ConfirmDelete();
                break;
            }
        }