示例#1
0
        public void TC_FillManageStressProgressCheckIn()
        {
            Page_ManagingStressProgressCheckIn mspc = new Page_ManagingStressProgressCheckIn(softassertions);

            is_soft_assert = true;
            mspc.CompleteProgressCheckIn();
            softassertions.AssertAll();
        }
示例#2
0
        public void TC_VerifyManagingStressProgressCheckin()
        {
            //To call the Page Login Method
            Page_Login plogin = new Page_Login();

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

            haprompt.GoToDashboard();
            isenabled = cmn.GetConfig("IncentiveEnabled").ElementAt(0)[1].ToLower();
            if (isenabled.Equals("true"))
            {
                points = cmn.GetPoints(GlobalVariables.clientname);
            }
            cmn.ClickProgressCheckinMenu();
            Page_ManagingStressProgressCheckIn mspc = new Page_ManagingStressProgressCheckIn(softassertions);

            is_soft_assert = true;
            mspc.CompleteProgressCheckIn();

            softassertions.AssertAll();
        }