Beispiel #1
0
        public void TC_Settings()
        {
            SeleniumKeywords.RefreshPage();
            System.Threading.Thread.Sleep(3000);

            Common settings = new Common();

            settings.GoToSettings();
            Page_Settings myinf = new Page_Settings(softassertions);

            myinf.VerifyMyProfileErrors();
            is_soft_assert = true;
            softassertions.AssertAll();
            Setting set = new Setting();

            set.TC_VerifyMyProfileData();
            set.TC_VerifyErrorMessages();
            set.TC_VerifyUpdatedData();
        }
Beispiel #2
0
        public void TC_VerifyMyProfErrorMessages()
        {
            //To call the Page Login Method
            Page_Login plogin = new Page_Login();

            plogin.Login();
            Page_HAPrompt haprompt = new Page_HAPrompt();

            haprompt.GoToDashboard();
            Console.WriteLine("Navigating to Settings");
            Common settings = new Common();

            settings.GoToSettings();
            Page_Settings myinf = new Page_Settings(softassertions);

            myinf.VerifyMyProfileErrors();
            is_soft_assert = true;
            softassertions.AssertAll();
        }