public void TC_VerifyStressTracker()
        {
            //To call the Page Login Method
            Page_Login plogin = new Page_Login();

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

            haprompt.GoToDashboard();

            Common trackermenu = new Common();

            trackermenu.ClickTrackerMenu();
            Page_StressTracker stress = new Page_StressTracker(softassertions);

            stress.GoToStressTracker();
            stress.VerifyStressTracker();

            is_soft_assert = true;
            softassertions.AssertAll();
        }
Exemplo n.º 2
0
        public void TC_ShareTrackers()
        {
            Common cmn = new Common();

            cmn.ClickConnectionsMenu();

            // Update user A's circle
            cn.ChangeConnectionCircle("inner");

            // Shares 2 trackers: 1 with outer circle and 1 with inner circle
            cn.ShareTrackers();

            //// Fill Tracker entries
            is_soft_assert = true;
            //Stress Tracker
            Common trackermenu = new Common();

            trackermenu.ClickTrackerMenu();

            Page_StressTracker stress = new Page_StressTracker(softassertions);

            stress.GoToStressTracker();
            stress.VerifyStressTracker();
            // Weight Tracker
            trackermenu.ClickTrackerMenu();

            Page_WeightTracker pWeightTracker = new Page_WeightTracker(softassertions);

            pWeightTracker.GoToWeightTracker();
            pWeightTracker.VerifyWeightTracker(GlobalVariables.clientname);

            softassertions.AssertAll();

            // Logout
            Common logout = new Common();

            logout.LogOut();
        }